Skip to content

Commit

Permalink
feat(parser): simple ANSI SQL rewriter (#3934)
Browse files Browse the repository at this point in the history
* feat(parser): simple ANSI SQL rewriter

* feat(draft): translate request mode query

* feat: request query rewriter

* test: tpc rewrite cases

* feat(rewrite): enable ansi sql rewriter in `ExecuteSQL`

You may explicitly set this feature on via `set session ansi_sql_rewriter
= 'true'`

TODO: this rewriter feature should be off by default
  • Loading branch information
aceforeverd authored May 27, 2024
1 parent 21184d5 commit 59d79f6
Show file tree
Hide file tree
Showing 6 changed files with 883 additions and 1 deletion.
1 change: 1 addition & 0 deletions hybridse/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ hybridse_add_src_and_tests(vm)
hybridse_add_src_and_tests(codec)
hybridse_add_src_and_tests(case)
hybridse_add_src_and_tests(passes)
hybridse_add_src_and_tests(rewriter)

get_property(SRC_FILE_LIST_STR GLOBAL PROPERTY PROP_SRC_FILE_LIST)
string(REPLACE " " ";" SRC_FILE_LIST ${SRC_FILE_LIST_STR})
Expand Down
Loading

0 comments on commit 59d79f6

Please sign in to comment.