feat: implement values for ir
To work with Calcite and Tarantool the planner needs to store values in the plan leaf nodes. These values should be defined with exact types. At the moment we need only several primitive types: - boolean - null - number (decimal from decnumber library) - string As the planner analyzes SQL, it has to work with tree-valued logic (3VL). At the moment we'll need only equivalence operation, so it was implemented for the values in a 3VL manner.
... | ... | @@ -7,9 +7,10 @@ edition = "2018" |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[dependencies] | ||
decimal = "2.1.0" | ||
tarantool = "0.4.2" | ||
sqlparser = "0.11.0" | ||
serde = "1.0" | ||
serde = { version = "1.0", features = ["derive"] } | ||
fasthash = "0.4.0" | ||
yaml-rust = "0.4.1" | ||
... | ... |
src/ir.rs
0 → 100644
src/ir/value.rs
0 → 100644
Please register or sign in to comment