Skip to content

Commit c3a8415

Browse files
[Feature/Datafusion] Changes for tokio io/cpu runtime + search flow async changes (#20071)
* Changes for tokio io/cpu runtime + search flow async changes Signed-off-by: bharath-techie <[email protected]> * minor fixes and todos Signed-off-by: bharath-techie <[email protected]> * Addressing comment to move to ActionListener Signed-off-by: bharath-techie <[email protected]> * addressing comments Signed-off-by: bharath-techie <[email protected]> * fix to sort numeric aggs Signed-off-by: bharath-techie <[email protected]> --------- Signed-off-by: bharath-techie <[email protected]>
1 parent 6d744bf commit c3a8415

31 files changed

+2481
-1095
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["--cfg", "tokio_unstable", "-C", "force-frame-pointers=yes", "-C", "symbol-mangling-version=v0"]

plugins/engine-datafusion/Cargo.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ prost = "0.13"
3030
tokio = { version = "1.0", features = ["full"] }
3131
futures = "0.3"
3232
#tokio = { version = "1.0", features = ["rt", "rt-multi-thread", "macros"] }
33+
tokio-metrics = "0.4"
3334

3435
# Serialization
3536
serde = { version = "1.0", features = ["derive"] }
@@ -63,14 +64,23 @@ regex = "1.11.2"
6364
#[build-dependencies]
6465
#cbindgen = "0.27"
6566

67+
once_cell = "1.21.3"
68+
tokio-stream = "0.1.17"
69+
parking_lot = "0.12.5"
70+
tracing = "0.1.41"
6671

6772
[profile.release]
6873
lto = true
6974
codegen-units = 1
7075
panic = "abort"
76+
incremental = true # Enable incremental compilation
77+
debug = "line-tables-only"
78+
strip = false
7179

7280
[profile.dev]
7381
opt-level = 1 # Some optimization for reasonable performance
7482
lto = false # Disable LTO for faster builds
75-
codegen-units = 16 # More parallel compilation
83+
codegen-units = 1 # More parallel compilation
7684
incremental = true # Enable incremental compilation
85+
debug = "full"
86+
strip = false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["--cfg", "tokio_unstable", "-C", "force-frame-pointers=yes", "-C", "symbol-mangling-version=v0"]

plugins/engine-datafusion/jni/Cargo.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ prost = { workspace = true }
3434
tokio = { workspace = true }
3535
futures = { workspace = true }
3636
#tokio = { version = "1.0", features = ["rt", "rt-multi-thread", "macros"] }
37+
tokio-metrics = { workspace = true }
3738

3839
# Serialization
3940
serde = { workspace = true }
@@ -48,6 +49,9 @@ log ={ workspace = true }
4849
# Parquet support
4950
parquet = { workspace = true }
5051

52+
# System info
53+
num_cpus = "1.16"
54+
5155

5256
# Object store for file access
5357
object_store = { workspace = true }
@@ -64,19 +68,21 @@ async-trait = { workspace = true }
6468
itertools = { workspace = true }
6569
rstest = { workspace = true }
6670
regex = { workspace = true }
67-
parking_lot = "0.12.5"
71+
72+
once_cell = { workspace = true }
73+
tokio-stream = { workspace = true }
74+
parking_lot = { workspace = true }
75+
tracing = { workspace = true }
6876

6977
[build-dependencies]
7078
cbindgen = "0.27"
71-
[build]
72-
rustflags = ["-C", "force-frame-pointers=yes","symbol-mangling-version=v0"]
7379

7480
[profile.release]
7581
lto = true
7682
codegen-units = 1
7783
panic = "abort"
7884
incremental = true
79-
debug = "full"
85+
debug = "line-tables-only" #TODO : remove this
8086
strip = false
8187

8288
[profile.dev]

0 commit comments

Comments
 (0)