From 2b89ca2c7dd5aff2ac17a38c03ad6fde9e89da4c Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Tue, 18 Mar 2025 01:09:20 +0530 Subject: [PATCH 01/14] Basic setup done for physical plan insta tests --- Cargo.lock | 932 +++++++++++++------------ Cargo.toml | 1 + datafusion/physical-plan/Cargo.toml | 1 + datafusion/physical-plan/src/unnest.rs | 60 +- 4 files changed, 531 insertions(+), 463 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e772b2466c341..3d628fc2b6ab9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ dependencies = [ "core_extensions", "crossbeam-channel", "generational-arena", - "libloading", + "libloading 0.7.4", "lock_api", "parking_lot", "paste", @@ -199,9 +199,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.95" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" +checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" [[package]] name = "apache-avro" @@ -413,7 +413,7 @@ dependencies = [ "arrow-schema", "chrono", "half", - "indexmap 2.7.1", + "indexmap 2.8.0", "lexical-core", "num", "serde", @@ -452,7 +452,7 @@ version = "54.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85934a9d0261e0fa5d4e2a5295107d743b543a6e0484a835d4b8db2da15306f9" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", "serde", ] @@ -521,7 +521,7 @@ version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06575e6a9673580f52661c92107baabffbf41e2141373441cbcdc47cb733003c" dependencies = [ - "bzip2 0.5.1", + "bzip2 0.5.2", "flate2", "futures-core", "memchr", @@ -576,9 +576,9 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.87" +version = "0.1.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d556ec1359574147ec0c4fc5eb525f3f23263a592b1a9c07e0a75b427de55c97" +checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" dependencies = [ "proc-macro2", "quote", @@ -608,9 +608,9 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "aws-config" -version = "1.5.18" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90aff65e86db5fe300752551c1b015ef72b708ac54bded8ef43d0d53cb7cb0b1" +checksum = "6a84fe2c5e9965fba0fbc2001db252f1d57527d82a905cca85127df227bca748" dependencies = [ "aws-credential-types", "aws-runtime", @@ -618,7 +618,7 @@ dependencies = [ "aws-sdk-ssooidc", "aws-sdk-sts", "aws-smithy-async", - "aws-smithy-http 0.61.1", + "aws-smithy-http", "aws-smithy-json", "aws-smithy-runtime", "aws-smithy-runtime-api", @@ -627,7 +627,7 @@ dependencies = [ "bytes", "fastrand", "hex", - "http 0.2.12", + "http 1.3.1", "ring", "time", "tokio", @@ -638,9 +638,9 @@ dependencies = [ [[package]] name = "aws-credential-types" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60e8f6b615cb5fc60a98132268508ad104310f0cfb25a1c22eee76efdf9154da" +checksum = "4471bef4c22a06d2c7a1b6492493d3fdf24a805323109d6874f9c94d5906ac14" dependencies = [ "aws-smithy-async", "aws-smithy-runtime-api", @@ -648,16 +648,39 @@ dependencies = [ "zeroize", ] +[[package]] +name = "aws-lc-rs" +version = "1.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dabb68eb3a7aa08b46fddfd59a3d55c978243557a90ab804769f7e20e67d2b01" +dependencies = [ + "aws-lc-sys", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77926887776171ced7d662120a75998e444d3750c951abfe07f90da130514b1f" +dependencies = [ + "bindgen", + "cc", + "cmake", + "dunce", + "fs_extra", +] + [[package]] name = "aws-runtime" -version = "1.5.5" +version = "1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76dd04d39cc12844c0994f2c9c5a6f5184c22e9188ec1ff723de41910a21dcad" +checksum = "0aff45ffe35196e593ea3b9dd65b320e51e2dda95aff4390bc459e461d09c6ad" dependencies = [ "aws-credential-types", "aws-sigv4", "aws-smithy-async", - "aws-smithy-http 0.60.12", + "aws-smithy-http", "aws-smithy-runtime", "aws-smithy-runtime-api", "aws-smithy-types", @@ -675,14 +698,14 @@ dependencies = [ [[package]] name = "aws-sdk-sso" -version = "1.61.0" +version = "1.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e65ff295979977039a25f5a0bf067a64bc5e6aa38f3cef4037cf42516265553c" +checksum = "1d5330ad4e8a1ff49e9f26b738611caa72b105c41d41733801d1a36e8f9de936" dependencies = [ "aws-credential-types", "aws-runtime", "aws-smithy-async", - "aws-smithy-http 0.61.1", + "aws-smithy-http", "aws-smithy-json", "aws-smithy-runtime", "aws-smithy-runtime-api", @@ -697,14 +720,14 @@ dependencies = [ [[package]] name = "aws-sdk-ssooidc" -version = "1.62.0" +version = "1.63.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91430a60f754f235688387b75ee798ef00cfd09709a582be2b7525ebb5306d4f" +checksum = "7956b1a85d49082347a7d17daa2e32df191f3e23c03d47294b99f95413026a78" dependencies = [ "aws-credential-types", "aws-runtime", "aws-smithy-async", - "aws-smithy-http 0.61.1", + "aws-smithy-http", "aws-smithy-json", "aws-smithy-runtime", "aws-smithy-runtime-api", @@ -719,14 +742,14 @@ dependencies = [ [[package]] name = "aws-sdk-sts" -version = "1.62.0" +version = "1.63.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9276e139d39fff5a0b0c984fc2d30f970f9a202da67234f948fda02e5bea1dbe" +checksum = "065c533fbe6f84962af33fcf02b0350b7c1f79285baab5924615d2be3b232855" dependencies = [ "aws-credential-types", "aws-runtime", "aws-smithy-async", - "aws-smithy-http 0.61.1", + "aws-smithy-http", "aws-smithy-json", "aws-smithy-query", "aws-smithy-runtime", @@ -742,12 +765,12 @@ dependencies = [ [[package]] name = "aws-sigv4" -version = "1.2.9" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bfe75fad52793ce6dec0dc3d4b1f388f038b5eb866c8d4d7f3a8e21b5ea5051" +checksum = "69d03c3c05ff80d54ff860fe38c726f6f494c639ae975203a101335f223386db" dependencies = [ "aws-credential-types", - "aws-smithy-http 0.60.12", + "aws-smithy-http", "aws-smithy-runtime-api", "aws-smithy-types", "bytes", @@ -755,7 +778,7 @@ dependencies = [ "hex", "hmac", "http 0.2.12", - "http 1.2.0", + "http 1.3.1", "once_cell", "percent-encoding", "sha2", @@ -765,9 +788,9 @@ dependencies = [ [[package]] name = "aws-smithy-async" -version = "1.2.4" +version = "1.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa59d1327d8b5053c54bf2eaae63bf629ba9e904434d0835a28ed3c0ed0a614e" +checksum = "1e190749ea56f8c42bf15dd76c65e14f8f765233e6df9b0506d9d934ebef867c" dependencies = [ "futures-util", "pin-project-lite", @@ -776,9 +799,9 @@ dependencies = [ [[package]] name = "aws-smithy-http" -version = "0.60.12" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7809c27ad8da6a6a68c454e651d4962479e81472aa19ae99e59f9aba1f9713cc" +checksum = "c5949124d11e538ca21142d1fba61ab0a2a2c1bc3ed323cdb3e4b878bfb83166" dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", @@ -786,6 +809,7 @@ dependencies = [ "bytes-utils", "futures-core", "http 0.2.12", + "http 1.3.1", "http-body 0.4.6", "once_cell", "percent-encoding", @@ -795,30 +819,33 @@ dependencies = [ ] [[package]] -name = "aws-smithy-http" -version = "0.61.1" +name = "aws-smithy-http-client" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6f276f21c7921fe902826618d1423ae5bf74cf8c1b8472aee8434f3dfd31824" +checksum = "0497ef5d53065b7cd6a35e9c1654bd1fefeae5c52900d91d1b188b0af0f29324" dependencies = [ + "aws-smithy-async", "aws-smithy-runtime-api", "aws-smithy-types", - "bytes", - "bytes-utils", - "futures-core", - "http 0.2.12", - "http-body 0.4.6", - "once_cell", - "percent-encoding", + "h2", + "http 1.3.1", + "hyper", + "hyper-rustls", + "hyper-util", "pin-project-lite", - "pin-utils", + "rustls", + "rustls-native-certs", + "rustls-pki-types", + "tokio", + "tower 0.5.2", "tracing", ] [[package]] name = "aws-smithy-json" -version = "0.61.2" +version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "623a51127f24c30776c8b374295f2df78d92517386f77ba30773f15a30ce1422" +checksum = "92144e45819cae7dc62af23eac5a038a58aa544432d2102609654376a900bd07" dependencies = [ "aws-smithy-types", ] @@ -835,42 +862,39 @@ dependencies = [ [[package]] name = "aws-smithy-runtime" -version = "1.7.8" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d526a12d9ed61fadefda24abe2e682892ba288c2018bcb38b1b4c111d13f6d92" +checksum = "f6328865e36c6fd970094ead6b05efd047d3a80ec5fc3be5e743910da9f2ebf8" dependencies = [ "aws-smithy-async", - "aws-smithy-http 0.60.12", + "aws-smithy-http", + "aws-smithy-http-client", "aws-smithy-runtime-api", "aws-smithy-types", "bytes", "fastrand", - "h2 0.3.26", "http 0.2.12", + "http 1.3.1", "http-body 0.4.6", "http-body 1.0.1", - "httparse", - "hyper 0.14.32", - "hyper-rustls 0.24.2", "once_cell", "pin-project-lite", "pin-utils", - "rustls 0.21.12", "tokio", "tracing", ] [[package]] name = "aws-smithy-runtime-api" -version = "1.7.3" +version = "1.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92165296a47a812b267b4f41032ff8069ab7ff783696d217f0994a0d7ab585cd" +checksum = "3da37cf5d57011cb1753456518ec76e31691f1f474b73934a284eb2a1c76510f" dependencies = [ "aws-smithy-async", "aws-smithy-types", "bytes", "http 0.2.12", - "http 1.2.0", + "http 1.3.1", "pin-project-lite", "tokio", "tracing", @@ -879,15 +903,15 @@ dependencies = [ [[package]] name = "aws-smithy-types" -version = "1.2.13" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7b8a53819e42f10d0821f56da995e1470b199686a1809168db6ca485665f042" +checksum = "836155caafba616c0ff9b07944324785de2ab016141c3550bd1c07882f8cee8f" dependencies = [ "base64-simd", "bytes", "bytes-utils", "http 0.2.12", - "http 1.2.0", + "http 1.3.1", "http-body 0.4.6", "http-body 1.0.1", "http-body-util", @@ -911,9 +935,9 @@ dependencies = [ [[package]] name = "aws-types" -version = "1.3.5" +version = "1.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbd0a668309ec1f66c0f6bda4840dd6d4796ae26d699ebc266d7cc95c6d040f" +checksum = "3873f8deed8927ce8d04487630dc9ff73193bab64742a61d050e57a68dec4125" dependencies = [ "aws-credential-types", "aws-smithy-async", @@ -933,7 +957,7 @@ dependencies = [ "axum-core", "bytes", "futures-util", - "http 1.2.0", + "http 1.3.1", "http-body 1.0.1", "http-body-util", "itoa", @@ -959,7 +983,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http 1.2.0", + "http 1.3.1", "http-body 1.0.1", "http-body-util", "mime", @@ -1021,6 +1045,29 @@ dependencies = [ "serde", ] +[[package]] +name = "bindgen" +version = "0.69.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" +dependencies = [ + "bitflags 2.9.0", + "cexpr", + "clang-sys", + "itertools 0.12.1", + "lazy_static", + "lazycell", + "log", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "rustc-hash 1.1.0", + "shlex", + "syn 2.0.100", + "which", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -1029,9 +1076,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" +checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" [[package]] name = "bitvec" @@ -1089,18 +1136,18 @@ dependencies = [ "futures-util", "hex", "home", - "http 1.2.0", + "http 1.3.1", "http-body-util", - "hyper 1.6.0", + "hyper", "hyper-named-pipe", - "hyper-rustls 0.27.5", + "hyper-rustls", "hyper-util", "hyperlocal", "log", "pin-project-lite", - "rustls 0.23.23", - "rustls-native-certs 0.8.1", - "rustls-pemfile 2.2.0", + "rustls", + "rustls-native-certs", + "rustls-pemfile", "rustls-pki-types", "serde", "serde_derive", @@ -1243,21 +1290,20 @@ dependencies = [ [[package]] name = "bzip2" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b89e7c29231c673a61a46e722602bcd138298f6b9e81e71119693534585f5c" +checksum = "49ecfb22d906f800d4fe833b6282cf4dc1c298f5057ca0b5445e5c209735ca47" dependencies = [ "bzip2-sys", ] [[package]] name = "bzip2-sys" -version = "0.1.12+1.0.8" +version = "0.1.13+1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ebc2f1a417f01e1da30ef264ee86ae31d2dcd2d603ea283d3c244a883ca2a9" +checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14" dependencies = [ "cc", - "libc", "pkg-config", ] @@ -1269,15 +1315,24 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.2.14" +version = "1.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3d1b2e905a3a7b00a6141adb0e4c0bb941d11caf55349d863942a1cc44e3c9" +checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c" dependencies = [ "jobserver", "libc", "shlex", ] +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + [[package]] name = "cfg-if" version = "1.0.0" @@ -1353,6 +1408,17 @@ dependencies = [ "half", ] +[[package]] +name = "clang-sys" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" +dependencies = [ + "glob", + "libc", + "libloading 0.8.6", +] + [[package]] name = "clap" version = "2.34.0" @@ -1440,9 +1506,9 @@ dependencies = [ [[package]] name = "console" -version = "0.15.10" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041b" +checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" dependencies = [ "encode_unicode", "libc", @@ -1493,16 +1559,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" -[[package]] -name = "core-foundation" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "core-foundation" version = "0.10.0" @@ -1744,7 +1800,7 @@ dependencies = [ "arrow-schema", "async-trait", "bytes", - "bzip2 0.5.1", + "bzip2 0.5.2", "chrono", "criterion", "ctor", @@ -1908,7 +1964,7 @@ dependencies = [ "chrono", "half", "hashbrown 0.14.5", - "indexmap 2.7.1", + "indexmap 2.8.0", "libc", "log", "object_store", @@ -1938,7 +1994,7 @@ dependencies = [ "async-compression", "async-trait", "bytes", - "bzip2 0.5.1", + "bzip2 0.5.2", "chrono", "datafusion-catalog", "datafusion-common", @@ -2128,7 +2184,7 @@ dependencies = [ "datafusion-functions-window-common", "datafusion-physical-expr-common", "env_logger", - "indexmap 2.7.1", + "indexmap 2.8.0", "paste", "recursive", "serde_json", @@ -2141,7 +2197,7 @@ version = "46.0.0" dependencies = [ "arrow", "datafusion-common", - "indexmap 2.7.1", + "indexmap 2.8.0", "itertools 0.14.0", "paste", ] @@ -2311,7 +2367,7 @@ dependencies = [ "datafusion-physical-expr", "datafusion-sql", "env_logger", - "indexmap 2.7.1", + "indexmap 2.8.0", "itertools 0.14.0", "log", "recursive", @@ -2334,7 +2390,7 @@ dependencies = [ "datafusion-physical-expr-common", "half", "hashbrown 0.14.5", - "indexmap 2.7.1", + "indexmap 2.8.0", "itertools 0.14.0", "log", "paste", @@ -2396,7 +2452,8 @@ dependencies = [ "futures", "half", "hashbrown 0.14.5", - "indexmap 2.7.1", + "indexmap 2.8.0", + "insta", "itertools 0.14.0", "log", "parking_lot", @@ -2457,7 +2514,7 @@ dependencies = [ "datafusion-functions-nested", "datafusion-functions-window", "env_logger", - "indexmap 2.7.1", + "indexmap 2.8.0", "log", "paste", "recursive", @@ -2611,11 +2668,17 @@ dependencies = [ "serde_json", ] +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + [[package]] name = "dyn-clone" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "feeef44e73baff3a26d371801df019877a9866a8c493d315ab00177843314f35" +checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" [[package]] name = "educe" @@ -2631,9 +2694,9 @@ dependencies = [ [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "encode_unicode" @@ -2743,13 +2806,13 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "fd-lock" -version = "4.0.2" +version = "4.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5768da2206272c81ef0b5e951a41862938a6070da63bcea197899942d3b947" +checksum = "0ce92ff622d6dadf7349484f42c93271a0d49b7cc4d466a936405bacbe10aa78" dependencies = [ "cfg-if", - "rustix 0.38.44", - "windows-sys 0.52.0", + "rustix 1.0.2", + "windows-sys 0.59.0", ] [[package]] @@ -2837,9 +2900,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "foldhash" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "form_urlencoded" @@ -2859,6 +2922,12 @@ dependencies = [ "autocfg", ] +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + [[package]] name = "funty" version = "2.0.0" @@ -3045,25 +3114,6 @@ dependencies = [ "regex-syntax", ] -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http 0.2.12", - "indexmap 2.7.1", - "slab", - "tokio", - "tokio-util", - "tracing", -] - [[package]] name = "h2" version = "0.4.8" @@ -3075,8 +3125,8 @@ dependencies = [ "fnv", "futures-core", "futures-sink", - "http 1.2.0", - "indexmap 2.7.1", + "http 1.3.1", + "indexmap 2.8.0", "slab", "tokio", "tokio-util", @@ -3085,9 +3135,9 @@ dependencies = [ [[package]] name = "half" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" +checksum = "7db2ff139bba50379da6aa0766b52fdcb62cb5b263009b09ed58ba604e14bbd1" dependencies = [ "cfg-if", "crunchy", @@ -3141,9 +3191,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" +checksum = "fbd780fe5cc30f81464441920d82ac8740e2e46b29a6fad543ddd075229ce37e" [[package]] name = "hex" @@ -3182,9 +3232,9 @@ dependencies = [ [[package]] name = "http" -version = "1.2.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -3209,27 +3259,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.2.0", + "http 1.3.1", ] [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", - "http 1.2.0", + "futures-core", + "http 1.3.1", "http-body 1.0.1", "pin-project-lite", ] [[package]] name = "httparse" -version = "1.10.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2d708df4e7140240a16cd6ab0ab65c972d7433ab77819ea693fde9c43811e2a" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "httpdate" @@ -3239,33 +3289,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "hyper" -version = "0.14.32" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2 0.3.26", - "http 0.2.12", - "http-body 0.4.6", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] +checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" [[package]] name = "hyper" @@ -3276,8 +3302,8 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.8", - "http 1.2.0", + "h2", + "http 1.3.1", "http-body 1.0.1", "httparse", "httpdate", @@ -3295,7 +3321,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73b7d8abf35697b81a825e386fc151e0d503e8cb5fcb93cc8669c376dfd6f278" dependencies = [ "hex", - "hyper 1.6.0", + "hyper", "hyper-util", "pin-project-lite", "tokio", @@ -3303,22 +3329,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http 0.2.12", - "hyper 0.14.32", - "log", - "rustls 0.21.12", - "rustls-native-certs 0.6.3", - "tokio", - "tokio-rustls 0.24.1", -] - [[package]] name = "hyper-rustls" version = "0.27.5" @@ -3326,14 +3336,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" dependencies = [ "futures-util", - "http 1.2.0", - "hyper 1.6.0", + "http 1.3.1", + "hyper", "hyper-util", - "rustls 0.23.23", - "rustls-native-certs 0.8.1", + "rustls", + "rustls-native-certs", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.1", + "tokio-rustls", "tower-service", ] @@ -3343,7 +3353,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" dependencies = [ - "hyper 1.6.0", + "hyper", "hyper-util", "pin-project-lite", "tokio", @@ -3359,9 +3369,9 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.2.0", + "http 1.3.1", "http-body 1.0.1", - "hyper 1.6.0", + "hyper", "pin-project-lite", "socket2", "tokio", @@ -3377,7 +3387,7 @@ checksum = "986c5ce3b994526b3cd75578e62554abd09f0899d6206de48b3e96ab34ccc8c7" dependencies = [ "hex", "http-body-util", - "hyper 1.6.0", + "hyper", "hyper-util", "pin-project-lite", "tokio", @@ -3565,9 +3575,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.7.1" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" +checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" dependencies = [ "equivalent", "hashbrown 0.15.2", @@ -3589,9 +3599,9 @@ dependencies = [ [[package]] name = "indoc" -version = "2.0.5" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" +checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd" [[package]] name = "insta" @@ -3635,9 +3645,9 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "is-terminal" -version = "0.4.15" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e19b23d53f35ce9f56aebc7d1bb4e6ac1e9c0db7ac85c8d1760c04379edced37" +checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" dependencies = [ "hermit-abi", "libc", @@ -3659,6 +3669,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.13.0" @@ -3679,9 +3698,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "jiff" @@ -3732,6 +3751,12 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +[[package]] +name = "lazycell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + [[package]] name = "lexical-core" version = "1.0.5" @@ -3836,6 +3861,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "libloading" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" +dependencies = [ + "cfg-if", + "windows-targets 0.52.6", +] + [[package]] name = "libm" version = "0.2.11" @@ -3858,9 +3893,9 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.10", ] [[package]] @@ -3889,15 +3924,15 @@ checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" [[package]] name = "linux-raw-sys" -version = "0.9.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9c683daf087dc577b7506e9695b3d556a9f3849903fa28186283afd6809e9" +checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413" [[package]] name = "litemap" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" [[package]] name = "lock_api" @@ -3991,11 +4026,17 @@ dependencies = [ "walkdir", ] +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + [[package]] name = "miniz_oxide" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3b1c9bd4fe1f0f8b387f6eb9eb3b4a1aa26185e5750efb9140301703f62cd1b" +checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" dependencies = [ "adler2", ] @@ -4032,12 +4073,22 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", "cfg-if", "cfg_aliases", "libc", ] +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + [[package]] name = "normalize-line-endings" version = "0.3.0" @@ -4161,7 +4212,7 @@ dependencies = [ "chrono", "futures", "humantime", - "hyper 1.6.0", + "hyper", "itertools 0.13.0", "md-5", "parking_lot", @@ -4170,7 +4221,7 @@ dependencies = [ "rand 0.8.5", "reqwest", "ring", - "rustls-pemfile 2.2.0", + "rustls-pemfile", "serde", "serde_json", "snafu", @@ -4182,15 +4233,15 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.3" +version = "1.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" +checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc" [[package]] name = "oorandom" -version = "11.1.4" +version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" [[package]] name = "openssl-probe" @@ -4221,9 +4272,9 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e" [[package]] name = "owo-colors" -version = "4.1.0" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" +checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "parking_lot" @@ -4243,7 +4294,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.8", + "redox_syscall 0.5.10", "smallvec", "windows-targets 0.52.6", ] @@ -4375,7 +4426,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" dependencies = [ "fixedbitset", - "indexmap 2.7.1", + "indexmap 2.8.0", ] [[package]] @@ -4418,18 +4469,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.9" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfe2e71e1471fe07709406bf725f710b02927c9c54b2b5b2ec0e8087d97c327d" +checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.9" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e859e6e5bd50440ab63c47e3ebabc90f26251f7c73c3d3e837b74a1cc3fa67" +checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" dependencies = [ "proc-macro2", "quote", @@ -4450,9 +4501,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "plotters" @@ -4484,9 +4535,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6" +checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" [[package]] name = "portable-atomic-util" @@ -4548,11 +4599,11 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ - "zerocopy 0.7.35", + "zerocopy 0.8.23", ] [[package]] @@ -4587,9 +4638,9 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.29" +version = "0.2.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6924ced06e1f7dfe3fa48d57b9f74f55d8915f5036121bef647ef4b204895fac" +checksum = "5316f57387668042f561aae71480de936257848f9c43ce528e311d89a07cadeb" dependencies = [ "proc-macro2", "syn 2.0.100", @@ -4597,9 +4648,9 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" +checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" dependencies = [ "toml_edit", ] @@ -4630,9 +4681,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.93" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" +checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" dependencies = [ "unicode-ident", ] @@ -4816,8 +4867,8 @@ dependencies = [ "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash", - "rustls 0.23.23", + "rustc-hash 2.1.1", + "rustls", "socket2", "thiserror 2.0.12", "tokio", @@ -4834,8 +4885,8 @@ dependencies = [ "getrandom 0.2.15", "rand 0.8.5", "ring", - "rustc-hash", - "rustls 0.23.23", + "rustc-hash 2.1.1", + "rustls", "rustls-pki-types", "slab", "thiserror 2.0.12", @@ -4860,9 +4911,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.38" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" dependencies = [ "proc-macro2", ] @@ -4901,8 +4952,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94" dependencies = [ "rand_chacha 0.9.0", - "rand_core 0.9.1", - "zerocopy 0.8.18", + "rand_core 0.9.3", + "zerocopy 0.8.23", ] [[package]] @@ -4922,7 +4973,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core 0.9.1", + "rand_core 0.9.3", ] [[package]] @@ -4936,12 +4987,11 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.9.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88e0da7a2c97baa202165137c158d0a2e824ac465d13d81046727b34cb247d3" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" dependencies = [ "getrandom 0.3.1", - "zerocopy 0.8.18", ] [[package]] @@ -5005,11 +5055,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", ] [[package]] @@ -5094,20 +5144,20 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.12.12" +version = "0.12.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" +checksum = "989e327e510263980e231de548a33e63d34962d29ae61b467389a1a09627a254" dependencies = [ "base64 0.22.1", "bytes", "futures-core", "futures-util", - "h2 0.4.8", - "http 1.2.0", + "h2", + "http 1.3.1", "http-body 1.0.1", "http-body-util", - "hyper 1.6.0", - "hyper-rustls 0.27.5", + "hyper", + "hyper-rustls", "hyper-util", "ipnet", "js-sys", @@ -5117,16 +5167,16 @@ dependencies = [ "percent-encoding", "pin-project-lite", "quinn", - "rustls 0.23.23", - "rustls-native-certs 0.8.1", - "rustls-pemfile 2.2.0", + "rustls", + "rustls-native-certs", + "rustls-pemfile", "rustls-pki-types", "serde", "serde_json", "serde_urlencoded", "sync_wrapper", "tokio", - "tokio-rustls 0.26.1", + "tokio-rustls", "tokio-util", "tower 0.5.2", "tower-service", @@ -5140,9 +5190,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.13" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ac5d832aa16abd7d1def883a8545280c20a60f523a370aa3a9617c2b8550ee" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", @@ -5251,6 +5301,12 @@ version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + [[package]] name = "rustc-hash" version = "2.1.1" @@ -5272,7 +5328,7 @@ version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", "errno", "libc", "linux-raw-sys 0.4.15", @@ -5285,51 +5341,28 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7178faa4b75a30e269c71e61c353ce2748cf3d76f0c44c393f4e60abf49b825" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", "errno", "libc", - "linux-raw-sys 0.9.2", + "linux-raw-sys 0.9.3", "windows-sys 0.59.0", ] [[package]] name = "rustls" -version = "0.21.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" -dependencies = [ - "log", - "ring", - "rustls-webpki 0.101.7", - "sct", -] - -[[package]] -name = "rustls" -version = "0.23.23" +version = "0.23.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47796c98c480fce5406ef69d1c76378375492c3b0a0de587be0c1d9feb12f395" +checksum = "822ee9188ac4ec04a2f0531e55d035fb2de73f18b41a63c70c2712503b6fb13c" dependencies = [ + "aws-lc-rs", "once_cell", "ring", "rustls-pki-types", - "rustls-webpki 0.102.8", + "rustls-webpki", "subtle", "zeroize", ] -[[package]] -name = "rustls-native-certs" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" -dependencies = [ - "openssl-probe", - "rustls-pemfile 1.0.4", - "schannel", - "security-framework 2.11.1", -] - [[package]] name = "rustls-native-certs" version = "0.8.1" @@ -5339,16 +5372,7 @@ dependencies = [ "openssl-probe", "rustls-pki-types", "schannel", - "security-framework 3.2.0", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.7", + "security-framework", ] [[package]] @@ -5371,20 +5395,11 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.101.7" +version = "0.103.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "rustls-webpki" -version = "0.102.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "0aa4eeac2588ffff23e9d7a7e9b3f971c5fb5b7ebc9452745e0c232c64f83b2f" dependencies = [ + "aws-lc-rs", "ring", "rustls-pki-types", "untrusted", @@ -5392,9 +5407,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" +checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" [[package]] name = "rustyline" @@ -5402,7 +5417,7 @@ version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ee1e066dc922e513bda599c6ccb5f3bb2b0ea5870a579448f2622993f0a9a2f" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", "cfg-if", "clipboard-win", "fd-lock", @@ -5420,9 +5435,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.19" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "same-file" @@ -5444,9 +5459,9 @@ dependencies = [ [[package]] name = "schemars" -version = "0.8.21" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92" +checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" dependencies = [ "dyn-clone", "schemars_derive", @@ -5456,9 +5471,9 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.21" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e" +checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" dependencies = [ "proc-macro2", "quote", @@ -5472,43 +5487,20 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "sct" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "seahash" version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" -[[package]] -name = "security-framework" -version = "2.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" -dependencies = [ - "bitflags 2.8.0", - "core-foundation 0.9.4", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - [[package]] name = "security-framework" version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" dependencies = [ - "bitflags 2.8.0", - "core-foundation 0.10.0", + "bitflags 2.9.0", + "core-foundation", "core-foundation-sys", "libc", "security-framework-sys", @@ -5535,9 +5527,9 @@ dependencies = [ [[package]] name = "seq-macro" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" +checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc" [[package]] name = "serde" @@ -5550,9 +5542,9 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.15" +version = "0.11.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" +checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" dependencies = [ "serde", ] @@ -5593,9 +5585,9 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", @@ -5636,7 +5628,7 @@ dependencies = [ "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.7.1", + "indexmap 2.8.0", "serde", "serde_derive", "serde_json", @@ -5662,7 +5654,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.7.1", + "indexmap 2.8.0", "itoa", "ryu", "serde", @@ -5838,9 +5830,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "stacker" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d08feb8f695b465baed819b03c128dc23f57a694510ab1f06c77f763975685e" +checksum = "d9156ebd5870ef293bfb43f91c7a74528d363ec0d424afe24160ed5a4343d08a" dependencies = [ "cc", "cfg-if", @@ -5972,9 +5964,9 @@ dependencies = [ [[package]] name = "substrait" -version = "0.54.0" +version = "0.54.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93890ad613de815a5b76e38bc4a934b4012ebe197717c9dd6a17f7af8cf33dae" +checksum = "090eba07eec4182f2ad1cf974c2b611b3adf328ecd1a181227df119502be3a84" dependencies = [ "heck 0.5.0", "pbjson", @@ -6072,11 +6064,10 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" -version = "3.18.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c317e0a526ee6120d8dabad239c8dadca62b24b6f168914bbbc8e2fb1f0e567" +checksum = "488960f40a3fd53d72c2a29a58722561dee8afdd175bd88e3db4677d7b2ba600" dependencies = [ - "cfg-if", "fastrand", "getrandom 0.3.1", "once_cell", @@ -6201,9 +6192,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.37" +version = "0.3.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "dad298b01a40a23aac4580b67e3dbedb7cc8402f3592d7f49469de2ea4aecdd8" dependencies = [ "deranged", "itoa", @@ -6216,15 +6207,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "765c97a5b985b7c11d7bc27fa927dc4fe6af3a6dfb021d28deb60d3bf51e76ef" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "e8093bc3e81c3bc5f7879de09619d06c9a5a5e45ca44dfeeb7225bae38005c5c" dependencies = [ "num-conv", "time-core", @@ -6261,9 +6252,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8" +checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" dependencies = [ "tinyvec_macros", ] @@ -6276,9 +6267,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.43.0" +version = "1.44.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" +checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a" dependencies = [ "backtrace", "bytes", @@ -6331,21 +6322,11 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.24.1" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" dependencies = [ - "rustls 0.21.12", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.26.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" -dependencies = [ - "rustls 0.23.23", + "rustls", "tokio", ] @@ -6377,9 +6358,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "6b9590b93e6fcc1739458317cccd391ad3955e2bde8913edf6f95f9e65a8f034" dependencies = [ "bytes", "futures-core", @@ -6400,7 +6381,7 @@ version = "0.22.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" dependencies = [ - "indexmap 2.7.1", + "indexmap 2.8.0", "toml_datetime", "winnow", ] @@ -6416,11 +6397,11 @@ dependencies = [ "axum", "base64 0.22.1", "bytes", - "h2 0.4.8", - "http 1.2.0", + "h2", + "http 1.3.1", "http-body 1.0.1", "http-body-util", - "hyper 1.6.0", + "hyper", "hyper-timeout", "hyper-util", "percent-encoding", @@ -6631,9 +6612,9 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-ident" -version = "1.0.16" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "unicode-normalization" @@ -6670,9 +6651,9 @@ checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" [[package]] name = "unindent" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" +checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3" [[package]] name = "unsafe-libyaml" @@ -6724,9 +6705,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.15.1" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0f540e3240398cce6128b64ba83fdbdd86129c16a3aa1a3a252efd66eb3d587" +checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" dependencies = [ "getrandom 0.3.1", "js-sys", @@ -6923,13 +6904,25 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix 0.38.44", +] + [[package]] name = "whoami" version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d" dependencies = [ - "redox_syscall 0.5.8", + "redox_syscall 0.5.10", "wasite", "web-sys", ] @@ -7018,15 +7011,21 @@ dependencies = [ "syn 2.0.100", ] +[[package]] +name = "windows-link" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3" + [[package]] name = "windows-registry" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" dependencies = [ - "windows-result 0.2.0", + "windows-result 0.3.1", "windows-strings", - "windows-targets 0.52.6", + "windows-targets 0.53.0", ] [[package]] @@ -7040,21 +7039,20 @@ dependencies = [ [[package]] name = "windows-result" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" +checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189" dependencies = [ - "windows-targets 0.52.6", + "windows-link", ] [[package]] name = "windows-strings" -version = "0.1.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" +checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" dependencies = [ - "windows-result 0.2.0", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -7108,13 +7106,29 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" +dependencies = [ + "windows_aarch64_gnullvm 0.53.0", + "windows_aarch64_msvc 0.53.0", + "windows_i686_gnu 0.53.0", + "windows_i686_gnullvm 0.53.0", + "windows_i686_msvc 0.53.0", + "windows_x86_64_gnu 0.53.0", + "windows_x86_64_gnullvm 0.53.0", + "windows_x86_64_msvc 0.53.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" @@ -7127,6 +7141,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" @@ -7139,6 +7159,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" + [[package]] name = "windows_i686_gnu" version = "0.48.5" @@ -7151,12 +7177,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" + [[package]] name = "windows_i686_msvc" version = "0.48.5" @@ -7169,6 +7207,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" @@ -7181,6 +7225,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" @@ -7193,6 +7243,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" @@ -7205,11 +7261,17 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" + [[package]] name = "winnow" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59690dea168f2198d1a3b0cac23b8063efcd11012f10ae4698f284808c8ef603" +checksum = "0e97b544156e9bebe1a0ffbc03484fc1ffe3100cbce3ffb17eac35f7cdd7ab36" dependencies = [ "memchr", ] @@ -7220,7 +7282,7 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.9.0", ] [[package]] @@ -7246,13 +7308,12 @@ dependencies = [ [[package]] name = "xattr" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e105d177a3871454f754b33bb0ee637ecaaac997446375fd3e5d43a2ed00c909" +checksum = "0d65cbf2f12c15564212d48f4e3dfb87923d25d611f2aed18f4cb23f0413d89e" dependencies = [ "libc", - "linux-raw-sys 0.4.15", - "rustix 0.38.44", + "rustix 1.0.2", ] [[package]] @@ -7300,17 +7361,16 @@ version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ - "byteorder", "zerocopy-derive 0.7.35", ] [[package]] name = "zerocopy" -version = "0.8.18" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79386d31a42a4996e3336b0919ddb90f81112af416270cff95b5f5af22b839c2" +checksum = "fd97444d05a4328b90e75e503a34bad781f14e28a823ad3557f0750df1ebcbc6" dependencies = [ - "zerocopy-derive 0.8.18", + "zerocopy-derive 0.8.23", ] [[package]] @@ -7326,9 +7386,9 @@ dependencies = [ [[package]] name = "zerocopy-derive" -version = "0.8.18" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76331675d372f91bf8d17e13afbd5fe639200b73d01f0fc748bb059f9cca2db7" +checksum = "6352c01d0edd5db859a63e2605f4ea3183ddbd15e2c4a9e7d32184df75e4f154" dependencies = [ "proc-macro2", "quote", @@ -7337,18 +7397,18 @@ dependencies = [ [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 871377f8dfc09..16a6967910a84 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -165,6 +165,7 @@ sqlparser = { version = "0.54.0", features = ["visitor"] } tempfile = "3" tokio = { version = "1.43", features = ["macros", "rt", "sync"] } url = "2.5.4" +insta = { version = "1.41.1", features = ["glob", "filters"] } [profile.release] codegen-units = 1 diff --git a/datafusion/physical-plan/Cargo.toml b/datafusion/physical-plan/Cargo.toml index 4a10398e5a9ef..e6617d671a742 100644 --- a/datafusion/physical-plan/Cargo.toml +++ b/datafusion/physical-plan/Cargo.toml @@ -63,6 +63,7 @@ log = { workspace = true } parking_lot = { workspace = true } pin-project-lite = "^0.2.7" tokio = { workspace = true } +insta = { workspace = true } [dev-dependencies] criterion = { workspace = true, features = ["async_futures"] } diff --git a/datafusion/physical-plan/src/unnest.rs b/datafusion/physical-plan/src/unnest.rs index 4e70d2dc4ee59..34a9ee3c7673f 100644 --- a/datafusion/physical-plan/src/unnest.rs +++ b/datafusion/physical-plan/src/unnest.rs @@ -956,9 +956,11 @@ mod tests { use arrow::array::{ GenericListArray, NullBufferBuilder, OffsetSizeTrait, StringArray, }; + use arrow::util::pretty; use arrow::buffer::{NullBuffer, OffsetBuffer}; use arrow::datatypes::{Field, Int32Type}; use datafusion_common::assert_batches_eq; + use insta::assert_snapshot; // Create a GenericListArray with the following list values: // [A, B, C], [], NULL, [D], NULL, [NULL, F] @@ -1042,6 +1044,10 @@ mod tests { Ok(()) } + fn fmt_batches(batches: &[RecordBatch]) -> String { + pretty::pretty_format_batches(batches).unwrap().to_string() + } + #[test] fn test_build_batch_list_arr_recursive() -> Result<()> { // col1 | col2 @@ -1145,33 +1151,33 @@ mod tests { )? .unwrap(); - let expected = &[ -"+---------------------------------+---------------------------------+---------------------------------+", -"| col1_unnest_placeholder_depth_1 | col1_unnest_placeholder_depth_2 | col2_unnest_placeholder_depth_1 |", -"+---------------------------------+---------------------------------+---------------------------------+", -"| [1, 2, 3] | 1 | a |", -"| | 2 | b |", -"| [4, 5] | 3 | |", -"| [1, 2, 3] | | a |", -"| | | b |", -"| [4, 5] | | |", -"| [1, 2, 3] | 4 | a |", -"| | 5 | b |", -"| [4, 5] | | |", -"| [7, 8, 9, 10] | 7 | c |", -"| | 8 | d |", -"| [11, 12, 13] | 9 | |", -"| | 10 | |", -"| [7, 8, 9, 10] | | c |", -"| | | d |", -"| [11, 12, 13] | | |", -"| [7, 8, 9, 10] | 11 | c |", -"| | 12 | d |", -"| [11, 12, 13] | 13 | |", -"| | | e |", -"+---------------------------------+---------------------------------+---------------------------------+", - ]; - assert_batches_eq!(expected, &[ret]); + assert_snapshot!(fmt_batches(&[ret]), + @r###" ++---------------------------------+---------------------------------+---------------------------------+ +| col1_unnest_placeholder_depth_1 | col1_unnest_placeholder_depth_2 | col2_unnest_placeholder_depth_1 | ++---------------------------------+---------------------------------+---------------------------------+ +| [1, 2, 3] | 1 | a | +| | 2 | b | +| [4, 5] | 3 | | +| [1, 2, 3] | | a | +| | | b | +| [4, 5] | | | +| [1, 2, 3] | 4 | a | +| | 5 | b | +| [4, 5] | | | +| [7, 8, 9, 10] | 7 | c | +| | 8 | d | +| [11, 12, 13] | 9 | | +| | 10 | | +| [7, 8, 9, 10] | | c | +| | | d | +| [11, 12, 13] | | | +| [7, 8, 9, 10] | 11 | c | +| | 12 | d | +| [11, 12, 13] | 13 | | +| | | e | ++---------------------------------+---------------------------------+---------------------------------+ + "###); Ok(()) } From 437db0b4c1f4b7001aa152a884ee6eee9fd9c987 Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Wed, 19 Mar 2025 17:36:25 +0530 Subject: [PATCH 02/14] Migrated tests to insta in aggregate/mod.rs --- datafusion/common/src/test_util.rs | 30 +- .../physical-plan/src/aggregates/mod.rs | 377 +++++++++--------- datafusion/physical-plan/src/unnest.rs | 9 +- 3 files changed, 230 insertions(+), 186 deletions(-) diff --git a/datafusion/common/src/test_util.rs b/datafusion/common/src/test_util.rs index 298f54389cf88..b9cd772d7a456 100644 --- a/datafusion/common/src/test_util.rs +++ b/datafusion/common/src/test_util.rs @@ -17,6 +17,9 @@ //! Utility functions to make testing DataFusion based crates easier +use crate::arrow::util::pretty::pretty_format_batches_with_options; +use crate::format::DEFAULT_FORMAT_OPTIONS; +use arrow::array::RecordBatch; use std::{error::Error, path::PathBuf}; /// Compares formatted output of a record batch with an expected @@ -73,6 +76,31 @@ macro_rules! assert_batches_eq { }; } +pub fn batches_to_string(batches: &[RecordBatch]) -> String { + let actual = pretty_format_batches_with_options(batches, &DEFAULT_FORMAT_OPTIONS) + .unwrap() + .to_string(); + + actual.trim().to_string() +} + +pub fn batches_to_sort_string(batches: &[RecordBatch]) -> String { + let actual_lines = + pretty_format_batches_with_options(batches, &DEFAULT_FORMAT_OPTIONS) + .unwrap() + .to_string(); + + let mut actual_lines: Vec<&str> = actual_lines.trim().lines().collect(); + + // sort except for header + footer + let num_lines = actual_lines.len(); + if num_lines > 3 { + actual_lines.as_mut_slice()[2..num_lines - 1].sort_unstable() + } + + actual_lines.join("\n") +} + /// Compares formatted output of a record batch with an expected /// vector of strings in a way that order does not matter. /// This is a macro so errors appear on the correct line @@ -254,7 +282,7 @@ pub fn get_data_dir( pb.display(), udf_env ) - .into()); + .into()); } } } diff --git a/datafusion/physical-plan/src/aggregates/mod.rs b/datafusion/physical-plan/src/aggregates/mod.rs index 5dccc09fc722c..579ba08e70a9b 100644 --- a/datafusion/physical-plan/src/aggregates/mod.rs +++ b/datafusion/physical-plan/src/aggregates/mod.rs @@ -1411,6 +1411,7 @@ mod tests { }; use arrow::compute::{concat_batches, SortOptions}; use arrow::datatypes::{DataType, Int32Type}; + use datafusion_common::test_util::{batches_to_sort_string, batches_to_string}; use datafusion_common::{ assert_batches_eq, assert_batches_sorted_eq, internal_err, DataFusionError, ScalarValue, @@ -1431,6 +1432,7 @@ mod tests { use datafusion_physical_expr::PhysicalSortExpr; use futures::{FutureExt, Stream}; + use insta::{allow_duplicates, assert_snapshot}; // Generate a schema which consists of 5 columns (a, b, c, d, e) fn create_test_schema() -> Result { @@ -1587,57 +1589,64 @@ mod tests { let result = collect(partial_aggregate.execute(0, Arc::clone(&task_ctx))?).await?; - let expected = if spill { + if spill { // In spill mode, we test with the limited memory, if the mem usage exceeds, // we trigger the early emit rule, which turns out the partial aggregate result. - vec![ - "+---+-----+---------------+-----------------+", - "| a | b | __grouping_id | COUNT(1)[count] |", - "+---+-----+---------------+-----------------+", - "| | 1.0 | 2 | 1 |", - "| | 1.0 | 2 | 1 |", - "| | 2.0 | 2 | 1 |", - "| | 2.0 | 2 | 1 |", - "| | 3.0 | 2 | 1 |", - "| | 3.0 | 2 | 1 |", - "| | 4.0 | 2 | 1 |", - "| | 4.0 | 2 | 1 |", - "| 2 | | 1 | 1 |", - "| 2 | | 1 | 1 |", - "| 2 | 1.0 | 0 | 1 |", - "| 2 | 1.0 | 0 | 1 |", - "| 3 | | 1 | 1 |", - "| 3 | | 1 | 2 |", - "| 3 | 2.0 | 0 | 2 |", - "| 3 | 3.0 | 0 | 1 |", - "| 4 | | 1 | 1 |", - "| 4 | | 1 | 2 |", - "| 4 | 3.0 | 0 | 1 |", - "| 4 | 4.0 | 0 | 2 |", - "+---+-----+---------------+-----------------+", - ] + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&result), + @r" ++---+-----+---------------+-----------------+ +| a | b | __grouping_id | COUNT(1)[count] | ++---+-----+---------------+-----------------+ +| | 1.0 | 2 | 1 | +| | 1.0 | 2 | 1 | +| | 2.0 | 2 | 1 | +| | 2.0 | 2 | 1 | +| | 3.0 | 2 | 1 | +| | 3.0 | 2 | 1 | +| | 4.0 | 2 | 1 | +| | 4.0 | 2 | 1 | +| 2 | | 1 | 1 | +| 2 | | 1 | 1 | +| 2 | 1.0 | 0 | 1 | +| 2 | 1.0 | 0 | 1 | +| 3 | | 1 | 1 | +| 3 | | 1 | 2 | +| 3 | 2.0 | 0 | 2 | +| 3 | 3.0 | 0 | 1 | +| 4 | | 1 | 1 | +| 4 | | 1 | 2 | +| 4 | 3.0 | 0 | 1 | +| 4 | 4.0 | 0 | 2 | ++---+-----+---------------+-----------------+ + " + ); + } } else { - vec![ - "+---+-----+---------------+-----------------+", - "| a | b | __grouping_id | COUNT(1)[count] |", - "+---+-----+---------------+-----------------+", - "| | 1.0 | 2 | 2 |", - "| | 2.0 | 2 | 2 |", - "| | 3.0 | 2 | 2 |", - "| | 4.0 | 2 | 2 |", - "| 2 | | 1 | 2 |", - "| 2 | 1.0 | 0 | 2 |", - "| 3 | | 1 | 3 |", - "| 3 | 2.0 | 0 | 2 |", - "| 3 | 3.0 | 0 | 1 |", - "| 4 | | 1 | 3 |", - "| 4 | 3.0 | 0 | 1 |", - "| 4 | 4.0 | 0 | 2 |", - "+---+-----+---------------+-----------------+", - ] + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&result), + @r" ++---+-----+---------------+-----------------+ +| a | b | __grouping_id | COUNT(1)[count] | ++---+-----+---------------+-----------------+ +| | 1.0 | 2 | 2 | +| | 2.0 | 2 | 2 | +| | 3.0 | 2 | 2 | +| | 4.0 | 2 | 2 | +| 2 | | 1 | 2 | +| 2 | 1.0 | 0 | 2 | +| 3 | | 1 | 3 | +| 3 | 2.0 | 0 | 2 | +| 3 | 3.0 | 0 | 1 | +| 4 | | 1 | 3 | +| 4 | 3.0 | 0 | 1 | +| 4 | 4.0 | 0 | 2 | ++---+-----+---------------+-----------------+ + " + ); + } }; - assert_batches_sorted_eq!(expected, &result); - + let merge = Arc::new(CoalescePartitionsExec::new(partial_aggregate)); let final_grouping_set = grouping_set.as_final(); @@ -1662,26 +1671,31 @@ mod tests { assert_eq!(batch.num_columns(), 4); assert_eq!(batch.num_rows(), 12); - let expected = vec![ - "+---+-----+---------------+----------+", - "| a | b | __grouping_id | COUNT(1) |", - "+---+-----+---------------+----------+", - "| | 1.0 | 2 | 2 |", - "| | 2.0 | 2 | 2 |", - "| | 3.0 | 2 | 2 |", - "| | 4.0 | 2 | 2 |", - "| 2 | | 1 | 2 |", - "| 2 | 1.0 | 0 | 2 |", - "| 3 | | 1 | 3 |", - "| 3 | 2.0 | 0 | 2 |", - "| 3 | 3.0 | 0 | 1 |", - "| 4 | | 1 | 3 |", - "| 4 | 3.0 | 0 | 1 |", - "| 4 | 4.0 | 0 | 2 |", - "+---+-----+---------------+----------+", - ]; + allow_duplicates! { + assert_snapshot!( + batches_to_sort_string(&result), + @r" + +---+-----+---------------+----------+ + | a | b | __grouping_id | COUNT(1) | + +---+-----+---------------+----------+ + | | 1.0 | 2 | 2 | + | | 2.0 | 2 | 2 | + | | 3.0 | 2 | 2 | + | | 4.0 | 2 | 2 | + | 2 | | 1 | 2 | + | 2 | 1.0 | 0 | 2 | + | 3 | | 1 | 3 | + | 3 | 2.0 | 0 | 2 | + | 3 | 3.0 | 0 | 1 | + | 4 | | 1 | 3 | + | 4 | 3.0 | 0 | 1 | + | 4 | 4.0 | 0 | 2 | + +---+-----+---------------+----------+ + " + ); + } - assert_batches_sorted_eq!(&expected, &result); + //assert_batches_sorted_eq!(&expected, &result); let metrics = merged_aggregate.metrics().unwrap(); let output_rows = metrics.output_rows().unwrap(); @@ -1726,30 +1740,33 @@ mod tests { let result = collect(partial_aggregate.execute(0, Arc::clone(&task_ctx))?).await?; - let expected = if spill { - vec![ - "+---+---------------+-------------+", - "| a | AVG(b)[count] | AVG(b)[sum] |", - "+---+---------------+-------------+", - "| 2 | 1 | 1.0 |", - "| 2 | 1 | 1.0 |", - "| 3 | 1 | 2.0 |", - "| 3 | 2 | 5.0 |", - "| 4 | 3 | 11.0 |", - "+---+---------------+-------------+", - ] + if spill { + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&result), @r" + +---+---------------+-------------+ + | a | AVG(b)[count] | AVG(b)[sum] | + +---+---------------+-------------+ + | 2 | 1 | 1.0 | + | 2 | 1 | 1.0 | + | 3 | 1 | 2.0 | + | 3 | 2 | 5.0 | + | 4 | 3 | 11.0 | + +---+---------------+-------------+ + "); + } } else { - vec![ - "+---+---------------+-------------+", - "| a | AVG(b)[count] | AVG(b)[sum] |", - "+---+---------------+-------------+", - "| 2 | 2 | 2.0 |", - "| 3 | 3 | 7.0 |", - "| 4 | 3 | 11.0 |", - "+---+---------------+-------------+", - ] + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&result), @r" + +---+---------------+-------------+ + | a | AVG(b)[count] | AVG(b)[sum] | + +---+---------------+-------------+ + | 2 | 2 | 2.0 | + | 3 | 3 | 7.0 | + | 4 | 3 | 11.0 | + +---+---------------+-------------+ + "); + } }; - assert_batches_sorted_eq!(expected, &result); let merge = Arc::new(CoalescePartitionsExec::new(partial_aggregate)); @@ -1775,17 +1792,17 @@ mod tests { assert_eq!(batch.num_columns(), 2); assert_eq!(batch.num_rows(), 3); - let expected = vec![ - "+---+--------------------+", - "| a | AVG(b) |", - "+---+--------------------+", - "| 2 | 1.0 |", - "| 3 | 2.3333333333333335 |", // 3, (2 + 3 + 2) / 3 - "| 4 | 3.6666666666666665 |", // 4, (3 + 4 + 4) / 3 - "+---+--------------------+", - ]; - - assert_batches_sorted_eq!(&expected, &result); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&result), @r" + +---+--------------------+ + | a | AVG(b) | + +---+--------------------+ + | 2 | 1.0 | + | 3 | 2.3333333333333335 | + | 4 | 3.6666666666666665 | + +---+--------------------+ + "); + } let metrics = merged_aggregate.metrics().unwrap(); let output_rows = metrics.output_rows().unwrap(); @@ -2299,27 +2316,29 @@ mod tests { let result = crate::collect(aggregate_final, task_ctx).await?; if is_first_acc { - let expected = [ - "+---+--------------------------------------------+", - "| a | first_value(b) ORDER BY [b ASC NULLS LAST] |", - "+---+--------------------------------------------+", - "| 2 | 0.0 |", - "| 3 | 1.0 |", - "| 4 | 3.0 |", - "+---+--------------------------------------------+", - ]; - assert_batches_eq!(expected, &result); + allow_duplicates! { + assert_snapshot!(batches_to_string(&result), @r" + +---+--------------------------------------------+ + | a | first_value(b) ORDER BY [b ASC NULLS LAST] | + +---+--------------------------------------------+ + | 2 | 0.0 | + | 3 | 1.0 | + | 4 | 3.0 | + +---+--------------------------------------------+ + "); + } } else { - let expected = [ - "+---+-------------------------------------------+", - "| a | last_value(b) ORDER BY [b ASC NULLS LAST] |", - "+---+-------------------------------------------+", - "| 2 | 3.0 |", - "| 3 | 5.0 |", - "| 4 | 6.0 |", - "+---+-------------------------------------------+", - ]; - assert_batches_eq!(expected, &result); + allow_duplicates! { + assert_snapshot!(batches_to_string(&result), @r" + +---+-------------------------------------------+ + | a | last_value(b) ORDER BY [b ASC NULLS LAST] | + +---+-------------------------------------------+ + | 2 | 3.0 | + | 3 | 5.0 | + | 4 | 6.0 | + +---+-------------------------------------------+ + "); + } }; Ok(()) } @@ -2513,16 +2532,17 @@ mod tests { let output = collect(aggregate_exec.execute(0, Arc::new(TaskContext::default()))?).await?; - let expected = [ - "+-----+-----+-------+---------------+-------+", - "| a | b | const | __grouping_id | 1 |", - "+-----+-----+-------+---------------+-------+", - "| | | 1 | 6 | 32768 |", - "| | 0.0 | | 5 | 32768 |", - "| 0.0 | | | 3 | 32768 |", - "+-----+-----+-------+---------------+-------+", - ]; - assert_batches_sorted_eq!(expected, &output); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&output), @r" + +-----+-----+-------+---------------+-------+ + | a | b | const | __grouping_id | 1 | + +-----+-----+-------+---------------+-------+ + | | | 1 | 6 | 32768 | + | | 0.0 | | 5 | 32768 | + | 0.0 | | | 3 | 32768 | + +-----+-----+-------+---------------+-------+ + "); + } Ok(()) } @@ -2628,15 +2648,16 @@ mod tests { let ctx = TaskContext::default().with_session_config(session_config); let output = collect(aggregate_exec.execute(0, Arc::new(ctx))?).await?; - let expected = [ - "+--------------+------------+", - "| labels | SUM(value) |", - "+--------------+------------+", - "| {a: a, b: b} | 2 |", - "| {a: , b: c} | 1 |", - "+--------------+------------+", - ]; - assert_batches_eq!(expected, &output); + allow_duplicates! { + assert_snapshot!(batches_to_string(&output), @r" + +--------------+------------+ + | labels | SUM(value) | + +--------------+------------+ + | {a: a, b: b} | 2 | + | {a: , b: c} | 1 | + +--------------+------------+ + "); + } Ok(()) } @@ -2703,19 +2724,20 @@ mod tests { let ctx = TaskContext::default().with_session_config(session_config); let output = collect(aggregate_exec.execute(0, Arc::new(ctx))?).await?; - let expected = [ - "+-----+-------------------+", - "| key | COUNT(val)[count] |", - "+-----+-------------------+", - "| 1 | 1 |", - "| 2 | 1 |", - "| 3 | 1 |", - "| 2 | 1 |", - "| 3 | 1 |", - "| 4 | 1 |", - "+-----+-------------------+", - ]; - assert_batches_eq!(expected, &output); + allow_duplicates!{ + assert_snapshot!(batches_to_string(&output), @r" + +-----+-------------------+ + | key | COUNT(val)[count] | + +-----+-------------------+ + | 1 | 1 | + | 2 | 1 | + | 3 | 1 | + | 2 | 1 | + | 3 | 1 | + | 4 | 1 | + +-----+-------------------+ + "); + } Ok(()) } @@ -2790,20 +2812,21 @@ mod tests { let ctx = TaskContext::default().with_session_config(session_config); let output = collect(aggregate_exec.execute(0, Arc::new(ctx))?).await?; - let expected = [ - "+-----+-------------------+", - "| key | COUNT(val)[count] |", - "+-----+-------------------+", - "| 1 | 1 |", - "| 2 | 2 |", - "| 3 | 2 |", - "| 4 | 1 |", - "| 2 | 1 |", - "| 3 | 1 |", - "| 4 | 1 |", - "+-----+-------------------+", - ]; - assert_batches_eq!(expected, &output); + allow_duplicates!{ + assert_snapshot!(batches_to_string(&output), @r" + +-----+-------------------+ + | key | COUNT(val)[count] | + +-----+-------------------+ + | 1 | 1 | + | 2 | 2 | + | 3 | 2 | + | 4 | 1 | + | 2 | 1 | + | 3 | 1 | + | 4 | 1 | + +-----+-------------------+ + "); + } Ok(()) } @@ -2934,19 +2957,17 @@ mod tests { assert_spill_count_metric(expect_spill, single_aggregate); - #[rustfmt::skip] - assert_batches_sorted_eq!( - [ - "+---+--------+--------+", - "| a | MIN(b) | AVG(b) |", - "+---+--------+--------+", - "| 2 | 1.0 | 1.0 |", - "| 3 | 2.0 | 2.0 |", - "| 4 | 3.0 | 3.5 |", - "+---+--------+--------+", - ], - &result - ); + allow_duplicates!{ + assert_snapshot!(batches_to_string(&result), @r" + +---+--------+--------+ + | a | MIN(b) | AVG(b) | + +---+--------+--------+ + | 2 | 1.0 | 1.0 | + | 3 | 2.0 | 2.0 | + | 4 | 3.0 | 3.5 | + +---+--------+--------+ + "); + } Ok(()) } diff --git a/datafusion/physical-plan/src/unnest.rs b/datafusion/physical-plan/src/unnest.rs index 34a9ee3c7673f..7dc30b6dbd7b8 100644 --- a/datafusion/physical-plan/src/unnest.rs +++ b/datafusion/physical-plan/src/unnest.rs @@ -956,11 +956,10 @@ mod tests { use arrow::array::{ GenericListArray, NullBufferBuilder, OffsetSizeTrait, StringArray, }; - use arrow::util::pretty; use arrow::buffer::{NullBuffer, OffsetBuffer}; use arrow::datatypes::{Field, Int32Type}; - use datafusion_common::assert_batches_eq; use insta::assert_snapshot; + use datafusion_common::test_util::batches_to_string; // Create a GenericListArray with the following list values: // [A, B, C], [], NULL, [D], NULL, [NULL, F] @@ -1044,10 +1043,6 @@ mod tests { Ok(()) } - fn fmt_batches(batches: &[RecordBatch]) -> String { - pretty::pretty_format_batches(batches).unwrap().to_string() - } - #[test] fn test_build_batch_list_arr_recursive() -> Result<()> { // col1 | col2 @@ -1151,7 +1146,7 @@ mod tests { )? .unwrap(); - assert_snapshot!(fmt_batches(&[ret]), + assert_snapshot!(batches_to_string(&[ret]), @r###" +---------------------------------+---------------------------------+---------------------------------+ | col1_unnest_placeholder_depth_1 | col1_unnest_placeholder_depth_2 | col2_unnest_placeholder_depth_1 | From 7485b22254167eea192c482c6ccfd3ba40e96a9a Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Wed, 19 Mar 2025 17:51:30 +0530 Subject: [PATCH 03/14] Migrated tests to insta in aggregate/topk/priority_map.rs --- .../src/aggregates/topk/priority_map.rs | 53 ++++++++----------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/datafusion/physical-plan/src/aggregates/topk/priority_map.rs b/datafusion/physical-plan/src/aggregates/topk/priority_map.rs index 3b954c4c72d34..63c3e108f62ac 100644 --- a/datafusion/physical-plan/src/aggregates/topk/priority_map.rs +++ b/datafusion/physical-plan/src/aggregates/topk/priority_map.rs @@ -111,6 +111,7 @@ mod tests { use arrow::array::{Int64Array, RecordBatch, StringArray}; use arrow::datatypes::{Field, Schema, SchemaRef}; use arrow::util::pretty::pretty_format_batches; + use insta::assert_snapshot; use std::sync::Arc; #[test] @@ -124,15 +125,15 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 1 | 1 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -149,15 +150,15 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 1 | 1 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -174,15 +175,14 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 2 | 2 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -199,15 +199,14 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 1 | 1 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -224,15 +223,14 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 1 | 2 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -249,15 +247,14 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 1 | 1 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -274,15 +271,14 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 2 | 2 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -299,15 +295,14 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 1 | 1 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -324,15 +319,14 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ | 1 | 2 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } @@ -350,7 +344,7 @@ mod tests { let cols = agg.emit()?; let batch = RecordBatch::try_new(test_schema(), cols)?; let actual = format!("{}", pretty_format_batches(&[batch])?); - let expected = r#" + assert_snapshot!(actual, @r#" +----------+--------------+ | trace_id | timestamp_ms | +----------+--------------+ @@ -358,8 +352,7 @@ mod tests { | 1 | 1 | +----------+--------------+ "# - .trim(); - assert_eq!(actual, expected); +); Ok(()) } From 0202be9cdedd1ca87c8d8530b90679cf0d87fc75 Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Wed, 19 Mar 2025 19:31:50 +0530 Subject: [PATCH 04/14] Migrated tests to insta in joins --- .../physical-plan/src/aggregates/mod.rs | 2 +- .../src/joins/.hash_join.rs.pending-snap | 389 ++++++++ .../physical-plan/src/joins/cross_join.rs | 30 +- .../physical-plan/src/joins/hash_join.rs | 895 +++++++++--------- 4 files changed, 864 insertions(+), 452 deletions(-) create mode 100644 datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap diff --git a/datafusion/physical-plan/src/aggregates/mod.rs b/datafusion/physical-plan/src/aggregates/mod.rs index 579ba08e70a9b..7d4f95f8c647a 100644 --- a/datafusion/physical-plan/src/aggregates/mod.rs +++ b/datafusion/physical-plan/src/aggregates/mod.rs @@ -1413,7 +1413,7 @@ mod tests { use arrow::datatypes::{DataType, Int32Type}; use datafusion_common::test_util::{batches_to_sort_string, batches_to_string}; use datafusion_common::{ - assert_batches_eq, assert_batches_sorted_eq, internal_err, DataFusionError, + internal_err, DataFusionError, ScalarValue, }; use datafusion_execution::config::SessionConfig; diff --git a/datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap b/datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap new file mode 100644 index 0000000000000..e274672380369 --- /dev/null +++ b/datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap @@ -0,0 +1,389 @@ +{"run_id":"1742390383-66053400","line":1930,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1930,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} +{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} +{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} +{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} +{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} +{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":1972,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2011,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2193,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} +{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} +{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1972,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2011,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2193,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} +{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3789,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1972,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2011,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2193,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":4184,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":4221,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392733-894443500","line":3417,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} +{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} +{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} +{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} +{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} +{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} +{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} +{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} +{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} diff --git a/datafusion/physical-plan/src/joins/cross_join.rs b/datafusion/physical-plan/src/joins/cross_join.rs index 35c8961065a5b..639fae7615af0 100644 --- a/datafusion/physical-plan/src/joins/cross_join.rs +++ b/datafusion/physical-plan/src/joins/cross_join.rs @@ -645,8 +645,9 @@ mod tests { use crate::common; use crate::test::build_table_scan_i32; - use datafusion_common::{assert_batches_sorted_eq, assert_contains}; + use datafusion_common::{assert_contains, test_util::batches_to_sort_string}; use datafusion_execution::runtime_env::RuntimeEnvBuilder; + use insta::assert_snapshot; async fn join_collect( left: Arc, @@ -829,20 +830,19 @@ mod tests { let (columns, batches) = join_collect(left, right, task_ctx).await?; assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b2", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 12 | 14 |", - "| 1 | 4 | 7 | 11 | 13 | 15 |", - "| 2 | 5 | 8 | 10 | 12 | 14 |", - "| 2 | 5 | 8 | 11 | 13 | 15 |", - "| 3 | 6 | 9 | 10 | 12 | 14 |", - "| 3 | 6 | 9 | 11 | 13 | 15 |", - "+----+----+----+----+----+----+", - ]; - - assert_batches_sorted_eq!(expected, &batches); + + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b2 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 12 | 14 | + | 1 | 4 | 7 | 11 | 13 | 15 | + | 2 | 5 | 8 | 10 | 12 | 14 | + | 2 | 5 | 8 | 11 | 13 | 15 | + | 3 | 6 | 9 | 10 | 12 | 14 | + | 3 | 6 | 9 | 11 | 13 | 15 | + +----+----+----+----+----+----+ + "#); Ok(()) } diff --git a/datafusion/physical-plan/src/joins/hash_join.rs b/datafusion/physical-plan/src/joins/hash_join.rs index 39a15037260d8..bd99fbe8616b5 100644 --- a/datafusion/physical-plan/src/joins/hash_join.rs +++ b/datafusion/physical-plan/src/joins/hash_join.rs @@ -1660,6 +1660,7 @@ mod tests { use arrow::array::{Date32Array, Int32Array, StructArray}; use arrow::buffer::NullBuffer; use arrow::datatypes::{DataType, Field}; + use datafusion_common::test_util::{batches_to_sort_string, batches_to_string}; use datafusion_common::{ assert_batches_eq, assert_batches_sorted_eq, assert_contains, exec_err, ScalarValue, @@ -1670,6 +1671,7 @@ mod tests { use datafusion_physical_expr::expressions::{BinaryExpr, Literal}; use datafusion_physical_expr::PhysicalExpr; use hashbrown::HashTable; + use insta::{allow_duplicates, assert_snapshot}; use rstest::*; use rstest_reuse::*; @@ -1880,18 +1882,18 @@ mod tests { assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b1", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 5 | 9 | 20 | 5 | 80 |", - "+----+----+----+----+----+----+", - ]; - - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + // Inner join output is expected to preserve both inputs order + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 5 | 9 | 20 | 5 | 80 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -1927,16 +1929,17 @@ mod tests { assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b1", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 5 | 9 | 20 | 5 | 80 |", - "+----+----+----+----+----+----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 5 | 9 | 20 | 5 | 80 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -1964,18 +1967,18 @@ mod tests { assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b2", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 5 | 9 | 20 | 5 | 80 |", - "+----+----+----+----+----+----+", - ]; - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b2 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 5 | 9 | 20 | 5 | 80 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2003,19 +2006,19 @@ mod tests { assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b2", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| 3 | 5 | 9 | 20 | 5 | 80 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 0 | 4 | 6 | 10 | 4 | 70 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "+----+----+----+----+----+----+", - ]; - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b2 | c2 | + +----+----+----+----+----+----+ + | 3 | 5 | 9 | 20 | 5 | 80 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 0 | 4 | 6 | 10 | 4 | 70 | + | 1 | 4 | 7 | 10 | 4 | 70 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2066,18 +2069,18 @@ mod tests { assert_eq!(batches.len(), expected_batch_count); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b2 | c1 | a1 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 1 | 7 | 1 | 1 | 70 |", - "| 2 | 2 | 8 | 2 | 2 | 80 |", - "| 2 | 2 | 9 | 2 | 2 | 80 |", - "+----+----+----+----+----+----+", - ]; - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b2 | c1 | a1 | b2 | c2 | + +----+----+----+----+----+----+ + | 1 | 1 | 7 | 1 | 1 | 70 | + | 2 | 2 | 8 | 2 | 2 | 80 | + | 2 | 2 | 9 | 2 | 2 | 80 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2136,18 +2139,18 @@ mod tests { assert_eq!(batches.len(), expected_batch_count); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b2 | c1 | a1 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 1 | 7 | 1 | 1 | 70 |", - "| 2 | 2 | 8 | 2 | 2 | 80 |", - "| 2 | 2 | 9 | 2 | 2 | 80 |", - "+----+----+----+----+----+----+", - ]; - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b2 | c1 | a1 | b2 | c2 | + +----+----+----+----+----+----+ + | 1 | 1 | 7 | 1 | 1 | 70 | + | 2 | 2 | 8 | 2 | 2 | 80 | + | 2 | 2 | 9 | 2 | 2 | 80 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2185,19 +2188,19 @@ mod tests { assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b2", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| 3 | 5 | 9 | 20 | 5 | 80 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 0 | 4 | 6 | 10 | 4 | 70 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "+----+----+----+----+----+----+", - ]; - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b2 | c2 | + +----+----+----+----+----+----+ + | 3 | 5 | 9 | 20 | 5 | 80 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 0 | 4 | 6 | 10 | 4 | 70 | + | 1 | 4 | 7 | 10 | 4 | 70 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2254,16 +2257,16 @@ mod tests { }; assert_eq!(batches.len(), expected_batch_count); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "+----+----+----+----+----+----+", - ]; - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 4 | 70 | + +----+----+----+----+----+----+ + "#); + } // second part let stream = join.execute(1, Arc::clone(&task_ctx))?; @@ -2279,17 +2282,17 @@ mod tests { }; assert_eq!(batches.len(), expected_batch_count); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 2 | 5 | 8 | 30 | 5 | 90 |", - "| 3 | 5 | 9 | 30 | 5 | 90 |", - "+----+----+----+----+----+----+", - ]; - // Inner join output is expected to preserve both inputs order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 2 | 5 | 8 | 30 | 5 | 90 | + | 3 | 5 | 9 | 30 | 5 | 90 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2331,19 +2334,20 @@ mod tests { let stream = join.execute(0, task_ctx).unwrap(); let batches = common::collect(stream).await.unwrap(); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 7 | 9 | | | |", - "+----+----+----+----+----+----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 4 | 70 | + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 7 | 9 | | | | + +----+----+----+----+----+----+ + "#); + } } #[apply(batch_sizes)] @@ -2374,21 +2378,21 @@ mod tests { let stream = join.execute(0, task_ctx).unwrap(); let batches = common::collect(stream).await.unwrap(); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| | | | 30 | 6 | 90 |", - "| | | | 30 | 6 | 90 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 7 | 9 | | | |", - "+----+----+----+----+----+----+", - ]; - - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b2 | c2 | + +----+----+----+----+----+----+ + | | | | 30 | 6 | 90 | + | | | | 30 | 6 | 90 | + | 1 | 4 | 7 | 10 | 4 | 70 | + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 7 | 9 | | | | + +----+----+----+----+----+----+ + "#); + } } #[apply(batch_sizes)] @@ -2415,17 +2419,17 @@ mod tests { let stream = join.execute(0, task_ctx).unwrap(); let batches = common::collect(stream).await.unwrap(); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | | | |", - "| 2 | 5 | 8 | | | |", - "| 3 | 7 | 9 | | | |", - "+----+----+----+----+----+----+", - ]; - - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | | | | + | 2 | 5 | 8 | | | | + | 3 | 7 | 9 | | | | + +----+----+----+----+----+----+ + "#); + } } #[apply(batch_sizes)] @@ -2452,17 +2456,17 @@ mod tests { let stream = join.execute(0, task_ctx).unwrap(); let batches = common::collect(stream).await.unwrap(); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | | | |", - "| 2 | 5 | 8 | | | |", - "| 3 | 7 | 9 | | | |", - "+----+----+----+----+----+----+", - ]; - - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b2 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | | | | + | 2 | 5 | 8 | | | | + | 3 | 7 | 9 | | | | + +----+----+----+----+----+----+ + "#); + } } #[apply(batch_sizes)] @@ -2495,16 +2499,17 @@ mod tests { .await?; assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b1", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 7 | 9 | | | |", - "+----+----+----+----+----+----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 7 | 9 | | | | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2539,16 +2544,17 @@ mod tests { .await?; assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b1", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 7 | 9 | | | |", - "+----+----+----+----+----+----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 7 | 9 | | | | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -2594,16 +2600,17 @@ mod tests { let batches = common::collect(stream).await?; // ignore the order - let expected = [ - "+----+----+-----+", - "| a1 | b1 | c1 |", - "+----+----+-----+", - "| 11 | 8 | 110 |", - "| 13 | 10 | 130 |", - "| 9 | 8 | 90 |", - "+----+----+-----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+-----+ + | a1 | b1 | c1 | + +----+----+-----+ + | 11 | 8 | 110 | + | 13 | 10 | 130 | + | 9 | 8 | 90 | + +----+----+-----+ + "#); + } Ok(()) } @@ -2655,16 +2662,17 @@ mod tests { let stream = join.execute(0, Arc::clone(&task_ctx))?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a1 | b1 | c1 |", - "+----+----+-----+", - "| 11 | 8 | 110 |", - "| 13 | 10 | 130 |", - "| 9 | 8 | 90 |", - "+----+----+-----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+-----+ + | a1 | b1 | c1 | + +----+----+-----+ + | 11 | 8 | 110 | + | 13 | 10 | 130 | + | 9 | 8 | 90 | + +----+----+-----+ + "#); + } // left_table left semi join right_table on left_table.b1 = right_table.b2 and right_table.a2 > 10 let filter_expression = Arc::new(BinaryExpr::new( @@ -2686,14 +2694,15 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a1 | b1 | c1 |", - "+----+----+-----+", - "| 13 | 10 | 130 |", - "+----+----+-----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+-----+ + | a1 | b1 | c1 | + +----+----+-----+ + | 13 | 10 | 130 | + +----+----+-----+ + "#); + } Ok(()) } @@ -2719,18 +2728,18 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a2 | b2 | c2 |", - "+----+----+-----+", - "| 8 | 8 | 20 |", - "| 12 | 10 | 40 |", - "| 10 | 10 | 100 |", - "+----+----+-----+", - ]; - // RightSemi join output is expected to preserve right input order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+-----+ + | a2 | b2 | c2 | + +----+----+-----+ + | 8 | 8 | 20 | + | 12 | 10 | 40 | + | 10 | 10 | 100 | + +----+----+-----+ + "#); + } Ok(()) } @@ -2782,18 +2791,18 @@ mod tests { let stream = join.execute(0, Arc::clone(&task_ctx))?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a2 | b2 | c2 |", - "+----+----+-----+", - "| 8 | 8 | 20 |", - "| 12 | 10 | 40 |", - "| 10 | 10 | 100 |", - "+----+----+-----+", - ]; - // RightSemi join output is expected to preserve right input order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+-----+ + | a2 | b2 | c2 | + +----+----+-----+ + | 8 | 8 | 20 | + | 12 | 10 | 40 | + | 10 | 10 | 100 | + +----+----+-----+ + "#); + } // left_table right semi join right_table on left_table.b1 = right_table.b2 on left_table.a1!=9 let filter_expression = Arc::new(BinaryExpr::new( @@ -2813,17 +2822,17 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a2 | b2 | c2 |", - "+----+----+-----+", - "| 12 | 10 | 40 |", - "| 10 | 10 | 100 |", - "+----+----+-----+", - ]; - // RightSemi join output is expected to preserve right input order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+-----+ + | a2 | b2 | c2 | + +----+----+-----+ + | 12 | 10 | 40 | + | 10 | 10 | 100 | + +----+----+-----+ + "#); + } Ok(()) } @@ -2848,17 +2857,18 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+----+", - "| a1 | b1 | c1 |", - "+----+----+----+", - "| 1 | 1 | 10 |", - "| 3 | 3 | 30 |", - "| 5 | 5 | 50 |", - "| 7 | 7 | 70 |", - "+----+----+----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+ + | a1 | b1 | c1 | + +----+----+----+ + | 1 | 1 | 10 | + | 3 | 3 | 30 | + | 5 | 5 | 50 | + | 7 | 7 | 70 | + +----+----+----+ + "#); + } Ok(()) } @@ -2907,19 +2917,20 @@ mod tests { let stream = join.execute(0, Arc::clone(&task_ctx))?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a1 | b1 | c1 |", - "+----+----+-----+", - "| 1 | 1 | 10 |", - "| 11 | 8 | 110 |", - "| 3 | 3 | 30 |", - "| 5 | 5 | 50 |", - "| 7 | 7 | 70 |", - "| 9 | 8 | 90 |", - "+----+----+-----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+-----+ + | a1 | b1 | c1 | + +----+----+-----+ + | 1 | 1 | 10 | + | 11 | 8 | 110 | + | 3 | 3 | 30 | + | 5 | 5 | 50 | + | 7 | 7 | 70 | + | 9 | 8 | 90 | + +----+----+-----+ + "#); + } // left_table left anti join right_table on left_table.b1 = right_table.b2 and right_table.a2 != 13 let filter_expression = Arc::new(BinaryExpr::new( @@ -2942,19 +2953,20 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a1 | b1 | c1 |", - "+----+----+-----+", - "| 1 | 1 | 10 |", - "| 11 | 8 | 110 |", - "| 3 | 3 | 30 |", - "| 5 | 5 | 50 |", - "| 7 | 7 | 70 |", - "| 9 | 8 | 90 |", - "+----+----+-----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+-----+ + | a1 | b1 | c1 | + +----+----+-----+ + | 1 | 1 | 10 | + | 11 | 8 | 110 | + | 3 | 3 | 30 | + | 5 | 5 | 50 | + | 7 | 7 | 70 | + | 9 | 8 | 90 | + +----+----+-----+ + "#); + } Ok(()) } @@ -2978,18 +2990,18 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a2 | b2 | c2 |", - "+----+----+-----+", - "| 6 | 6 | 60 |", - "| 2 | 2 | 80 |", - "| 4 | 4 | 120 |", - "+----+----+-----+", - ]; - // RightAnti join output is expected to preserve right input order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+-----+ + | a2 | b2 | c2 | + +----+----+-----+ + | 6 | 6 | 60 | + | 2 | 2 | 80 | + | 4 | 4 | 120 | + +----+----+-----+ + "#); + } Ok(()) } @@ -3039,20 +3051,20 @@ mod tests { let stream = join.execute(0, Arc::clone(&task_ctx))?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a2 | b2 | c2 |", - "+----+----+-----+", - "| 12 | 10 | 40 |", - "| 6 | 6 | 60 |", - "| 2 | 2 | 80 |", - "| 10 | 10 | 100 |", - "| 4 | 4 | 120 |", - "+----+----+-----+", - ]; - // RightAnti join output is expected to preserve right input order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+-----+ + | a2 | b2 | c2 | + +----+----+-----+ + | 12 | 10 | 40 | + | 6 | 6 | 60 | + | 2 | 2 | 80 | + | 10 | 10 | 100 | + | 4 | 4 | 120 | + +----+----+-----+ + "#); + } // left_table right anti join right_table on left_table.b1 = right_table.b2 and right_table.b2!=8 let column_indices = vec![ColumnIndex { @@ -3080,19 +3092,19 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+-----+", - "| a2 | b2 | c2 |", - "+----+----+-----+", - "| 8 | 8 | 20 |", - "| 6 | 6 | 60 |", - "| 2 | 2 | 80 |", - "| 4 | 4 | 120 |", - "+----+----+-----+", - ]; - // RightAnti join output is expected to preserve right input order - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +----+----+-----+ + | a2 | b2 | c2 | + +----+----+-----+ + | 8 | 8 | 20 | + | 6 | 6 | 60 | + | 2 | 2 | 80 | + | 4 | 4 | 120 | + +----+----+-----+ + "#); + } Ok(()) } @@ -3121,17 +3133,17 @@ mod tests { assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b1", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| | | | 30 | 6 | 90 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "+----+----+----+----+----+----+", - ]; - - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | | | | 30 | 6 | 90 | + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -3161,17 +3173,17 @@ mod tests { assert_eq!(columns, vec!["a1", "b1", "c1", "a2", "b1", "c2"]); - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b1 | c2 |", - "+----+----+----+----+----+----+", - "| | | | 30 | 6 | 90 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "+----+----+----+----+----+----+", - ]; - - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | | | | 30 | 6 | 90 | + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -3203,17 +3215,18 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+----+----+----+----+----+----+", - "| a1 | b1 | c1 | a2 | b2 | c2 |", - "+----+----+----+----+----+----+", - "| | | | 30 | 6 | 90 |", - "| 1 | 4 | 7 | 10 | 4 | 70 |", - "| 2 | 5 | 8 | 20 | 5 | 80 |", - "| 3 | 7 | 9 | | | |", - "+----+----+----+----+----+----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b2 | c2 | + +----+----+----+----+----+----+ + | | | | 30 | 6 | 90 | + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + | 3 | 7 | 9 | | | | + +----+----+----+----+----+----+ + "#); + } Ok(()) } @@ -3248,16 +3261,17 @@ mod tests { .await?; assert_eq!(columns, vec!["a1", "b1", "c1", "mark"]); - let expected = [ - "+----+----+----+-------+", - "| a1 | b1 | c1 | mark |", - "+----+----+----+-------+", - "| 1 | 4 | 7 | true |", - "| 2 | 5 | 8 | true |", - "| 3 | 7 | 9 | false |", - "+----+----+----+-------+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+-------+ + | a1 | b1 | c1 | mark | + +----+----+----+-------+ + | 1 | 4 | 7 | true | + | 2 | 5 | 8 | true | + | 3 | 7 | 9 | false | + +----+----+----+-------+ + "#); + } Ok(()) } @@ -3292,16 +3306,17 @@ mod tests { .await?; assert_eq!(columns, vec!["a1", "b1", "c1", "mark"]); - let expected = [ - "+----+----+----+-------+", - "| a1 | b1 | c1 | mark |", - "+----+----+----+-------+", - "| 1 | 4 | 7 | true |", - "| 2 | 5 | 8 | true |", - "| 3 | 7 | 9 | false |", - "+----+----+----+-------+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +----+----+----+-------+ + | a1 | b1 | c1 | mark | + +----+----+----+-------+ + | 1 | 4 | 7 | true | + | 2 | 5 | 8 | true | + | 3 | 7 | 9 | false | + +----+----+----+-------+ + "#); + } Ok(()) } @@ -3398,15 +3413,16 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+---+---+---+----+---+----+", - "| a | b | c | a | b | c |", - "+---+---+---+----+---+----+", - "| 1 | 4 | 7 | 10 | 1 | 70 |", - "| 2 | 5 | 8 | 20 | 2 | 80 |", - "+---+---+---+----+---+----+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +---+---+---+----+---+----+ + | a | b | c | a | b | c | + +---+---+---+----+---+----+ + | 1 | 4 | 7 | 10 | 1 | 70 | + | 2 | 5 | 8 | 20 | 2 | 80 | + +---+---+---+----+---+----+ + "#); + } Ok(()) } @@ -3467,15 +3483,16 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+---+---+---+----+---+---+", - "| a | b | c | a | b | c |", - "+---+---+---+----+---+---+", - "| 2 | 7 | 9 | 10 | 2 | 7 |", - "| 2 | 7 | 9 | 20 | 2 | 5 |", - "+---+---+---+----+---+---+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +---+---+---+----+---+---+ + | a | b | c | a | b | c | + +---+---+---+----+---+---+ + | 2 | 7 | 9 | 10 | 2 | 7 | + | 2 | 7 | 9 | 20 | 2 | 5 | + +---+---+---+----+---+---+ + "#); + } Ok(()) } @@ -3508,18 +3525,19 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+---+---+---+----+---+---+", - "| a | b | c | a | b | c |", - "+---+---+---+----+---+---+", - "| 0 | 4 | 7 | | | |", - "| 1 | 5 | 8 | | | |", - "| 2 | 7 | 9 | 10 | 2 | 7 |", - "| 2 | 7 | 9 | 20 | 2 | 5 |", - "| 2 | 8 | 1 | | | |", - "+---+---+---+----+---+---+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +---+---+---+----+---+---+ + | a | b | c | a | b | c | + +---+---+---+----+---+---+ + | 0 | 4 | 7 | | | | + | 1 | 5 | 8 | | | | + | 2 | 7 | 9 | 10 | 2 | 7 | + | 2 | 7 | 9 | 20 | 2 | 5 | + | 2 | 8 | 1 | | | | + +---+---+---+----+---+---+ + "#); + } Ok(()) } @@ -3552,17 +3570,18 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+---+---+---+----+---+---+", - "| a | b | c | a | b | c |", - "+---+---+---+----+---+---+", - "| | | | 30 | 3 | 6 |", - "| | | | 40 | 4 | 4 |", - "| 2 | 7 | 9 | 10 | 2 | 7 |", - "| 2 | 7 | 9 | 20 | 2 | 5 |", - "+---+---+---+----+---+---+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +---+---+---+----+---+---+ + | a | b | c | a | b | c | + +---+---+---+----+---+---+ + | | | | 30 | 3 | 6 | + | | | | 40 | 4 | 4 | + | 2 | 7 | 9 | 10 | 2 | 7 | + | 2 | 7 | 9 | 20 | 2 | 5 | + +---+---+---+----+---+---+ + "#); + } Ok(()) } @@ -3595,20 +3614,21 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+---+---+---+----+---+---+", - "| a | b | c | a | b | c |", - "+---+---+---+----+---+---+", - "| | | | 30 | 3 | 6 |", - "| | | | 40 | 4 | 4 |", - "| 2 | 7 | 9 | 10 | 2 | 7 |", - "| 2 | 7 | 9 | 20 | 2 | 5 |", - "| 0 | 4 | 7 | | | |", - "| 1 | 5 | 8 | | | |", - "| 2 | 8 | 1 | | | |", - "+---+---+---+----+---+---+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +---+---+---+----+---+---+ + | a | b | c | a | b | c | + +---+---+---+----+---+---+ + | | | | 30 | 3 | 6 | + | | | | 40 | 4 | 4 | + | 2 | 7 | 9 | 10 | 2 | 7 | + | 2 | 7 | 9 | 20 | 2 | 5 | + | 0 | 4 | 7 | | | | + | 1 | 5 | 8 | | | | + | 2 | 8 | 1 | | | | + +---+---+---+----+---+---+ + "#); + } Ok(()) } @@ -3765,16 +3785,17 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - let expected = [ - "+------------+---+------------+---+", - "| date | n | date | n |", - "+------------+---+------------+---+", - "| 2022-04-26 | 2 | 2022-04-26 | 4 |", - "| 2022-04-26 | 2 | 2022-04-26 | 5 |", - "| 2022-04-27 | 3 | 2022-04-27 | 6 |", - "+------------+---+------------+---+", - ]; - assert_batches_sorted_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches), @r#" + +------------+---+------------+---+ + | date | n | date | n | + +------------+---+------------+---+ + | 2022-04-26 | 2 | 2022-04-26 | 4 | + | 2022-04-26 | 2 | 2022-04-26 | 5 | + | 2022-04-27 | 3 | 2022-04-27 | 6 | + +------------+---+------------+---+ + "#); + } Ok(()) } @@ -4159,16 +4180,17 @@ mod tests { assert_eq!(columns, vec!["n1", "n2"]); - let expected = [ - "+--------+--------+", - "| n1 | n2 |", - "+--------+--------+", - "| {a: } | {a: } |", - "| {a: 1} | {a: 1} |", - "| {a: 2} | {a: 2} |", - "+--------+--------+", - ]; - assert_batches_eq!(expected, &batches); + allow_duplicates! { + assert_snapshot!(batches_to_string(&batches), @r#" + +--------+--------+ + | n1 | n2 | + +--------+--------+ + | {a: } | {a: } | + | {a: 1} | {a: 1} | + | {a: 2} | {a: 2} | + +--------+--------+ + "#); + } Ok(()) } @@ -4195,14 +4217,15 @@ mod tests { ) .await?; - let expected_null_eq = [ - "+----+----+", - "| n1 | n2 |", - "+----+----+", - "| | |", - "+----+----+", - ]; - assert_batches_eq!(expected_null_eq, &batches_null_eq); + allow_duplicates! { + assert_snapshot!(batches_to_sort_string(&batches_null_eq), @r#" + +----+----+ + | n1 | n2 | + +----+----+ + | | | + +----+----+ + "#); + } let (_, batches_null_neq) = join_collect(left, right, on, &JoinType::Inner, false, task_ctx).await?; From b152ec559eed376e99e673084efe62aa7ab1f4f2 Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Wed, 19 Mar 2025 20:26:16 +0530 Subject: [PATCH 05/14] Fallback to previous implementation in a test due to an issue (#15312) --- .../src/joins/.hash_join.rs.pending-snap | 389 ------------------ .../physical-plan/src/joins/hash_join.rs | 78 ++-- 2 files changed, 47 insertions(+), 420 deletions(-) delete mode 100644 datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap diff --git a/datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap b/datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap deleted file mode 100644 index e274672380369..0000000000000 --- a/datafusion/physical-plan/src/joins/.hash_join.rs.pending-snap +++ /dev/null @@ -1,389 +0,0 @@ -{"run_id":"1742390383-66053400","line":1930,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1930,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} -{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} -{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} -{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} -{"run_id":"1742390482-56772300","line":1887,"new":null,"old":null} -{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742390482-56772300","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2460,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":1887,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":1972,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2011,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2144,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2193,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2262,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2287,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2074,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2423,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2503,"new":null,"old":null} -{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2382,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2382,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| | | | 30 | 6 | 90 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b2 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":2339,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_multi_batch","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2339,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 7 | 9 | | | |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742391112-43158700","line":1933,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"partitioned_join_inner_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":1933,"expression":"batches_to_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n| 3 | 5 | 9 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"}} -{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2460,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2382,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3219,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1887,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1972,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2011,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2144,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2193,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2262,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2287,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2074,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2861,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2921,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2957,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2423,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3265,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2339,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2503,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2604,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2995,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3056,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3097,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2733,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2796,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2827,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":1933,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3310,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2548,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3177,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392248-782282400","line":2698,"new":null,"old":null} -{"run_id":"1742392248-782282400","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3789,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2460,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2382,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3219,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1887,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1972,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2011,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2144,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2193,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2262,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2287,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2074,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3487,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2861,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2921,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2957,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2423,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3265,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2339,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2503,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2604,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3529,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":4184,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":4221,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2995,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3056,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3097,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2733,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2796,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2827,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3574,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392733-894443500","line":3417,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} -{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} -{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} -{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":1933,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} -{"run_id":"1742392733-894443500","line":3618,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_full_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3618,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+---+---+---+----+---+---+\n| a | b | c | a | b | c |\n+---+---+---+----+---+---+\n| | | | 30 | 3 | 6 |\n| | | | 40 | 4 | 4 |\n| 2 | 7 | 9 | 10 | 2 | 7 |\n| 2 | 7 | 9 | 20 | 2 | 5 |\n| 0 | 4 | 7 | | | |\n| 1 | 5 | 8 | | | |\n| 2 | 8 | 1 | | | |\n+---+---+---+----+---+---+"}} -{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392733-894443500","line":3137,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_right_one","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":3137,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+----+----+----+----+\n| a1 | b1 | c1 | a2 | b1 | c2 |\n+----+----+----+----+----+----+\n| | | | 30 | 6 | 90 |\n| 1 | 4 | 7 | 10 | 4 | 70 |\n| 2 | 5 | 8 | 20 | 5 | 80 |\n+----+----+----+----+----+----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+----+----+----+----+ \n| a1 | b1 | c1 | a2 | b1 | c2 | \n+----+----+----+----+----+----+ \n| | | | 30 | 6 | 90 | \n| 1 | 4 | 7 | 10 | 4 | 70 | \n| 2 | 5 | 8 | 20 | 5 | 80 | \n+----+----+----+----+----+----+"}} -{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3310,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2548,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2666,"new":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","snapshot_name":"join_left_semi_with_filter","metadata":{"source":"datafusion/physical-plan/src/joins/hash_join.rs","assertion_line":2666,"expression":"batches_to_sort_string(&batches)"},"snapshot":"+----+----+-----+\n| a1 | b1 | c1 |\n+----+----+-----+\n| 11 | 8 | 110 |\n| 13 | 10 | 130 |\n| 9 | 8 | 90 |\n+----+----+-----+"},"old":{"module_name":"datafusion_physical_plan__joins__hash_join__tests","metadata":{},"snapshot":"+----+----+-----+ \n| a1 | b1 | c1 | \n+----+----+-----+ \n| 11 | 8 | 110 | \n| 13 | 10 | 130 | \n| 9 | 8 | 90 | \n+----+----+-----+"}} -{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":2698,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} -{"run_id":"1742392733-894443500","line":3177,"new":null,"old":null} diff --git a/datafusion/physical-plan/src/joins/hash_join.rs b/datafusion/physical-plan/src/joins/hash_join.rs index bd99fbe8616b5..cfe12cb297bca 100644 --- a/datafusion/physical-plan/src/joins/hash_join.rs +++ b/datafusion/physical-plan/src/joins/hash_join.rs @@ -2663,15 +2663,15 @@ mod tests { let batches = common::collect(stream).await?; allow_duplicates! { - assert_snapshot!(batches_to_sort_string(&batches), @r#" - +----+----+-----+ - | a1 | b1 | c1 | - +----+----+-----+ - | 11 | 8 | 110 | - | 13 | 10 | 130 | - | 9 | 8 | 90 | - +----+----+-----+ - "#); + assert_snapshot!(batches_to_sort_string(&batches), @r" + +----+----+-----+ + | a1 | b1 | c1 | + +----+----+-----+ + | 11 | 8 | 110 | + | 13 | 10 | 130 | + | 9 | 8 | 90 | + +----+----+-----+ + "); } // left_table left semi join right_table on left_table.b1 = right_table.b2 and right_table.a2 > 10 @@ -3135,13 +3135,13 @@ mod tests { allow_duplicates! { assert_snapshot!(batches_to_sort_string(&batches), @r#" - +----+----+----+----+----+----+ - | a1 | b1 | c1 | a2 | b1 | c2 | - +----+----+----+----+----+----+ - | | | | 30 | 6 | 90 | - | 1 | 4 | 7 | 10 | 4 | 70 | - | 2 | 5 | 8 | 20 | 5 | 80 | - +----+----+----+----+----+----+ + +----+----+----+----+----+----+ + | a1 | b1 | c1 | a2 | b1 | c2 | + +----+----+----+----+----+----+ + | | | | 30 | 6 | 90 | + | 1 | 4 | 7 | 10 | 4 | 70 | + | 2 | 5 | 8 | 20 | 5 | 80 | + +----+----+----+----+----+----+ "#); } @@ -3614,21 +3614,37 @@ mod tests { let stream = join.execute(0, task_ctx)?; let batches = common::collect(stream).await?; - allow_duplicates! { - assert_snapshot!(batches_to_sort_string(&batches), @r#" - +---+---+---+----+---+---+ - | a | b | c | a | b | c | - +---+---+---+----+---+---+ - | | | | 30 | 3 | 6 | - | | | | 40 | 4 | 4 | - | 2 | 7 | 9 | 10 | 2 | 7 | - | 2 | 7 | 9 | 20 | 2 | 5 | - | 0 | 4 | 7 | | | | - | 1 | 5 | 8 | | | | - | 2 | 8 | 1 | | | | - +---+---+---+----+---+---+ - "#); - } + let expected = [ + "+---+---+---+----+---+---+", + "| a | b | c | a | b | c |", + "+---+---+---+----+---+---+", + "| | | | 30 | 3 | 6 |", + "| | | | 40 | 4 | 4 |", + "| 2 | 7 | 9 | 10 | 2 | 7 |", + "| 2 | 7 | 9 | 20 | 2 | 5 |", + "| 0 | 4 | 7 | | | |", + "| 1 | 5 | 8 | | | |", + "| 2 | 8 | 1 | | | |", + "+---+---+---+----+---+---+", + ]; + assert_batches_sorted_eq!(expected, &batches); + + // THIS MIGRATION HAULTED DUE TO ISSUE #15312 + //allow_duplicates! { + // assert_snapshot!(batches_to_sort_string(&batches), @r#" + // +---+---+---+----+---+---+ + // | a | b | c | a | b | c | + // +---+---+---+----+---+---+ + // | | | | 30 | 3 | 6 | + // | | | | 40 | 4 | 4 | + // | 2 | 7 | 9 | 10 | 2 | 7 | + // | 2 | 7 | 9 | 20 | 2 | 5 | + // | 0 | 4 | 7 | | | | + // | 1 | 5 | 8 | | | | + // | 2 | 8 | 1 | | | | + // +---+---+---+----+---+---+ + // "#) + //} Ok(()) } From c33d477736bc859bc7873e0c8c9680ff17f0f22e Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Wed, 19 Mar 2025 20:39:03 +0530 Subject: [PATCH 06/14] Fix formatting --- datafusion/common/src/test_util.rs | 2 +- .../physical-plan/src/aggregates/mod.rs | 13 +++++------- .../src/aggregates/topk/priority_map.rs | 20 +++++++++---------- .../physical-plan/src/joins/hash_join.rs | 1 - datafusion/physical-plan/src/unnest.rs | 2 +- 5 files changed, 17 insertions(+), 21 deletions(-) diff --git a/datafusion/common/src/test_util.rs b/datafusion/common/src/test_util.rs index b9cd772d7a456..b801c452af2c9 100644 --- a/datafusion/common/src/test_util.rs +++ b/datafusion/common/src/test_util.rs @@ -282,7 +282,7 @@ pub fn get_data_dir( pb.display(), udf_env ) - .into()); + .into()); } } } diff --git a/datafusion/physical-plan/src/aggregates/mod.rs b/datafusion/physical-plan/src/aggregates/mod.rs index 7ec3de1877c08..4ee030671e403 100644 --- a/datafusion/physical-plan/src/aggregates/mod.rs +++ b/datafusion/physical-plan/src/aggregates/mod.rs @@ -1413,10 +1413,7 @@ mod tests { use arrow::compute::{concat_batches, SortOptions}; use arrow::datatypes::{DataType, Int32Type}; use datafusion_common::test_util::{batches_to_sort_string, batches_to_string}; - use datafusion_common::{ - internal_err, DataFusionError, - ScalarValue, - }; + use datafusion_common::{internal_err, DataFusionError, ScalarValue}; use datafusion_execution::config::SessionConfig; use datafusion_execution::memory_pool::FairSpillPool; use datafusion_execution::runtime_env::RuntimeEnvBuilder; @@ -1647,7 +1644,7 @@ mod tests { ); } }; - + let merge = Arc::new(CoalescePartitionsExec::new(partial_aggregate)); let final_grouping_set = grouping_set.as_final(); @@ -2725,7 +2722,7 @@ mod tests { let ctx = TaskContext::default().with_session_config(session_config); let output = collect(aggregate_exec.execute(0, Arc::new(ctx))?).await?; - allow_duplicates!{ + allow_duplicates! { assert_snapshot!(batches_to_string(&output), @r" +-----+-------------------+ | key | COUNT(val)[count] | @@ -2813,7 +2810,7 @@ mod tests { let ctx = TaskContext::default().with_session_config(session_config); let output = collect(aggregate_exec.execute(0, Arc::new(ctx))?).await?; - allow_duplicates!{ + allow_duplicates! { assert_snapshot!(batches_to_string(&output), @r" +-----+-------------------+ | key | COUNT(val)[count] | @@ -2958,7 +2955,7 @@ mod tests { assert_spill_count_metric(expect_spill, single_aggregate); - allow_duplicates!{ + allow_duplicates! { assert_snapshot!(batches_to_string(&result), @r" +---+--------+--------+ | a | MIN(b) | AVG(b) | diff --git a/datafusion/physical-plan/src/aggregates/topk/priority_map.rs b/datafusion/physical-plan/src/aggregates/topk/priority_map.rs index 4fb2102f03997..a09d70f7471f3 100644 --- a/datafusion/physical-plan/src/aggregates/topk/priority_map.rs +++ b/datafusion/physical-plan/src/aggregates/topk/priority_map.rs @@ -189,7 +189,7 @@ mod tests { | 1 | 1 | +----------+--------------+ "# -); + ); Ok(()) } @@ -214,7 +214,7 @@ mod tests { | 1 | 1 | +----------+--------------+ "# -); + ); Ok(()) } @@ -238,7 +238,7 @@ mod tests { | 2 | 2 | +----------+--------------+ "# -); + ); Ok(()) } @@ -262,7 +262,7 @@ mod tests { | 1 | 1 | +----------+--------------+ "# -); + ); Ok(()) } @@ -286,7 +286,7 @@ mod tests { | 1 | 2 | +----------+--------------+ "# -); + ); Ok(()) } @@ -310,7 +310,7 @@ mod tests { | 1 | 1 | +----------+--------------+ "# -); + ); Ok(()) } @@ -334,7 +334,7 @@ mod tests { | 2 | 2 | +----------+--------------+ "# -); + ); Ok(()) } @@ -358,7 +358,7 @@ mod tests { | 1 | 1 | +----------+--------------+ "# -); + ); Ok(()) } @@ -382,7 +382,7 @@ mod tests { | 1 | 2 | +----------+--------------+ "# -); + ); Ok(()) } @@ -408,7 +408,7 @@ mod tests { | 1 | 1 | +----------+--------------+ "# -); + ); Ok(()) } diff --git a/datafusion/physical-plan/src/joins/hash_join.rs b/datafusion/physical-plan/src/joins/hash_join.rs index 74239f03f79c9..376c3590b88f0 100644 --- a/datafusion/physical-plan/src/joins/hash_join.rs +++ b/datafusion/physical-plan/src/joins/hash_join.rs @@ -2337,7 +2337,6 @@ mod tests { let stream = join.execute(0, task_ctx).unwrap(); let batches = common::collect(stream).await.unwrap(); - allow_duplicates! { assert_snapshot!(batches_to_sort_string(&batches), @r#" +----+----+----+----+----+----+ diff --git a/datafusion/physical-plan/src/unnest.rs b/datafusion/physical-plan/src/unnest.rs index 7dc30b6dbd7b8..c06b09f2fecd5 100644 --- a/datafusion/physical-plan/src/unnest.rs +++ b/datafusion/physical-plan/src/unnest.rs @@ -958,8 +958,8 @@ mod tests { }; use arrow::buffer::{NullBuffer, OffsetBuffer}; use arrow::datatypes::{Field, Int32Type}; - use insta::assert_snapshot; use datafusion_common::test_util::batches_to_string; + use insta::assert_snapshot; // Create a GenericListArray with the following list values: // [A, B, C], [], NULL, [D], NULL, [NULL, F] From 92edb3ad230e26ba4800a4ba9bce80a3f583e6f2 Mon Sep 17 00:00:00 2001 From: "Shreyas (Lua)" <157735854+Shreyaskr1409@users.noreply.github.com> Date: Wed, 19 Mar 2025 20:44:46 +0530 Subject: [PATCH 07/14] Update Cargo.toml --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5f054f4f93bd6..1cef4c1ba0910 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -166,7 +166,6 @@ sqlparser = { version = "0.54.0", features = ["visitor"] } tempfile = "3" tokio = { version = "1.43", features = ["macros", "rt", "sync"] } url = "2.5.4" -insta = { version = "1.41.1", features = ["glob", "filters"] } [profile.release] codegen-units = 1 From fdf5a03f8b3bdab31bf2b7ca041d84d6a5bdddc0 Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Wed, 19 Mar 2025 20:46:59 +0530 Subject: [PATCH 08/14] Revert any Cargo.lock changes --- Cargo.lock | 433 ++++++++++++++++++++++------------------------------- 1 file changed, 179 insertions(+), 254 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5d70ee243657a..f2c94e9bfaa77 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -199,9 +199,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.97" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" +checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" [[package]] name = "apache-avro" @@ -413,7 +413,7 @@ dependencies = [ "arrow-schema", "chrono", "half", - "indexmap 2.8.0", + "indexmap 2.7.1", "lexical-core", "num", "serde", @@ -452,7 +452,7 @@ version = "54.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85934a9d0261e0fa5d4e2a5295107d743b543a6e0484a835d4b8db2da15306f9" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", "serde", ] @@ -778,7 +778,7 @@ dependencies = [ "hex", "hmac", "http 0.2.12", - "http 1.3.1", + "http 1.2.0", "once_cell", "percent-encoding", "sha2", @@ -894,7 +894,7 @@ dependencies = [ "aws-smithy-types", "bytes", "http 0.2.12", - "http 1.3.1", + "http 1.2.0", "pin-project-lite", "tokio", "tracing", @@ -911,7 +911,7 @@ dependencies = [ "bytes", "bytes-utils", "http 0.2.12", - "http 1.3.1", + "http 1.2.0", "http-body 0.4.6", "http-body 1.0.1", "http-body-util", @@ -957,7 +957,7 @@ dependencies = [ "axum-core", "bytes", "futures-util", - "http 1.3.1", + "http 1.2.0", "http-body 1.0.1", "http-body-util", "itoa", @@ -983,7 +983,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http 1.3.1", + "http 1.2.0", "http-body 1.0.1", "http-body-util", "mime", @@ -1076,9 +1076,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.9.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" +checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" [[package]] name = "bitvec" @@ -1136,7 +1136,7 @@ dependencies = [ "futures-util", "hex", "home", - "http 1.3.1", + "http 1.2.0", "http-body-util", "hyper", "hyper-named-pipe", @@ -1315,9 +1315,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.2.16" +version = "1.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c" +checksum = "0c3d1b2e905a3a7b00a6141adb0e4c0bb941d11caf55349d863942a1cc44e3c9" dependencies = [ "jobserver", "libc", @@ -1506,9 +1506,9 @@ dependencies = [ [[package]] name = "console" -version = "0.15.11" +version = "0.15.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" +checksum = "ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041b" dependencies = [ "encode_unicode", "libc", @@ -1968,7 +1968,7 @@ dependencies = [ "chrono", "half", "hashbrown 0.14.5", - "indexmap 2.8.0", + "indexmap 2.7.1", "libc", "log", "object_store", @@ -2184,7 +2184,7 @@ dependencies = [ "datafusion-functions-window-common", "datafusion-physical-expr-common", "env_logger", - "indexmap 2.8.0", + "indexmap 2.7.1", "paste", "recursive", "serde_json", @@ -2197,7 +2197,7 @@ version = "46.0.1" dependencies = [ "arrow", "datafusion-common", - "indexmap 2.8.0", + "indexmap 2.7.1", "itertools 0.14.0", "paste", ] @@ -2367,7 +2367,7 @@ dependencies = [ "datafusion-physical-expr", "datafusion-sql", "env_logger", - "indexmap 2.8.0", + "indexmap 2.7.1", "itertools 0.14.0", "log", "recursive", @@ -2390,7 +2390,7 @@ dependencies = [ "datafusion-physical-expr-common", "half", "hashbrown 0.14.5", - "indexmap 2.8.0", + "indexmap 2.7.1", "itertools 0.14.0", "log", "paste", @@ -2452,8 +2452,7 @@ dependencies = [ "futures", "half", "hashbrown 0.14.5", - "indexmap 2.8.0", - "insta", + "indexmap 2.7.1", "itertools 0.14.0", "log", "parking_lot", @@ -2514,7 +2513,7 @@ dependencies = [ "datafusion-functions-nested", "datafusion-functions-window", "env_logger", - "indexmap 2.8.0", + "indexmap 2.7.1", "log", "paste", "recursive", @@ -2676,9 +2675,9 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dyn-clone" -version = "1.0.19" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" +checksum = "feeef44e73baff3a26d371801df019877a9866a8c493d315ab00177843314f35" [[package]] name = "educe" @@ -2694,9 +2693,9 @@ dependencies = [ [[package]] name = "either" -version = "1.15.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "encode_unicode" @@ -2806,13 +2805,13 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "fd-lock" -version = "4.0.4" +version = "4.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce92ff622d6dadf7349484f42c93271a0d49b7cc4d466a936405bacbe10aa78" +checksum = "7e5768da2206272c81ef0b5e951a41862938a6070da63bcea197899942d3b947" dependencies = [ "cfg-if", - "rustix 1.0.2", - "windows-sys 0.59.0", + "rustix 0.38.44", + "windows-sys 0.52.0", ] [[package]] @@ -2900,9 +2899,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "foldhash" -version = "0.1.5" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" [[package]] name = "form_urlencoded" @@ -3125,8 +3124,8 @@ dependencies = [ "fnv", "futures-core", "futures-sink", - "http 1.3.1", - "indexmap 2.8.0", + "http 1.2.0", + "indexmap 2.7.1", "slab", "tokio", "tokio-util", @@ -3135,9 +3134,9 @@ dependencies = [ [[package]] name = "half" -version = "2.5.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7db2ff139bba50379da6aa0766b52fdcb62cb5b263009b09ed58ba604e14bbd1" +checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" dependencies = [ "cfg-if", "crunchy", @@ -3191,9 +3190,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.5.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbd780fe5cc30f81464441920d82ac8740e2e46b29a6fad543ddd075229ce37e" +checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" [[package]] name = "hex" @@ -3232,9 +3231,9 @@ dependencies = [ [[package]] name = "http" -version = "1.3.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" +checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" dependencies = [ "bytes", "fnv", @@ -3259,27 +3258,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.3.1", + "http 1.2.0", ] [[package]] name = "http-body-util" -version = "0.1.3" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", - "futures-core", - "http 1.3.1", + "futures-util", + "http 1.2.0", "http-body 1.0.1", "pin-project-lite", ] [[package]] name = "httparse" -version = "1.10.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" +checksum = "f2d708df4e7140240a16cd6ab0ab65c972d7433ab77819ea693fde9c43811e2a" [[package]] name = "httpdate" @@ -3369,7 +3368,7 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.3.1", + "http 1.2.0", "http-body 1.0.1", "hyper", "pin-project-lite", @@ -3575,9 +3574,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.8.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" +checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" dependencies = [ "equivalent", "hashbrown 0.15.2", @@ -3599,9 +3598,9 @@ dependencies = [ [[package]] name = "indoc" -version = "2.0.6" +version = "2.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd" +checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" [[package]] name = "insta" @@ -3645,9 +3644,9 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "is-terminal" -version = "0.4.16" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" +checksum = "e19b23d53f35ce9f56aebc7d1bb4e6ac1e9c0db7ac85c8d1760c04379edced37" dependencies = [ "hermit-abi", "libc", @@ -3669,15 +3668,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.13.0" @@ -3698,9 +3688,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.15" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "jiff" @@ -3893,9 +3883,9 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", "libc", - "redox_syscall 0.5.10", + "redox_syscall 0.5.8", ] [[package]] @@ -3924,15 +3914,15 @@ checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" [[package]] name = "linux-raw-sys" -version = "0.9.3" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413" +checksum = "6db9c683daf087dc577b7506e9695b3d556a9f3849903fa28186283afd6809e9" [[package]] name = "litemap" -version = "0.7.5" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" +checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" [[package]] name = "lock_api" @@ -4034,9 +4024,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.5" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" +checksum = "b3b1c9bd4fe1f0f8b387f6eb9eb3b4a1aa26185e5750efb9140301703f62cd1b" dependencies = [ "adler2", ] @@ -4073,7 +4063,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", "cfg-if", "cfg_aliases", "libc", @@ -4233,15 +4223,15 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.21.1" +version = "1.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc" +checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" [[package]] name = "oorandom" -version = "11.1.5" +version = "11.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" +checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" [[package]] name = "openssl-probe" @@ -4272,9 +4262,9 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e" [[package]] name = "owo-colors" -version = "4.2.0" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" +checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" [[package]] name = "parking_lot" @@ -4294,7 +4284,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.10", + "redox_syscall 0.5.8", "smallvec", "windows-targets 0.52.6", ] @@ -4426,7 +4416,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" dependencies = [ "fixedbitset", - "indexmap 2.8.0", + "indexmap 2.7.1", ] [[package]] @@ -4469,18 +4459,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.10" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" +checksum = "dfe2e71e1471fe07709406bf725f710b02927c9c54b2b5b2ec0e8087d97c327d" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.10" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" +checksum = "f6e859e6e5bd50440ab63c47e3ebabc90f26251f7c73c3d3e837b74a1cc3fa67" dependencies = [ "proc-macro2", "quote", @@ -4501,9 +4491,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.32" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "plotters" @@ -4535,9 +4525,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.11.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" +checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6" [[package]] name = "portable-atomic-util" @@ -4599,11 +4589,11 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.21" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" dependencies = [ - "zerocopy 0.8.23", + "zerocopy 0.7.35", ] [[package]] @@ -4638,9 +4628,9 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.31" +version = "0.2.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5316f57387668042f561aae71480de936257848f9c43ce528e311d89a07cadeb" +checksum = "6924ced06e1f7dfe3fa48d57b9f74f55d8915f5036121bef647ef4b204895fac" dependencies = [ "proc-macro2", "syn 2.0.100", @@ -4648,9 +4638,9 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.3.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ "toml_edit", ] @@ -4681,9 +4671,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.94" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -4911,9 +4901,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.40" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" dependencies = [ "proc-macro2", ] @@ -4952,8 +4942,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94" dependencies = [ "rand_chacha 0.9.0", - "rand_core 0.9.3", - "zerocopy 0.8.23", + "rand_core 0.9.1", + "zerocopy 0.8.18", ] [[package]] @@ -4973,7 +4963,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core 0.9.3", + "rand_core 0.9.1", ] [[package]] @@ -4987,11 +4977,12 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.9.3" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +checksum = "a88e0da7a2c97baa202165137c158d0a2e824ac465d13d81046727b34cb247d3" dependencies = [ "getrandom 0.3.1", + "zerocopy 0.8.18", ] [[package]] @@ -5055,11 +5046,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.10" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1" +checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", ] [[package]] @@ -5144,9 +5135,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.12.14" +version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989e327e510263980e231de548a33e63d34962d29ae61b467389a1a09627a254" +checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" dependencies = [ "base64 0.22.1", "bytes", @@ -5190,9 +5181,9 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.14" +version = "0.17.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +checksum = "70ac5d832aa16abd7d1def883a8545280c20a60f523a370aa3a9617c2b8550ee" dependencies = [ "cc", "cfg-if", @@ -5328,7 +5319,7 @@ version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", "errno", "libc", "linux-raw-sys 0.4.15", @@ -5341,10 +5332,10 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7178faa4b75a30e269c71e61c353ce2748cf3d76f0c44c393f4e60abf49b825" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", "errno", "libc", - "linux-raw-sys 0.9.3", + "linux-raw-sys 0.9.2", "windows-sys 0.59.0", ] @@ -5352,7 +5343,7 @@ dependencies = [ name = "rustls" version = "0.23.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "822ee9188ac4ec04a2f0531e55d035fb2de73f18b41a63c70c2712503b6fb13c" +checksum = "47796c98c480fce5406ef69d1c76378375492c3b0a0de587be0c1d9feb12f395" dependencies = [ "aws-lc-rs", "once_cell", @@ -5407,9 +5398,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.20" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" +checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" [[package]] name = "rustyline" @@ -5417,7 +5408,7 @@ version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ee1e066dc922e513bda599c6ccb5f3bb2b0ea5870a579448f2622993f0a9a2f" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", "cfg-if", "clipboard-win", "fd-lock", @@ -5435,9 +5426,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.20" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" [[package]] name = "same-file" @@ -5459,9 +5450,9 @@ dependencies = [ [[package]] name = "schemars" -version = "0.8.22" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" +checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92" dependencies = [ "dyn-clone", "schemars_derive", @@ -5471,9 +5462,9 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.22" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" +checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e" dependencies = [ "proc-macro2", "quote", @@ -5527,9 +5518,9 @@ dependencies = [ [[package]] name = "seq-macro" -version = "0.3.6" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc" +checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" @@ -5542,9 +5533,9 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.17" +version = "0.11.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" +checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" dependencies = [ "serde", ] @@ -5585,9 +5576,9 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.20" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" +checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", @@ -5628,7 +5619,7 @@ dependencies = [ "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.8.0", + "indexmap 2.7.1", "serde", "serde_derive", "serde_json", @@ -5654,7 +5645,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.8.0", + "indexmap 2.7.1", "itoa", "ryu", "serde", @@ -5830,9 +5821,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "stacker" -version = "0.1.19" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9156ebd5870ef293bfb43f91c7a74528d363ec0d424afe24160ed5a4343d08a" +checksum = "1d08feb8f695b465baed819b03c128dc23f57a694510ab1f06c77f763975685e" dependencies = [ "cc", "cfg-if", @@ -5964,9 +5955,9 @@ dependencies = [ [[package]] name = "substrait" -version = "0.54.1" +version = "0.54.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090eba07eec4182f2ad1cf974c2b611b3adf328ecd1a181227df119502be3a84" +checksum = "93890ad613de815a5b76e38bc4a934b4012ebe197717c9dd6a17f7af8cf33dae" dependencies = [ "heck 0.5.0", "pbjson", @@ -6064,10 +6055,11 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" -version = "3.19.0" +version = "3.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488960f40a3fd53d72c2a29a58722561dee8afdd175bd88e3db4677d7b2ba600" +checksum = "2c317e0a526ee6120d8dabad239c8dadca62b24b6f168914bbbc8e2fb1f0e567" dependencies = [ + "cfg-if", "fastrand", "getrandom 0.3.1", "once_cell", @@ -6192,9 +6184,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.39" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad298b01a40a23aac4580b67e3dbedb7cc8402f3592d7f49469de2ea4aecdd8" +checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" dependencies = [ "deranged", "itoa", @@ -6207,15 +6199,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.3" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "765c97a5b985b7c11d7bc27fa927dc4fe6af3a6dfb021d28deb60d3bf51e76ef" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.20" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8093bc3e81c3bc5f7879de09619d06c9a5a5e45ca44dfeeb7225bae38005c5c" +checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" dependencies = [ "num-conv", "time-core", @@ -6252,9 +6244,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.9.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" +checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8" dependencies = [ "tinyvec_macros", ] @@ -6267,9 +6259,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.44.1" +version = "1.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a" +checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" dependencies = [ "backtrace", "bytes", @@ -6381,7 +6373,7 @@ version = "0.22.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" dependencies = [ - "indexmap 2.8.0", + "indexmap 2.7.1", "toml_datetime", "winnow", ] @@ -6612,9 +6604,9 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-ident" -version = "1.0.18" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" [[package]] name = "unicode-normalization" @@ -6651,9 +6643,9 @@ checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" [[package]] name = "unindent" -version = "0.2.4" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3" +checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" [[package]] name = "unsafe-libyaml" @@ -6922,7 +6914,7 @@ version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d" dependencies = [ - "redox_syscall 0.5.10", + "redox_syscall 0.5.8", "wasite", "web-sys", ] @@ -7011,21 +7003,15 @@ dependencies = [ "syn 2.0.100", ] -[[package]] -name = "windows-link" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3" - [[package]] name = "windows-registry" -version = "0.4.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" +checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" dependencies = [ - "windows-result 0.3.1", + "windows-result 0.2.0", "windows-strings", - "windows-targets 0.53.0", + "windows-targets 0.52.6", ] [[package]] @@ -7039,20 +7025,21 @@ dependencies = [ [[package]] name = "windows-result" -version = "0.3.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189" +checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" dependencies = [ - "windows-link", + "windows-targets 0.52.6", ] [[package]] name = "windows-strings" -version = "0.3.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" +checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" dependencies = [ - "windows-link", + "windows-result 0.2.0", + "windows-targets 0.52.6", ] [[package]] @@ -7106,29 +7093,13 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm 0.52.6", + "windows_i686_gnullvm", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] -[[package]] -name = "windows-targets" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" -dependencies = [ - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", -] - [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" @@ -7141,12 +7112,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" - [[package]] name = "windows_aarch64_msvc" version = "0.48.5" @@ -7159,12 +7124,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" -[[package]] -name = "windows_aarch64_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" - [[package]] name = "windows_i686_gnu" version = "0.48.5" @@ -7177,24 +7136,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" -[[package]] -name = "windows_i686_gnu" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" - [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" -[[package]] -name = "windows_i686_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" - [[package]] name = "windows_i686_msvc" version = "0.48.5" @@ -7207,12 +7154,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" -[[package]] -name = "windows_i686_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" - [[package]] name = "windows_x86_64_gnu" version = "0.48.5" @@ -7225,12 +7166,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" -[[package]] -name = "windows_x86_64_gnu" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" - [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" @@ -7243,12 +7178,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" - [[package]] name = "windows_x86_64_msvc" version = "0.48.5" @@ -7261,17 +7190,11 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" -[[package]] -name = "windows_x86_64_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" - [[package]] name = "winnow" -version = "0.7.4" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e97b544156e9bebe1a0ffbc03484fc1ffe3100cbce3ffb17eac35f7cdd7ab36" +checksum = "59690dea168f2198d1a3b0cac23b8063efcd11012f10ae4698f284808c8ef603" dependencies = [ "memchr", ] @@ -7282,7 +7205,7 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" dependencies = [ - "bitflags 2.9.0", + "bitflags 2.8.0", ] [[package]] @@ -7308,12 +7231,13 @@ dependencies = [ [[package]] name = "xattr" -version = "1.5.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d65cbf2f12c15564212d48f4e3dfb87923d25d611f2aed18f4cb23f0413d89e" +checksum = "e105d177a3871454f754b33bb0ee637ecaaac997446375fd3e5d43a2ed00c909" dependencies = [ "libc", - "rustix 1.0.2", + "linux-raw-sys 0.4.15", + "rustix 0.38.44", ] [[package]] @@ -7361,16 +7285,17 @@ version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ + "byteorder", "zerocopy-derive 0.7.35", ] [[package]] name = "zerocopy" -version = "0.8.23" +version = "0.8.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd97444d05a4328b90e75e503a34bad781f14e28a823ad3557f0750df1ebcbc6" +checksum = "79386d31a42a4996e3336b0919ddb90f81112af416270cff95b5f5af22b839c2" dependencies = [ - "zerocopy-derive 0.8.23", + "zerocopy-derive 0.8.18", ] [[package]] @@ -7386,9 +7311,9 @@ dependencies = [ [[package]] name = "zerocopy-derive" -version = "0.8.23" +version = "0.8.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6352c01d0edd5db859a63e2605f4ea3183ddbd15e2c4a9e7d32184df75e4f154" +checksum = "76331675d372f91bf8d17e13afbd5fe639200b73d01f0fc748bb059f9cca2db7" dependencies = [ "proc-macro2", "quote", @@ -7397,18 +7322,18 @@ dependencies = [ [[package]] name = "zerofrom" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" +checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" +checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", From aab955135fe96690885ecfe9b13a55d0a75bfd3c Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Thu, 20 Mar 2025 13:32:40 +0530 Subject: [PATCH 09/14] Clean workspace and attempt fixing failing build test --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.lock b/Cargo.lock index f2c94e9bfaa77..875f9588a0997 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2453,6 +2453,7 @@ dependencies = [ "half", "hashbrown 0.14.5", "indexmap 2.7.1", + "insta", "itertools 0.14.0", "log", "parking_lot", From e4569abd1862f130351b7d1b5540366e97c0e87b Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Thu, 20 Mar 2025 14:03:05 +0530 Subject: [PATCH 10/14] format Cargo.toml --- datafusion/physical-plan/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/physical-plan/Cargo.toml b/datafusion/physical-plan/Cargo.toml index e6617d671a742..c259391985e78 100644 --- a/datafusion/physical-plan/Cargo.toml +++ b/datafusion/physical-plan/Cargo.toml @@ -58,12 +58,12 @@ futures = { workspace = true } half = { workspace = true } hashbrown = { workspace = true } indexmap = { workspace = true } +insta = { workspace = true } itertools = { workspace = true, features = ["use_std"] } log = { workspace = true } parking_lot = { workspace = true } pin-project-lite = "^0.2.7" tokio = { workspace = true } -insta = { workspace = true } [dev-dependencies] criterion = { workspace = true, features = ["async_futures"] } From d67e82a5f50b17fd20ca936686cbf94e70f63dae Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Thu, 20 Mar 2025 20:51:21 +0530 Subject: [PATCH 11/14] Add insta as a dev-dependency instead --- datafusion/physical-plan/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/physical-plan/Cargo.toml b/datafusion/physical-plan/Cargo.toml index c259391985e78..1f38e2ed31263 100644 --- a/datafusion/physical-plan/Cargo.toml +++ b/datafusion/physical-plan/Cargo.toml @@ -58,7 +58,6 @@ futures = { workspace = true } half = { workspace = true } hashbrown = { workspace = true } indexmap = { workspace = true } -insta = { workspace = true } itertools = { workspace = true, features = ["use_std"] } log = { workspace = true } parking_lot = { workspace = true } @@ -69,6 +68,7 @@ tokio = { workspace = true } criterion = { workspace = true, features = ["async_futures"] } datafusion-functions-aggregate = { workspace = true } datafusion-functions-window = { workspace = true } +insta = { workspace = true } rand = { workspace = true } rstest = { workspace = true } rstest_reuse = "0.7.0" From dcc0a91eb084356be4143b03815352de78fae939 Mon Sep 17 00:00:00 2001 From: "Shreyas (Lua)" <157735854+Shreyaskr1409@users.noreply.github.com> Date: Fri, 21 Mar 2025 12:25:09 +0530 Subject: [PATCH 12/14] Update datafusion/physical-plan/src/aggregates/mod.rs Co-authored-by: Dmitrii Blaginin --- datafusion/physical-plan/src/aggregates/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/datafusion/physical-plan/src/aggregates/mod.rs b/datafusion/physical-plan/src/aggregates/mod.rs index 4ee030671e403..f23a37d703c09 100644 --- a/datafusion/physical-plan/src/aggregates/mod.rs +++ b/datafusion/physical-plan/src/aggregates/mod.rs @@ -1693,7 +1693,6 @@ mod tests { ); } - //assert_batches_sorted_eq!(&expected, &result); let metrics = merged_aggregate.metrics().unwrap(); let output_rows = metrics.output_rows().unwrap(); From e43b37748099e39b96b09c2885dba201cbbcf573 Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Sat, 22 Mar 2025 10:30:51 +0530 Subject: [PATCH 13/14] Preserved comments from aggregates/mod.rs --- datafusion/physical-plan/src/aggregates/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datafusion/physical-plan/src/aggregates/mod.rs b/datafusion/physical-plan/src/aggregates/mod.rs index f23a37d703c09..4d32ce137cebc 100644 --- a/datafusion/physical-plan/src/aggregates/mod.rs +++ b/datafusion/physical-plan/src/aggregates/mod.rs @@ -1799,6 +1799,8 @@ mod tests { | 4 | 3.6666666666666665 | +---+--------------------+ "); + // For row 2: 3, (2 + 3 + 2) / 3 + // For row 3: 4, (3 + 4 + 4) / 3 } let metrics = merged_aggregate.metrics().unwrap(); From e32565530fc05294e8ae1c02e3dea0b0375b17c2 Mon Sep 17 00:00:00 2001 From: Shreyaskr1409 Date: Sat, 22 Mar 2025 10:58:08 +0530 Subject: [PATCH 14/14] Resolved errors regarding dependencies and formatting --- Cargo.lock | 2 +- datafusion/physical-plan/src/aggregates/mod.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c64308968107a..9f9263e529034 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2457,7 +2457,7 @@ dependencies = [ "futures", "half", "hashbrown 0.14.5", - "indexmap 2.7.1", + "indexmap 2.8.0", "insta", "itertools 0.14.0", "log", diff --git a/datafusion/physical-plan/src/aggregates/mod.rs b/datafusion/physical-plan/src/aggregates/mod.rs index 27000d6e4c74b..8906468f68db2 100644 --- a/datafusion/physical-plan/src/aggregates/mod.rs +++ b/datafusion/physical-plan/src/aggregates/mod.rs @@ -1706,7 +1706,6 @@ mod tests { ); } - let metrics = merged_aggregate.metrics().unwrap(); let output_rows = metrics.output_rows().unwrap(); assert_eq!(12, output_rows);