diff --git a/Cargo.lock b/Cargo.lock
index d8e8d403c..c331eb08c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -202,7 +202,7 @@ dependencies = [
"serde_urlencoded",
"smallvec",
"socket2",
- "time 0.3.21",
+ "time",
"url",
]
@@ -378,9 +378,9 @@ checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
[[package]]
name = "arrow"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "773d18d72cd290f3f9e2149a714c8ac404b6c3fd614c684f0015449940fca899"
+checksum = "7fab9e93ba8ce88a37d5a30dce4b9913b75413dc1ac56cb5d72e5a840543f829"
dependencies = [
"ahash 0.8.3",
"arrow-arith",
@@ -400,9 +400,9 @@ dependencies = [
[[package]]
name = "arrow-arith"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93bc0da4b22ba63807fa2a74998e21209179c93c67856ae65d9218b81f3ef918"
+checksum = "bc1d4e368e87ad9ee64f28b9577a3834ce10fe2703a26b28417d485bbbdff956"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -415,9 +415,9 @@ dependencies = [
[[package]]
name = "arrow-array"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea9a0fd21121304cad96f307c938d861cb1e7f0c151b93047462cd9817d760fb"
+checksum = "d02efa7253ede102d45a4e802a129e83bcc3f49884cab795b1ac223918e4318d"
dependencies = [
"ahash 0.8.3",
"arrow-buffer",
@@ -432,19 +432,20 @@ dependencies = [
[[package]]
name = "arrow-buffer"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30ce342ecf5971004e23cef8b5fb3bacd2bbc48a381464144925074e1472e9eb"
+checksum = "fda119225204141138cb0541c692fbfef0e875ba01bfdeaed09e9d354f9d6195"
dependencies = [
+ "bytes",
"half",
"num",
]
[[package]]
name = "arrow-cast"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b94a0ce7d27abbb02e2ee4db770f593127610f57b32625b0bc6a1a90d65f085"
+checksum = "1d825d51b9968868d50bc5af92388754056796dbc62a4e25307d588a1fc84dee"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -460,9 +461,9 @@ dependencies = [
[[package]]
name = "arrow-csv"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f3be10a00a43c4bf0d243c070754ebdde17c5d576b4928d9c3efbe3005a3853"
+checksum = "43ef855dc6b126dc197f43e061d4de46b9d4c033aa51c2587657f7508242cef1"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -479,9 +480,9 @@ dependencies = [
[[package]]
name = "arrow-data"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d9a83dad6a53d6907765106d3bc61d6d9d313cfe1751701b3ef0948e7283dc2"
+checksum = "475a4c3699c8b4095ca61cecf15da6f67841847a5f5aac983ccb9a377d02f73a"
dependencies = [
"arrow-buffer",
"arrow-schema",
@@ -491,9 +492,9 @@ dependencies = [
[[package]]
name = "arrow-flight"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6b1efc6f549b313e66deac3d96db34b416ffdd043a0fe3e0d53be1b5785bb3e"
+checksum = "cd938ea4a0e8d0db2b9f47ebba792f73f6188f4289707caeaf93a3be705e5ed5"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -511,9 +512,9 @@ dependencies = [
[[package]]
name = "arrow-ipc"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a46da5e438a854e0386b38774da88a98782c0973c6dbc5c949ca4e02faf9b016"
+checksum = "1248005c8ac549f869b7a840859d942bf62471479c1a2d82659d453eebcd166a"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -525,9 +526,9 @@ dependencies = [
[[package]]
name = "arrow-json"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5f27a1fbc76553ad92dc1a9583e56b7058d8c418c4089b0b689f5b87e2da5e1"
+checksum = "f03d7e3b04dd688ccec354fe449aed56b831679f03e44ee2c1cfc4045067b69c"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -536,7 +537,7 @@ dependencies = [
"arrow-schema",
"chrono",
"half",
- "indexmap",
+ "indexmap 2.0.1",
"lexical-core",
"num",
"serde",
@@ -545,9 +546,9 @@ dependencies = [
[[package]]
name = "arrow-ord"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2373661f6c2233e18f6fa69c40999a9440231d1e8899be8bbbe73c7e24aa3b4"
+checksum = "03b87aa408ea6a6300e49eb2eba0c032c88ed9dc19e0a9948489c55efdca71f4"
dependencies = [
"arrow-array",
"arrow-buffer",
@@ -560,9 +561,9 @@ dependencies = [
[[package]]
name = "arrow-row"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "377cd5158b7de4034a175e296726c40c3236e65d71d90a5dab2fb4fab526a8f4"
+checksum = "114a348ab581e7c9b6908fcab23cb39ff9f060eb19e72b13f8fb8eaa37f65d22"
dependencies = [
"ahash 0.8.3",
"arrow-array",
@@ -575,19 +576,20 @@ dependencies = [
[[package]]
name = "arrow-schema"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba9ed245bd2d7d97ad1457cb281d4296e8b593588758b8fec6d67b2b2b0f2265"
+checksum = "5d1d179c117b158853e0101bfbed5615e86fe97ee356b4af901f1c5001e1ce4b"
dependencies = [
"serde",
]
[[package]]
name = "arrow-select"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dc9bd6aebc565b1d04bae64a0f4dda3abc677190eb7d960471b1b20e1cebed0"
+checksum = "d5c71e003202e67e9db139e5278c79f5520bb79922261dfe140e4637ee8b6108"
dependencies = [
+ "ahash 0.8.3",
"arrow-array",
"arrow-buffer",
"arrow-data",
@@ -597,15 +599,16 @@ dependencies = [
[[package]]
name = "arrow-string"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23cf2baea2ef53787332050decf7d71aca836a352e188c8ad062892405955d2b"
+checksum = "c4cebbb282d6b9244895f4a9a912e55e57bce112554c7fa91fcec5459cb421ab"
dependencies = [
"arrow-array",
"arrow-buffer",
"arrow-data",
"arrow-schema",
"arrow-select",
+ "num",
"regex",
"regex-syntax",
]
@@ -628,6 +631,28 @@ dependencies = [
"zstd-safe",
]
+[[package]]
+name = "async-stream"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"
+dependencies = [
+ "async-stream-impl",
+ "futures-core",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-stream-impl"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.37",
+]
+
[[package]]
name = "async-trait"
version = "0.1.73"
@@ -912,18 +937,17 @@ dependencies = [
[[package]]
name = "chrono"
-version = "0.4.26"
+version = "0.4.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5"
+checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38"
dependencies = [
"android-tzdata",
"iana-time-zone",
"js-sys",
"num-traits",
"serde",
- "time 0.1.43",
"wasm-bindgen",
- "winapi",
+ "windows-targets 0.48.1",
]
[[package]]
@@ -967,7 +991,7 @@ dependencies = [
"bitflags 1.3.2",
"clap_derive 3.2.18",
"clap_lex 0.2.4",
- "indexmap",
+ "indexmap 1.9.2",
"once_cell",
"strsim",
"termcolor",
@@ -1103,7 +1127,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb"
dependencies = [
"percent-encoding",
- "time 0.3.21",
+ "time",
"version_check",
]
@@ -1113,7 +1137,7 @@ version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7efb37c3e1ccb1ff97164ad95ac1606e8ccd35b3fa0a7d99a304c7f4a428cc24"
dependencies = [
- "time 0.3.21",
+ "time",
"version_check",
]
@@ -1337,9 +1361,9 @@ checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"
[[package]]
name = "datafusion"
-version = "27.0.0"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e96f6e4eb10bd3e6b709686858246466983e8c5354a928ff77ee34919aa60d00"
+checksum = "7014432223f4d721cb9786cd88bb89e7464e0ba984d4a7f49db7787f5f268674"
dependencies = [
"ahash 0.8.3",
"arrow",
@@ -1356,15 +1380,15 @@ dependencies = [
"datafusion-expr",
"datafusion-optimizer",
"datafusion-physical-expr",
- "datafusion-row",
+ "datafusion-physical-plan",
"datafusion-sql",
"flate2",
"futures",
"glob",
+ "half",
"hashbrown 0.14.0",
- "indexmap",
+ "indexmap 2.0.1",
"itertools 0.11.0",
- "lazy_static",
"log",
"num_cpus",
"object_store",
@@ -1373,7 +1397,6 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"rand",
- "smallvec",
"sqlparser",
"tempfile",
"tokio",
@@ -1386,13 +1409,17 @@ dependencies = [
[[package]]
name = "datafusion-common"
-version = "27.0.0"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00e5fddcc0dd49bbe199e43aa406f39c46c790bb2a43c7b36a478e5f3f971235"
+checksum = "cb3903ed8f102892f17b48efa437f3542159241d41c564f0d1e78efdc5e663aa"
dependencies = [
+ "ahash 0.8.3",
"arrow",
"arrow-array",
+ "arrow-buffer",
+ "arrow-schema",
"chrono",
+ "half",
"num_cpus",
"object_store",
"parquet",
@@ -1401,13 +1428,16 @@ dependencies = [
[[package]]
name = "datafusion-execution"
-version = "27.0.0"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfd50b6cb17acc78d2473c0d28014b8fd4e2e0a2c067c07645d6547b33b0aeeb"
+checksum = "780b73b2407050e53f51a9781868593f694102c59e622de9a8aafc0343c4f237"
dependencies = [
+ "arrow",
+ "chrono",
"dashmap",
"datafusion-common",
"datafusion-expr",
+ "futures",
"hashbrown 0.14.0",
"log",
"object_store",
@@ -1419,14 +1449,14 @@ dependencies = [
[[package]]
name = "datafusion-expr"
-version = "27.0.0"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1a35dc2cd9eac18063d636f7ddf4f090fe1f34284d80192ac7ade38cc3c6991"
+checksum = "24c382676338d8caba6c027ba0da47260f65ffedab38fda78f6d8043f607557c"
dependencies = [
"ahash 0.8.3",
"arrow",
+ "arrow-array",
"datafusion-common",
- "lazy_static",
"sqlparser",
"strum 0.25.0",
"strum_macros 0.25.1",
@@ -1434,9 +1464,9 @@ dependencies = [
[[package]]
name = "datafusion-optimizer"
-version = "27.0.0"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f5043afeb45ec1c0f45519e1eed6a477f2d30732e8f975d9cf9a75fba0ca716"
+checksum = "3f2904a432f795484fd45e29ded4537152adb60f636c05691db34fcd94c92c96"
dependencies = [
"arrow",
"async-trait",
@@ -1452,27 +1482,28 @@ dependencies = [
[[package]]
name = "datafusion-physical-expr"
-version = "27.0.0"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6cc892a24f4b829ee7718ad3950884c0346dbdf1517f3df153af4bcf54d8ca4d"
+checksum = "57b4968e9a998dc0476c4db7a82f280e2026b25f464e4aa0c3bb9807ee63ddfd"
dependencies = [
"ahash 0.8.3",
"arrow",
"arrow-array",
"arrow-buffer",
"arrow-schema",
+ "base64 0.21.0",
"blake2",
"blake3",
"chrono",
"datafusion-common",
"datafusion-expr",
- "datafusion-row",
"half",
"hashbrown 0.14.0",
- "indexmap",
+ "hex",
+ "indexmap 2.0.1",
"itertools 0.11.0",
- "lazy_static",
"libc",
+ "log",
"md-5",
"paste",
"petgraph",
@@ -1484,22 +1515,41 @@ dependencies = [
]
[[package]]
-name = "datafusion-row"
-version = "27.0.0"
+name = "datafusion-physical-plan"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce75c660bbddfdd254109e668e5b5bd69df31ea26e3768e15cef0c68015e650e"
+checksum = "efd0d1fe54e37a47a2d58a1232c22786f2c28ad35805fdcd08f0253a8b0aaa90"
dependencies = [
+ "ahash 0.8.3",
"arrow",
+ "arrow-array",
+ "arrow-buffer",
+ "arrow-schema",
+ "async-trait",
+ "chrono",
"datafusion-common",
- "paste",
+ "datafusion-execution",
+ "datafusion-expr",
+ "datafusion-physical-expr",
+ "futures",
+ "half",
+ "hashbrown 0.14.0",
+ "indexmap 2.0.1",
+ "itertools 0.11.0",
+ "log",
+ "once_cell",
+ "parking_lot",
+ "pin-project-lite",
"rand",
+ "tokio",
+ "uuid",
]
[[package]]
name = "datafusion-sql"
-version = "27.0.0"
+version = "32.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49cab87e4933a452e0b7b3f0cbd0e760daf7d33fb54d09d70d3ffba229eaa652"
+checksum = "b568d44c87ead99604d704f942e257c8a236ee1bbf890ee3e034ad659dcb2c21"
dependencies = [
"arrow",
"arrow-schema",
@@ -1576,6 +1626,12 @@ dependencies = [
"termcolor",
]
+[[package]]
+name = "equivalent"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+
[[package]]
name = "errno"
version = "0.2.8"
@@ -1835,7 +1891,7 @@ dependencies = [
"futures-sink",
"futures-util",
"http",
- "indexmap",
+ "indexmap 1.9.2",
"slab",
"tokio",
"tokio-util",
@@ -2093,6 +2149,16 @@ dependencies = [
"hashbrown 0.12.3",
]
+[[package]]
+name = "indexmap"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ad227c3af19d4914570ad36d30409928b75967c298feb9ea1969db3a610bb14e"
+dependencies = [
+ "equivalent",
+ "hashbrown 0.14.0",
+]
+
[[package]]
name = "instant"
version = "0.1.12"
@@ -2527,9 +2593,9 @@ dependencies = [
[[package]]
name = "num"
-version = "0.4.0"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606"
+checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af"
dependencies = [
"num-bigint",
"num-complex",
@@ -2623,9 +2689,9 @@ dependencies = [
[[package]]
name = "object_store"
-version = "0.6.1"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27c776db4f332b571958444982ff641d2531417a326ca368995073b639205d58"
+checksum = "f930c88a43b1c3f6e776dfe495b4afab89882dbc81530c632db2ed65451ebcb4"
dependencies = [
"async-trait",
"base64 0.21.0",
@@ -2634,7 +2700,7 @@ dependencies = [
"futures",
"humantime",
"hyper",
- "itertools 0.10.5",
+ "itertools 0.11.0",
"parking_lot",
"percent-encoding",
"quick-xml",
@@ -2652,9 +2718,9 @@ dependencies = [
[[package]]
name = "once_cell"
-version = "1.17.1"
+version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
+checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]]
name = "openid"
@@ -2765,9 +2831,9 @@ dependencies = [
[[package]]
name = "parquet"
-version = "42.0.0"
+version = "47.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baab9c36b1c8300b81b4d577d306a0a733f9d34021363098d3548e37757ed6c8"
+checksum = "0463cc3b256d5f50408c49a4be3a16674f4c8ceef60941709620a062b1f6bf4d"
dependencies = [
"ahash 0.8.3",
"arrow-array",
@@ -2935,7 +3001,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4"
dependencies = [
"fixedbitset",
- "indexmap",
+ "indexmap 1.9.2",
]
[[package]]
@@ -3111,9 +3177,9 @@ dependencies = [
[[package]]
name = "prost"
-version = "0.11.9"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd"
+checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d"
dependencies = [
"bytes",
"prost-derive",
@@ -3121,15 +3187,15 @@ dependencies = [
[[package]]
name = "prost-derive"
-version = "0.11.9"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4"
+checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32"
dependencies = [
"anyhow",
- "itertools 0.10.5",
+ "itertools 0.11.0",
"proc-macro2",
"quote",
- "syn 1.0.107",
+ "syn 2.0.37",
]
[[package]]
@@ -3180,9 +3246,9 @@ dependencies = [
[[package]]
name = "quick-xml"
-version = "0.28.1"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5c1a97b1bc42b1d550bfb48d4262153fe400a12bab1511821736f7eac76d7e2"
+checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956"
dependencies = [
"memchr",
"serde",
@@ -3591,7 +3657,7 @@ version = "1.0.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76"
dependencies = [
- "indexmap",
+ "indexmap 1.9.2",
"itoa 1.0.5",
"ryu",
"serde",
@@ -3743,9 +3809,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
name = "sqlparser"
-version = "0.35.0"
+version = "0.38.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca597d77c98894be1f965f2e4e2d2a61575d4998088e655476c73715c54b2b43"
+checksum = "0272b7bb0a225320170c99901b4b5fb3a4384e255a7f2cc228f61e2ba3893e75"
dependencies = [
"log",
"sqlparser_derive",
@@ -3978,16 +4044,6 @@ dependencies = [
"ordered-float",
]
-[[package]]
-name = "time"
-version = "0.1.43"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
-dependencies = [
- "libc",
- "winapi",
-]
-
[[package]]
name = "time"
version = "0.3.21"
@@ -4163,7 +4219,7 @@ version = "0.19.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e6a7712b49e1775fb9a7b998de6635b299237f48b404dde71704f2e0e7f37e5"
dependencies = [
- "indexmap",
+ "indexmap 1.9.2",
"nom8",
"serde",
"serde_spanned",
@@ -4172,16 +4228,15 @@ dependencies = [
[[package]]
name = "tonic"
-version = "0.9.2"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a"
+checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e"
dependencies = [
+ "async-stream",
"async-trait",
"axum",
"base64 0.21.0",
"bytes",
- "futures-core",
- "futures-util",
"h2",
"http",
"http-body",
@@ -4200,17 +4255,17 @@ dependencies = [
[[package]]
name = "tonic-web"
-version = "0.9.2"
+version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21b00ec4842256d1fe0a46176e2ef5bc357664c66e7d91aff5a7d43d83a65f47"
+checksum = "0fddb2a37b247e6adcb9f239f4e5cefdcc5ed526141a416b943929f13aea2cce"
dependencies = [
"base64 0.21.0",
"bytes",
- "futures-core",
"http",
"http-body",
"hyper",
"pin-project",
+ "tokio-stream",
"tonic",
"tower-http",
"tower-layer",
@@ -4226,7 +4281,7 @@ checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
dependencies = [
"futures-core",
"futures-util",
- "indexmap",
+ "indexmap 1.9.2",
"pin-project",
"pin-project-lite",
"rand",
@@ -4484,7 +4539,7 @@ checksum = "6e03272e388fb78fc79481a493424f78d77be1d55f21bcd314b5a6716e195afe"
dependencies = [
"anyhow",
"rustversion",
- "time 0.3.21",
+ "time",
]
[[package]]
diff --git a/Dockerfile b/Dockerfile
index 140d6b5e3..27a977d7b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,7 @@
# along with this program. If not, see .
# build stage
-FROM rust:1.67.0-bullseye as builder
+FROM rust:1.73.0-bookworm as builder
LABEL org.opencontainers.image.title="Parseable"
LABEL maintainer="Parseable Team "
@@ -26,7 +26,7 @@ COPY . .
RUN cargo build --release
# final stage
-FROM gcr.io/distroless/cc-debian11:latest
+FROM gcr.io/distroless/cc-debian12:latest
WORKDIR /parseable
diff --git a/Dockerfile.debug b/Dockerfile.debug
index fbd2337ad..09cc7cd55 100644
--- a/Dockerfile.debug
+++ b/Dockerfile.debug
@@ -14,7 +14,7 @@
# along with this program. If not, see .
# build stage
-FROM rust:1.67.0-bullseye as builder
+FROM rust:1.73.0-bookworm as builder
LABEL org.opencontainers.image.title="Parseable"
LABEL maintainer="Parseable Team "
@@ -26,7 +26,7 @@ COPY . .
RUN cargo build --features debug
# final stage
-FROM docker.io/debian:bullseye-slim
+FROM docker.io/debian:bookworm-slim
WORKDIR /parseable
diff --git a/Dockerfile.ubi b/Dockerfile.ubi
deleted file mode 100644
index a54dbea0e..000000000
--- a/Dockerfile.ubi
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright (C) 2023 Parseable, Inc.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-
-FROM registry.access.redhat.com/ubi8/ubi:latest as builder
-
-LABEL org.opencontainers.image.title="Parseable"
-LABEL maintainer="Parseable Team "
-LABEL org.opencontainers.image.vendor="Cloudnatively Pvt Ltd"
-LABEL org.opencontainers.image.licenses="AGPL-3.0"
-
-WORKDIR /parseable
-
-RUN yum install -y rust-toolset-1.67.0
-
-COPY . .
-
-RUN cargo build --release --target x86_64-unknown-linux-gnu
-
-FROM registry.access.redhat.com/ubi8/ubi:minimal
-
-COPY --from=builder /parseable/target/x86_64-unknown-linux-gnu/release/parseable /usr/bin/parseable
-
-CMD ["parseable"]
diff --git a/server/Cargo.toml b/server/Cargo.toml
index 065ab0420..39e45e911 100644
--- a/server/Cargo.toml
+++ b/server/Cargo.toml
@@ -3,20 +3,26 @@ name = "parseable"
version = "0.7.0"
authors = ["Parseable Team "]
edition = "2021"
-rust-version = "1.67"
+rust-version = "1.73"
categories = ["logging", "observability", "log analytics"]
build = "build.rs"
[dependencies]
### apache arrow/datafusion dependencies
-arrow-schema = { version = "^42.0.0", features = ["serde"] }
-arrow-array = { version = "^42.0.0" }
-arrow-json = "^42.0.0"
-arrow-ipc = "^42.0.0"
-arrow-select = "^42.0.0"
-datafusion = "^27.0.0"
-object_store = { version = "^0.6.1", features = ["cloud", "aws"] }
-parquet = "^42.0.0"
+arrow-schema = { version = "^47.0.0", features = ["serde"] }
+arrow-array = { version = "^47.0.0" }
+arrow-json = "^47.0.0"
+arrow-ipc = "^47.0.0"
+arrow-select = "^47.0.0"
+datafusion = "32.0.0"
+object_store = { version = "^0.7.0", features = ["cloud", "aws"] }
+parquet = "^47.0.0"
+
+### LiveTail server deps
+arrow-flight = "47.0.0"
+tonic = "0.10.0"
+tonic-web = "0.10.0"
+tower-http = { version = "0.4.4", features = ["cors"] }
### actix dependencies
actix-web-httpauth = "0.8"
@@ -26,12 +32,6 @@ actix-web-prometheus = { version = "0.1" }
actix-web-static-files = "4.0"
mime = "0.3.17"
-### LiveTail server deps
-arrow-flight = "42.0.0"
-tonic = "0.9.0"
-tonic-web = "0.9.0"
-tower-http = { version = "0.4.4", features = ["cors"] }
-
### other dependencies
anyhow = { version = "1.0", features = ["backtrace"] }
argon2 = "0.5.0"
diff --git a/server/src/query.rs b/server/src/query.rs
index b1ac3cfbe..6e251ed79 100644
--- a/server/src/query.rs
+++ b/server/src/query.rs
@@ -107,7 +107,7 @@ impl Query {
let runtime_config = runtime_config.with_memory_limit(pool_size, fraction);
let runtime = Arc::new(RuntimeEnv::new(runtime_config).unwrap());
- let mut state = SessionState::with_config_rt(config, runtime);
+ let mut state = SessionState::new_with_config_rt(config, runtime);
if let Some(tag) = &self.filter_tag {
let filter = FilterOptimizerRule {
@@ -117,7 +117,7 @@ impl Query {
state = state.add_optimizer_rule(Arc::new(filter))
}
- SessionContext::with_state(state)
+ SessionContext::new_with_state(state)
}
/// Execute query on object storage(and if necessary on cache as well) with given stream information
@@ -172,15 +172,12 @@ impl Query {
}
let file_format = ParquetFormat::default().with_enable_pruning(Some(true));
let file_sort_order = vec![vec![col(DEFAULT_TIMESTAMP_KEY).sort(true, false)]];
- let listing_options = ListingOptions {
- file_extension: ".parquet".to_string(),
- file_sort_order,
- infinite_source: false,
- format: Arc::new(file_format),
- table_partition_cols: vec![],
- collect_stat: true,
- target_partitions: 32,
- };
+ let listing_options = ListingOptions::new(Arc::new(file_format))
+ .with_file_extension(".parquet")
+ .with_file_sort_order(file_sort_order)
+ .with_collect_stat(true)
+ .with_target_partitions(32);
+
let config = ListingTableConfig::new_with_multi_paths(prefixes)
.with_listing_options(listing_options)
.with_schema(self.schema.clone());