diff --git a/Cargo.lock b/Cargo.lock index 4bf25278bfa6..c281c9a0d2b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,20 +4,20 @@ version = 4 [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ - "gimli 0.28.1", + "gimli 0.29.0", ] [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ - "gimli 0.29.0", + "gimli 0.31.1", ] [[package]] @@ -286,7 +286,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44055e597c674aef7cb903b2b9f6e4cba1277ed0d2d61dae7cd52d7ffa81f8e2" dependencies = [ - "unicode-width", + "unicode-width 0.1.13", "yansi 1.0.1", ] @@ -566,7 +566,7 @@ dependencies = [ [[package]] name = "arrow-udf-js" version = "0.5.0" -source = "git+https://github.com/arrow-udf/arrow-udf?rev=80b09d6#80b09d67ee0c7b796bf7a492a71842ac64622406" +source = "git+https://github.com/arrow-udf/arrow-udf?rev=ade868f#ade868f7d40bfc8eda19aa1eca8f675c7ea29234" dependencies = [ "anyhow", "arrow-array", @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "arrow-udf-python" version = "0.4.0" -source = "git+https://github.com/arrow-udf/arrow-udf?rev=80b09d6#80b09d67ee0c7b796bf7a492a71842ac64622406" +source = "git+https://github.com/arrow-udf/arrow-udf?rev=ade868f#ade868f7d40bfc8eda19aa1eca8f675c7ea29234" dependencies = [ "anyhow", "arrow-array", @@ -592,8 +592,8 @@ dependencies = [ [[package]] name = "arrow-udf-wasm" -version = "0.4.0" -source = "git+https://github.com/arrow-udf/arrow-udf?rev=80b09d6#80b09d67ee0c7b796bf7a492a71842ac64622406" +version = "0.4.1" +source = "git+https://github.com/arrow-udf/arrow-udf?rev=ade868f#ade868f7d40bfc8eda19aa1eca8f675c7ea29234" dependencies = [ "anyhow", "arrow-array", @@ -601,7 +601,7 @@ dependencies = [ "arrow-schema", "async-trait", "base64 0.22.1", - "genawaiter", + "genawaiter2", "once_cell", "wasi-common", "wasmtime", @@ -1775,21 +1775,21 @@ dependencies = [ [[package]] name = "cap-fs-ext" -version = "3.2.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb23061fc1c4ead4e45ca713080fe768e6234e959f5a5c399c39eb41aa34e56e" +checksum = "7f78efdd7378980d79c0f36b519e51191742d2c9f91ffa5e228fba9f3806d2e1" dependencies = [ "cap-primitives", "cap-std", "io-lifetimes 2.0.3", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "cap-primitives" -version = "3.2.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d00bd8d26c4270d950eaaa837387964a2089a1c3c349a690a1fa03221d29531" +checksum = "8fc15faeed2223d8b8e8cc1857f5861935a06d06713c4ac106b722ae9ce3c369" dependencies = [ "ambient-authority", "fs-set-times", @@ -1797,16 +1797,16 @@ dependencies = [ "io-lifetimes 2.0.3", "ipnet", "maybe-owned", - "rustix 0.38.37", - "windows-sys 0.52.0", + "rustix 0.38.42", + "windows-sys 0.59.0", "winx", ] [[package]] name = "cap-rand" -version = "3.2.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbcb16a619d8b8211ed61f42bd290d2a1ac71277a69cf8417ec0996fa92f5211" +checksum = "dea13372b49df066d1ae654e5c6e41799c1efd9f6b36794b921e877ea4037977" dependencies = [ "ambient-authority", "rand", @@ -1814,27 +1814,27 @@ dependencies = [ [[package]] name = "cap-std" -version = "3.2.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19eb8e3d71996828751c1ed3908a439639752ac6bdc874e41469ef7fc15fbd7f" +checksum = "c3dbd3e8e8d093d6ccb4b512264869e1281cdb032f7940bd50b2894f96f25609" dependencies = [ "cap-primitives", "io-extras", "io-lifetimes 2.0.3", - "rustix 0.38.37", + "rustix 0.38.42", ] [[package]] name = "cap-time-ext" -version = "3.2.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61142dc51e25b7acc970ca578ce2c3695eac22bbba46c1073f5f583e78957725" +checksum = "bd736b20fc033f564a1995fb82fc349146de43aabba19c7368b4cb17d8f9ea53" dependencies = [ "ambient-authority", "cap-primitives", "iana-time-zone", "once_cell", - "rustix 0.38.37", + "rustix 0.38.42", "winx", ] @@ -2323,7 +2323,7 @@ dependencies = [ "crossterm", "strum 0.26.3", "strum_macros 0.26.4", - "unicode-width", + "unicode-width 0.1.13", ] [[package]] @@ -2350,7 +2350,7 @@ dependencies = [ "encode_unicode", "lazy_static", "libc", - "unicode-width", + "unicode-width 0.1.13", "windows-sys 0.52.0", ] @@ -2497,74 +2497,87 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad7096c10a285583f2ed620c0c85d7baf745922e33415290f2900b73319f1e0" +checksum = "2ba4f80548f22dc9c43911907b5e322c5555544ee85f785115701e6a28c9abe1" dependencies = [ "cranelift-entity", ] +[[package]] +name = "cranelift-bitset" +version = "0.114.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "005884e3649c3e5ff2dc79e8a94b138f11569cc08a91244a292714d2a86e9156" +dependencies = [ + "serde", + "serde_derive", +] + [[package]] name = "cranelift-codegen" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd0d5b0dcd4a4e18c6352304d76f1c63258b5b2c248fc261b89c3a02952d51ff" +checksum = "fe4036255ec33ce9a37495dfbcfc4e1118fd34e693eff9a1e106336b7cd16a9b" dependencies = [ "bumpalo", "cranelift-bforest", + "cranelift-bitset", "cranelift-codegen-meta", "cranelift-codegen-shared", "cranelift-control", "cranelift-entity", "cranelift-isle", - "gimli 0.28.1", + "gimli 0.31.1", "hashbrown 0.14.5", "log", "regalloc2", - "rustc-hash 1.1.0", + "rustc-hash 2.0.0", + "serde", "smallvec", "target-lexicon", ] [[package]] name = "cranelift-codegen-meta" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d14aa8551924931235a4eec42d561a8415d5a758267a549575a3fe0e13ba84f" +checksum = "f7ca74f4b68319da11d39e894437cb6e20ec7c2e11fbbda823c3bf207beedff7" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "315a326e9f63b996f55e93b73a9a239b55f2de1211fcfbcc99d9423f44dc6ded" +checksum = "897e54f433a0269c4187871aa06d452214d5515d228d5bdc22219585e9eef895" [[package]] name = "cranelift-control" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806ca69ca5aa8422035543444e1dc936f8f3e7f6854d562ef31db9fe30355c5c" +checksum = "29cb4018f5bf59fb53f515fa9d80e6f8c5ce19f198dc538984ebd23ecf8965ec" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9778487136bf37f9007920d9cb332a020e5d7259c1fbf35e625368eb88c7bfe" +checksum = "305399fd781a2953ac78c1396f02ff53144f39c33eb7fc7789cf4e8936d13a96" dependencies = [ + "cranelift-bitset", "serde", "serde_derive", ] [[package]] name = "cranelift-frontend" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55326cb3b61ca368210899a35892bca66aea4d75e8ceb5464e0539906c2ffb61" +checksum = "9230b460a128d53653456137751d27baf567947a3ab8c0c4d6e31fd08036d81e" dependencies = [ "cranelift-codegen", "log", @@ -2574,37 +2587,21 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4807df8ebad0106f207bcdc1f38199200ed175066b4122689e7f18e33ec8548c" +checksum = "b961e24ae3ec9813a24a15ae64bbd2a42e4de4d79a7f3225a412e3b94e78d1c8" [[package]] name = "cranelift-native" -version = "0.109.1" +version = "0.114.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91c24c076002cb6a926a3f7220040278c7178878cd9142a418ddef9ee5b84963" +checksum = "4d5bd76df6c9151188dfa428c863b33da5b34561b67f43c0cf3f24a794f9fa1f" dependencies = [ "cranelift-codegen", "libc", "target-lexicon", ] -[[package]] -name = "cranelift-wasm" -version = "0.109.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66ba3e8a666222d2df5a79a1279282c04545c4ca9712b7d85f4f54937617a533" -dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools 0.12.1", - "log", - "smallvec", - "wasmparser", - "wasmtime-types", -] - [[package]] name = "crc" version = "3.2.1" @@ -3066,7 +3063,7 @@ dependencies = [ "replace_with", "reqwest", "reqwest-hickory-resolver", - "rustix 0.38.37", + "rustix 0.38.42", "semver", "serde", "serde_json", @@ -5165,7 +5162,7 @@ dependencies = [ "parking_lot 0.12.3", "parquet", "rayon", - "rustix 0.38.37", + "rustix 0.38.42", "siphasher", "tempfile", ] @@ -6026,12 +6023,12 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -6197,7 +6194,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e5768da2206272c81ef0b5e951a41862938a6070da63bcea197899942d3b947" dependencies = [ "cfg-if", - "rustix 0.38.37", + "rustix 0.38.42", "windows-sys 0.52.0", ] @@ -6456,7 +6453,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "033b337d725b97690d86893f9de22b67b80dcc4e9ad815f348254c38119db8fb" dependencies = [ "io-lifetimes 2.0.3", - "rustix 0.38.37", + "rustix 0.38.42", "windows-sys 0.52.0", ] @@ -6476,7 +6473,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7e180ac76c23b45e767bd7ae9579bc0bb458618c4bc71835926e098e61d15f8" dependencies = [ - "rustix 0.38.37", + "rustix 0.38.42", "windows-sys 0.52.0", ] @@ -6656,30 +6653,28 @@ dependencies = [ ] [[package]] -name = "genawaiter" -version = "0.99.1" +name = "genawaiter2" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86bd0361bcbde39b13475e6e36cb24c329964aa2611be285289d1e4b751c1a0" +checksum = "a954504d991886b6891c97b37ca1bf87ad2174c2126d52cdb52bebea7b1c89e3" dependencies = [ - "genawaiter-macro", - "genawaiter-proc-macro", - "proc-macro-hack", + "genawaiter2-macro", + "genawaiter2-proc-macro", ] [[package]] -name = "genawaiter-macro" -version = "0.99.1" +name = "genawaiter2-macro" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b32dfe1fdfc0bbde1f22a5da25355514b5e450c33a6af6770884c8750aedfbc" +checksum = "c5cc2b187655aae60ff27f3978ffd192b9252c1a5905f53d3340e5836d8a539b" [[package]] -name = "genawaiter-proc-macro" -version = "0.99.1" +name = "genawaiter2-proc-macro" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784f84eebc366e15251c4a8c3acee82a6a6f427949776ecb88377362a9621738" +checksum = "91467b1ef9d0b102db5ebf041238f26879f49ac323459e16725991ef73e61d2d" dependencies = [ "proc-macro-error 0.4.12", - "proc-macro-hack", "proc-macro2", "quote", "syn 1.0.109", @@ -6791,7 +6786,7 @@ version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5" dependencies = [ - "unicode-width", + "unicode-width 0.1.13", ] [[package]] @@ -6817,17 +6812,6 @@ dependencies = [ "polyval", ] -[[package]] -name = "gimli" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -dependencies = [ - "fallible-iterator", - "indexmap 2.6.0", - "stable_deref_trait", -] - [[package]] name = "gimli" version = "0.29.0" @@ -7236,7 +7220,7 @@ dependencies = [ "itoa", "libc", "memmap2", - "rustix 0.38.37", + "rustix 0.38.42", "smallvec", "thiserror", ] @@ -7398,7 +7382,7 @@ dependencies = [ "gix-command", "gix-config-value", "parking_lot 0.12.3", - "rustix 0.38.37", + "rustix 0.38.42", "thiserror", ] @@ -7802,15 +7786,6 @@ dependencies = [ "ahash 0.7.8", ] -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash 0.8.11", -] - [[package]] name = "hashbrown" version = "0.14.5" @@ -8530,7 +8505,7 @@ dependencies = [ "instant", "number_prefix", "portable-atomic", - "unicode-width", + "unicode-width 0.1.13", ] [[package]] @@ -8633,12 +8608,12 @@ dependencies = [ [[package]] name = "io-extras" -version = "0.18.2" +version = "0.18.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9f046b9af244f13b3bd939f55d16830ac3a201e8a9ba9661bfcb03e2be72b9b" +checksum = "2285ddfe3054097ef4b2fe909ef8c3bcd1ea52a8f0d274416caebeef39f04a65" dependencies = [ "io-lifetimes 2.0.3", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -8731,9 +8706,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "ittapi" @@ -9140,9 +9115,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.158" +version = "0.2.169" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "libflate" @@ -9532,7 +9507,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.37", + "rustix 0.38.42", ] [[package]] @@ -11339,7 +11314,7 @@ dependencies = [ "flate2", "hex", "procfs-core", - "rustix 0.38.37", + "rustix 0.38.42", ] [[package]] @@ -11618,6 +11593,17 @@ dependencies = [ "psl-types", ] +[[package]] +name = "pulley-interpreter" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3b8d81cf799e20564931e9867ca32de545188c6ee4c2e0f6e41d32f0c7dc6fb" +dependencies = [ + "cranelift-bitset", + "log", + "sptr", +] + [[package]] name = "pyo3" version = "0.21.2" @@ -12035,13 +12021,13 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.9.3" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +checksum = "12908dbeb234370af84d0579b9f68258a0f67e201412dd9a2814e6f45b2fc0f0" dependencies = [ - "hashbrown 0.13.2", + "hashbrown 0.14.5", "log", - "rustc-hash 1.1.0", + "rustc-hash 2.0.0", "slice-group-by", "smallvec", ] @@ -12433,7 +12419,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc53b3a0e58f509a8b55bde278d44c05879f27a66819346e0fef193c6348e9f8" dependencies = [ "termcolor", - "unicode-width", + "unicode-width 0.1.13", ] [[package]] @@ -12536,9 +12522,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.37" +version = "0.38.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" +checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" dependencies = [ "bitflags 2.6.0", "errno", @@ -12546,7 +12532,7 @@ dependencies = [ "libc", "linux-raw-sys 0.4.14", "once_cell", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -12670,7 +12656,7 @@ dependencies = [ "nix 0.28.0", "radix_trie", "unicode-segmentation", - "unicode-width", + "unicode-width 0.1.13", "utf8parse", "windows-sys 0.52.0", ] @@ -13772,7 +13758,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "266d3fe7ffc582b3a0c3fe36cdc88d5635a1c2d53e7c3f813c901d7bd1d34ba0" dependencies = [ "memchr", - "unicode-width", + "unicode-width 0.1.13", ] [[package]] @@ -13991,7 +13977,7 @@ dependencies = [ "cap-std", "fd-lock", "io-lifetimes 2.0.3", - "rustix 0.38.37", + "rustix 0.38.42", "windows-sys 0.52.0", "winx", ] @@ -14175,7 +14161,7 @@ dependencies = [ "cfg-if", "fastrand", "once_cell", - "rustix 0.38.37", + "rustix 0.38.42", "windows-sys 0.59.0", ] @@ -14204,7 +14190,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef" dependencies = [ - "rustix 0.38.37", + "rustix 0.38.42", "windows-sys 0.59.0", ] @@ -14949,6 +14935,12 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" +[[package]] +name = "unicode-width" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" + [[package]] name = "unicode-xid" version = "0.2.4" @@ -15249,9 +15241,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasi-common" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13699fd52ab3df2a13b1903740f4ac636337178d15594cc690afbf954f1f384f" +checksum = "829f6c8c15912907b472bd9d195893bcdb1bde9cd8de55f134f6ab8aa507bf10" dependencies = [ "anyhow", "bitflags 2.6.0", @@ -15263,14 +15255,13 @@ dependencies = [ "io-extras", "io-lifetimes 2.0.3", "log", - "once_cell", - "rustix 0.38.37", + "rustix 0.38.42", "system-interface", "thiserror", "tracing", "wasmtime", "wiggle", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -15357,20 +15348,22 @@ checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wasm-encoder" -version = "0.209.1" +version = "0.219.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4a05336882dae732ce6bd48b7e11fe597293cb72c13da4f35d7d5f8d53b2a7" +checksum = "29cbbd772edcb8e7d524a82ee8cef8dd046fc14033796a754c3ad246d019fa54" dependencies = [ "leb128", + "wasmparser 0.219.1", ] [[package]] name = "wasm-encoder" -version = "0.215.0" +version = "0.221.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb56df3e06b8e6b77e37d2969a50ba51281029a9aeb3855e76b7f49b6418847" +checksum = "c17a3bd88f2155da63a1f2fcb8a56377a24f0b6dfed12733bb5f544e86f690c5" dependencies = [ "leb128", + "wasmparser 0.221.2", ] [[package]] @@ -15388,9 +15381,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.209.1" +version = "0.219.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07035cc9a9b41e62d3bb3a3815a66ab87c993c06fe1cf6b2a3f2a18499d937db" +checksum = "5c771866898879073c53b565a6c7b49953795159836714ac56a5befb581227c5" dependencies = [ "ahash 0.8.11", "bitflags 2.6.0", @@ -15400,31 +15393,44 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.221.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9845c470a2e10b61dd42c385839cdd6496363ed63b5c9e420b5488b77bd22083" +dependencies = [ + "bitflags 2.6.0", + "indexmap 2.6.0", + "semver", +] + [[package]] name = "wasmprinter" -version = "0.209.1" +version = "0.219.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceca8ae6eaa8c7c87b33c25c53bdf299f8c2a764aee1179402ff7652ef3a6859" +checksum = "228cdc1f30c27816da225d239ce4231f28941147d34713dee8f1fff7cb330e54" dependencies = [ "anyhow", - "wasmparser", + "termcolor", + "wasmparser 0.219.1", ] [[package]] name = "wasmtime" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9de397b45aa057cbadd8fbef22227779ef05121d9f47ac55c9a1ff77e0c29695" +checksum = "5b79302e3e084713249cc5622e8608e7410afdeeea8c8026d04f491d1fab0b4b" dependencies = [ - "addr2line 0.21.0", + "addr2line 0.24.2", "anyhow", "async-trait", + "bitflags 2.6.0", "bumpalo", "cc", "cfg-if", "encoding_rs", "fxprof-processed-profile", - "gimli 0.28.1", + "gimli 0.31.1", "hashbrown 0.14.5", "indexmap 2.6.0", "ittapi", @@ -15433,14 +15439,14 @@ dependencies = [ "log", "mach2", "memfd", - "memoffset", "object", "once_cell", "paste", "postcard", "psm", + "pulley-interpreter", "rayon", - "rustix 0.38.37", + "rustix 0.38.42", "semver", "serde", "serde_derive", @@ -15448,8 +15454,8 @@ dependencies = [ "smallvec", "sptr", "target-lexicon", - "wasm-encoder 0.209.1", - "wasmparser", + "wasm-encoder 0.219.1", + "wasmparser 0.219.1", "wasmtime-asm-macros", "wasmtime-cache", "wasmtime-component-macro", @@ -15463,43 +15469,43 @@ dependencies = [ "wasmtime-versioned-export-macros", "wasmtime-winch", "wat", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "wasmtime-asm-macros" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "379c81227d624024d8b950a9eb7fc48671f77fff368e021d9b6f16c83a650369" +checksum = "fe53a24e7016a5222875d8ca3ad6024b464465985693c42098cd0bb710002c28" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cache" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0263fb2e1174e72a69766f2d38bf02060d4a240fc732cc0c7a6eed2d10f3d6c5" +checksum = "0677a7e76c24746b68e3657f7cc50c0ff122ee7e97bbda6e710c1b790ebc93cb" dependencies = [ "anyhow", "base64 0.21.7", "directories-next", "log", "postcard", - "rustix 0.38.37", + "rustix 0.38.42", "serde", "serde_derive", "sha2", "toml 0.8.19", - "windows-sys 0.52.0", + "windows-sys 0.59.0", "zstd 0.13.2", ] [[package]] name = "wasmtime-component-macro" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f579efa3807fc05078939d001e9295f3ab65613345fa7fe0c19875129aabae4" +checksum = "e118acbd2bc09b32ad8606bc7cef793bf5019c1b107772e64dc6c76b5055d40b" dependencies = [ "anyhow", "proc-macro2", @@ -15512,15 +15518,15 @@ dependencies = [ [[package]] name = "wasmtime-component-util" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e935348dec39c79e895f80dd9ea7726b0c9059ef6210deae0c58e7e327422adc" +checksum = "4a6db4f3ee18c699629eabb9c64e77efe5a93a5137f098db7cab295037ba41c2" [[package]] name = "wasmtime-cranelift" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e8ec68af53f896a8c98ce7c540762686239b6b81f83d95ef2a074d8b0d67443" +checksum = "8b87e6c78f562b50aff1afd87ff32a57e241424c846c1c8f3c5fd352d2d62906" dependencies = [ "anyhow", "cfg-if", @@ -15529,105 +15535,94 @@ dependencies = [ "cranelift-entity", "cranelift-frontend", "cranelift-native", - "cranelift-wasm", - "gimli 0.28.1", + "gimli 0.31.1", + "itertools 0.12.1", "log", "object", + "smallvec", "target-lexicon", "thiserror", - "wasmparser", + "wasmparser 0.219.1", "wasmtime-environ", "wasmtime-versioned-export-macros", ] [[package]] name = "wasmtime-environ" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e41bba8b753ccb9426986b106fa03820bc04e097f02e09f28ce85ca0191d7db0" +checksum = "c25bfeaa16432d59a0706e2463d315ef4c9ebcfaf5605670b99d46373bdf9f27" dependencies = [ "anyhow", "cpp_demangle", + "cranelift-bitset", "cranelift-entity", - "gimli 0.28.1", + "gimli 0.31.1", "indexmap 2.6.0", "log", "object", "postcard", "rustc-demangle", + "semver", "serde", "serde_derive", + "smallvec", "target-lexicon", - "wasm-encoder 0.209.1", - "wasmparser", + "wasm-encoder 0.219.1", + "wasmparser 0.219.1", "wasmprinter", "wasmtime-component-util", - "wasmtime-types", ] [[package]] name = "wasmtime-fiber" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "347ca97a2b4d5f957ab29a0b128b4c58b420bbd5f34f04bf288ed2908a26f494" +checksum = "759ab0caa3821a6211743fe1eed448ab9df439e3af6c60dea15486c055611806" dependencies = [ "anyhow", "cc", "cfg-if", - "rustix 0.38.37", + "rustix 0.38.42", "wasmtime-asm-macros", "wasmtime-versioned-export-macros", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "wasmtime-jit-debug" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eb2b7545bf13c125d007fd1808cf4c6fb4688258e47f7a3ea96ffc04d173a15" +checksum = "ab2a056056e9ac6916c2b8e4743408560300c1355e078c344211f13210d449b3" dependencies = [ "object", - "once_cell", - "rustix 0.38.37", + "rustix 0.38.42", "wasmtime-versioned-export-macros", ] [[package]] name = "wasmtime-jit-icache-coherence" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0e7ccd55d5dfff4fb7abc889137c5af6531ad57bbd5890651f7e22533a61c7d" +checksum = "91b218a92866f74f35162f5d03a4e0f62cd0e1cc624285b1014275e5d4575fad" dependencies = [ "anyhow", "cfg-if", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "wasmtime-slab" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7df4e5141e11e6f12330450d97f289ccc8f7de2d3c2db7c46252ccd95d78f093" - -[[package]] -name = "wasmtime-types" -version = "22.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2017ea47e7a91440f94cc29f5f41d303e80f979a5384bf560d4b0afdabe32d0" -dependencies = [ - "cranelift-entity", - "serde", - "serde_derive", - "smallvec", - "wasmparser", -] +checksum = "4d5f8acf677ee6b3b8ba400dd9753ea4769e56a95c4b30b045ac6d2d54b2f8ea" [[package]] name = "wasmtime-versioned-export-macros" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455fc30062a08ba6a9c2ccc6e8c76ea2759d01324d3548324f5d38257d0e8d96" +checksum = "df09be00c38f49172ca9936998938476e3f2df782673a39ae2ef9fb0838341b6" dependencies = [ "proc-macro2", "quote", @@ -15636,16 +15631,16 @@ dependencies = [ [[package]] name = "wasmtime-winch" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de67dfca76c725b17179185c6ce2d78766656e150b86773b4ddbd2257240ef57" +checksum = "89d6b5297bea14d8387c3974b2b011de628cc9b188f135cec752b74fd368964b" dependencies = [ "anyhow", "cranelift-codegen", - "gimli 0.28.1", + "gimli 0.31.1", "object", "target-lexicon", - "wasmparser", + "wasmparser 0.219.1", "wasmtime-cranelift", "wasmtime-environ", "winch-codegen", @@ -15653,12 +15648,12 @@ dependencies = [ [[package]] name = "wasmtime-wit-bindgen" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6b893eec1dbf19e20beb6f2821ddd9672978db0e7c00ab8bb628afaad823783" +checksum = "bf3963c9c29df91564d8bd181eb00d0dbaeafa1b2a01e15952bb7391166b704e" dependencies = [ "anyhow", - "heck 0.4.1", + "heck 0.5.0", "indexmap 2.6.0", "wit-parser", ] @@ -15674,24 +15669,24 @@ dependencies = [ [[package]] name = "wast" -version = "215.0.0" +version = "221.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ff1d00d893593249e60720be04a7c1f42f1c4dc3806a2869f4e66ab61eb54cb" +checksum = "fcc4470b9de917ba199157d1f0ae104f2ae362be728c43e68c571c7715bd629e" dependencies = [ "bumpalo", "leb128", "memchr", - "unicode-width", - "wasm-encoder 0.215.0", + "unicode-width 0.2.0", + "wasm-encoder 0.221.2", ] [[package]] name = "wat" -version = "1.215.0" +version = "1.221.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670bf4d9c8cf76ae242d70ded47c546525b6dafaa6871f9bcb065344bf2b4e3d" +checksum = "6b1f3c6d82af47286494c6caea1d332037f5cbeeac82bbf5ef59cb8c201c466e" dependencies = [ - "wast 215.0.0", + "wast 221.0.2", ] [[package]] @@ -15741,9 +15736,9 @@ checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" [[package]] name = "wiggle" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "295be9884e59f55bb5073bb1076b464e7b966c618721406318b23b38dcb68245" +checksum = "80e0f6ef83a263c0fa11957c363aeaa76dc84832484d0e119f22810d4d0e09a7" dependencies = [ "anyhow", "async-trait", @@ -15756,12 +15751,12 @@ dependencies = [ [[package]] name = "wiggle-generate" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a164f3ec354726e58b88e008d7b3e1f04fe157ab60e8b3e3c1433ceab2e97041" +checksum = "dd266b290a0fdace3af6a05c6ebbcc54de303a774448ecf5a98cd0bc12d89c52" dependencies = [ "anyhow", - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "shellexpand", @@ -15771,9 +15766,9 @@ dependencies = [ [[package]] name = "wiggle-macro" -version = "22.0.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b99d96cf58ead37d095314e8d47a34b995bb50495c4866ec03fa468e0075d2" +checksum = "9b8eb1a5783540696c59cefbfc9e52570c2d5e62bd47bdf0bdcef29231879db2" dependencies = [ "proc-macro2", "quote", @@ -15820,17 +15815,17 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "winch-codegen" -version = "0.20.1" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b51d823bdea98f7ce9db47909f1c543b5ae253d3df1aebf7ba3c0f25444daef2" +checksum = "8b42b678c8651ec4900d7600037d235429fc985c31cbc33515885ec0d2a9e158" dependencies = [ "anyhow", "cranelift-codegen", - "gimli 0.28.1", + "gimli 0.31.1", "regalloc2", "smallvec", "target-lexicon", - "wasmparser", + "wasmparser 0.219.1", "wasmtime-cranelift", "wasmtime-environ", ] @@ -16142,9 +16137,9 @@ dependencies = [ [[package]] name = "wit-parser" -version = "0.209.1" +version = "0.219.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e79b9e3c0b6bb589dec46317e645851e0db2734c44e2be5e251b03ff4a51269" +checksum = "4a86f669283257e8e424b9a4fc3518e3ade0b95deb9fbc0f93a1876be3eda598" dependencies = [ "anyhow", "id-arena", @@ -16155,7 +16150,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser", + "wasmparser 0.219.1", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7cd1a9463d57..9e80dc0432e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -212,9 +212,9 @@ arrow-ipc = { version = "53" } arrow-ord = { version = "53" } arrow-schema = { version = "53", features = ["serde"] } arrow-select = { version = "53" } -arrow-udf-js = { git = "https://github.com/arrow-udf/arrow-udf", rev = "80b09d6" } -arrow-udf-python = { git = "https://github.com/arrow-udf/arrow-udf", rev = "80b09d6" } -arrow-udf-wasm = { git = "https://github.com/arrow-udf/arrow-udf", rev = "80b09d6" } +arrow-udf-js = { version = "0.5.0" } +arrow-udf-python = { version = "0.4.0" } +arrow-udf-wasm = { version = "0.4.1" } async-backtrace = "0.2" async-channel = "1.7.1" async-compression = { git = "https://github.com/datafuse-extras/async-compression", rev = "dc81082", features = [ @@ -609,6 +609,9 @@ overflow-checks = true rpath = false [patch.crates-io] +arrow-udf-js = { git = "https://github.com/arrow-udf/arrow-udf", rev = "ade868f" } +arrow-udf-python = { git = "https://github.com/arrow-udf/arrow-udf", rev = "ade868f" } +arrow-udf-wasm = { git = "https://github.com/arrow-udf/arrow-udf", rev = "ade868f" } async-backtrace = { git = "https://github.com/datafuse-extras/async-backtrace.git", rev = "dea4553" } async-recursion = { git = "https://github.com/datafuse-extras/async-recursion.git", rev = "a353334" } backtrace = { git = "https://github.com/rust-lang/backtrace-rs.git", rev = "72265be", features = [ diff --git a/tests/data/udf/to_array.js b/tests/data/udf/to_array.js new file mode 100644 index 000000000000..102af8911324 --- /dev/null +++ b/tests/data/udf/to_array.js @@ -0,0 +1,6 @@ +export function to_array_js(x) { + if(x == null) { + return null; + } + return [x, x*2]; +} diff --git a/tests/sqllogictests/src/mock_source/mysql_source.rs b/tests/sqllogictests/src/mock_source/mysql_source.rs index 1c20812c1d4e..bf4bafdc02d5 100644 --- a/tests/sqllogictests/src/mock_source/mysql_source.rs +++ b/tests/sqllogictests/src/mock_source/mysql_source.rs @@ -39,7 +39,7 @@ pub fn run_mysql_source() { let listener = TcpListener::bind("0.0.0.0:3106").unwrap(); // Create a thread pool - let pool = ThreadPool::new(32); + let pool = ThreadPool::new(256); let backend = Backend::create(); loop { diff --git a/tests/sqllogictests/suites/udf_native/03_0001_udf_js.test b/tests/sqllogictests/suites/udf_native/03_0001_udf_js.test index c963c8c2600a..cfb66e6fe370 100644 --- a/tests/sqllogictests/suites/udf_native/03_0001_udf_js.test +++ b/tests/sqllogictests/suites/udf_native/03_0001_udf_js.test @@ -27,4 +27,16 @@ select number, gcd_js_v2(number * 3, number * 6) from numbers(5) where number > 1 3 2 6 3 9 -4 12 \ No newline at end of file +4 12 + +statement ok +CREATE OR REPLACE FUNCTION to_array_js (INT) RETURNS ARRAY(INT) LANGUAGE javascript HANDLER = 'to_array_js' AS '@data/udf/to_array.js' + +query IT +select number, to_array_js(number) from numbers(5) +---- +0 [0,0] +1 [1,2] +2 [2,4] +3 [3,6] +4 [4,8]