Skip to content

Commit

Permalink
feat(ast): add parser for script (#14891)
Browse files Browse the repository at this point in the history
* feat(ast): add parser for script

* add resultset

* fix
  • Loading branch information
andylokandy authored Mar 11, 2024
1 parent 038d522 commit 34c44b5
Show file tree
Hide file tree
Showing 16 changed files with 2,249 additions and 136 deletions.
10 changes: 9 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/query/ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ derive-visitor = { workspace = true }
enum-as-inner = "0.5.1"
ethnum = { workspace = true }
fast-float = "0.2.0"
indent = "0.1.1"
itertools = { workspace = true }
logos = "0.12.1"
minitrace = { workspace = true }
Expand All @@ -40,6 +41,7 @@ databend-common-base = { path = "../../common/base" }
goldenfile = "1.4"
pretty_assertions = "1.3.0"
regex = { workspace = true }
unindent = "0.2.3"

[[bench]]
name = "bench"
Expand Down
2 changes: 2 additions & 0 deletions src/query/ast/src/ast/statements/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ mod password_policy;
mod pipe;
mod presign;
mod replace;
mod script;
mod share;
mod show;
mod stage;
Expand Down Expand Up @@ -68,6 +69,7 @@ pub use password_policy::*;
pub use pipe::*;
pub use presign::*;
pub use replace::*;
pub use script::*;
pub use share::*;
pub use show::*;
pub use stage::*;
Expand Down
Loading

0 comments on commit 34c44b5

Please sign in to comment.