Skip to content

Commit 3be0cfe

Browse files
authored
[query-engine] Engine implementation folders (open-telemetry#563)
## Changes * Define folders/crates to contain engine implementations
1 parent d319884 commit 3be0cfe

7 files changed

Lines changed: 45 additions & 3 deletions

File tree

rust/experimental/query_engine/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[workspace]
22
members = [
33
"expressions",
4-
"kql-parser"
4+
"kql-parser",
5+
"engine-columnar",
6+
"engine-recordset",
57
]
68
resolver = "2"
79

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
# Query Engine
22

3-
TODO
3+
This folder contains work in progress to implement an engine which can run
4+
queries over different data shapes.
5+
6+
## Folder structure
7+
8+
|Name |Description |
9+
|----------------|-----------------------------------------------------------------------------------------|
10+
|expressions |Intermediary language and syntax tree for the query engine |
11+
|kql-parser |Parser to turn KQL queries into query engine expressions (syntax trees) |
12+
|engine-columnar |Query engine implementation which takes a syntax tree and runs over columnar data (arrow)|
13+
|engine-recordset|Query engine implementation which takes a syntax tree and runs over set or records (otlp)|

rust/experimental/query_engine/deny.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ allow = [
6666
"Apache-2.0",
6767
# TODO: Confirm legal use of Unicode-3.0
6868
# See https://github.com/open-telemetry/otel-arrow/issues/313
69-
"Unicode-3.0"
69+
"Unicode-3.0",
70+
"CC0-1.0"
7071
]
7172
# The confidence threshold for detecting a license from license text.
7273
# The higher the value, the more closely the license text must be to the
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "data_engine_columnar"
3+
version.workspace = true
4+
authors.workspace = true
5+
repository.workspace = true
6+
license.workspace = true
7+
publish.workspace = true
8+
edition.workspace = true
9+
rust-version.workspace = true
10+
11+
[dependencies]
12+
arrow = "55"
13+
14+
thiserror = { workspace = true }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "data_engine_recordset"
3+
version.workspace = true
4+
authors.workspace = true
5+
repository.workspace = true
6+
license.workspace = true
7+
publish.workspace = true
8+
edition.workspace = true
9+
rust-version.workspace = true
10+
11+
[dependencies]
12+
13+
thiserror = { workspace = true }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)