andygrove commented on code in PR #7249:
URL: https://github.com/apache/datafusion-comet/pull/7249#discussion_r4697638602
##########
native/Cargo.toml:
##########
@@ -85,9 +85,11 @@ aws-credential-types = "1.2.13"
aws-sdk-sts = { version = "1.114.0", default-features = false }
# Pinned to a revision rather than a release because no published iceberg-rust
# version is on our arrow: 0.10.1 requires arrow/parquet ^58. Move to a plain
-# version requirement once a release ships on arrow 59. Bump policy: #5645.
-iceberg = { git = "https://github.com/apache/iceberg-rust", rev =
"de0a6ac8471da43f63382d66fac27d7e56fd273e" }
-iceberg-storage-opendal = { git = "https://github.com/apache/iceberg-rust",
rev = "de0a6ac8471da43f63382d66fac27d7e56fd273e", features = ["opendal-memory",
"opendal-fs", "opendal-s3", "opendal-gcs", "opendal-oss", "opendal-azdls",
"opendal-hdfs-native"] }
+# version requirement once a release ships on arrow 60. Bump policy: #5645.
+# The next main revision, 986153c, moves iceberg-rust to opendal 0.59, which
needs
+# Comet's opendal and object_store_opendal to move with it.
Review Comment:
Dropped, and filed #7767 for moving iceberg-rust to opendal 0.59. The
description links it. (b5c92caa6b)
##########
native/comet-test-udfs/src/lib.rs:
##########
@@ -299,18 +299,30 @@ fn micros(arg: &ArrayRef) ->
Result<TimestampMicrosecondArray, String> {
Ok(arr.iter().collect::<TimestampMicrosecondArray>())
}
-/// `(Int64) -> Map(String, Int32)` built through arrow-rs's default
-/// [`MapBuilder`].
+/// `(Int64) -> Map(String, Int32)` built through a [`MapBuilder`] with
+/// explicit field names.
///
-/// That builder names the map's children `entries` / `keys` / `values`,
-/// where Comet's own Spark-to-Arrow conversion emits `entries` / `key` /
-/// `value`. Those names are positional in the Arrow format, so the two
-/// spellings have to be accepted interchangeably; this UDF is what proves
-/// it end to end, since `echo_c` hands back the map Comet gave it and so
-/// always carries Comet's own names.
+/// The names are `entries` / `keys` / `values`, which is what arrow-rs's
+/// default builder used before arrow 60 changed its default to `entries` /
+/// `key` / `value`. Comet's own Spark-to-Arrow conversion emits the latter.
+/// Those names are positional in the Arrow format, so the two spellings
+/// have to be accepted interchangeably; this UDF is what proves it end to
+/// end, since `echo_c` hands back the map Comet gave it and so always
+/// carries Comet's own names.
Review Comment:
Applied. (b5c92caa6b)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]