You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "zhangfengcdt (via GitHub)" <gi...@apache.org> on 2025/10/23 20:12:55 UTC
[PR] Chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
zhangfengcdt opened a new pull request, #237:
URL: https://github.com/apache/sedona-db/pull/237
(no comment)
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "zhangfengcdt (via GitHub)" <gi...@apache.org>.
zhangfengcdt commented on code in PR #237:
URL: https://github.com/apache/sedona-db/pull/237#discussion_r2466988729
##########
rust/sedona/src/show.rs:
##########
@@ -252,7 +252,8 @@ impl<'a> DisplayTable<'a> {
}
}
- table.set_truncation_indicator(self.truncation_indicator());
+ // TODO: set_truncation_indicator method was removed in comfy_table 7.x
+ // table.set_truncation_indicator(self.truncation_indicator());
Review Comment:
Upgrade it to 7.1.4 solves the issue now.
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on PR #237:
URL: https://github.com/apache/sedona-db/pull/237#issuecomment-3439104853
It might be good to go straight to https://github.com/apache/datafusion/pull/17888 (since we'll need it for Geometry/Geography support in Parquet), although if you need this version as an intermediary that's ok too!
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "zhangfengcdt (via GitHub)" <gi...@apache.org>.
zhangfengcdt commented on code in PR #237:
URL: https://github.com/apache/sedona-db/pull/237#discussion_r2466990064
##########
rust/sedona/src/show.rs:
##########
@@ -495,6 +496,7 @@ impl DisplayColumn {
arg_fields,
number_rows: array.len(),
return_field,
+ config_options: Arc::new(ConfigOptions::default()),
Review Comment:
Same as above, todo links to https://github.com/apache/sedona-db/issues/248
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "zhangfengcdt (via GitHub)" <gi...@apache.org>.
zhangfengcdt commented on PR #237:
URL: https://github.com/apache/sedona-db/pull/237#issuecomment-3439141816
> It might be good to go straight to [apache/datafusion#17888](https://github.com/apache/datafusion/pull/17888) (since we'll need it for Geometry/Geography support in Parquet), although if you need this version as an intermediary that's ok too!
I will need the dafafusion v50.2.0 to unblock merging upstream for https://github.com/wherobots/sedona-glue/pull/50.
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "zhangfengcdt (via GitHub)" <gi...@apache.org>.
zhangfengcdt commented on code in PR #237:
URL: https://github.com/apache/sedona-db/pull/237#discussion_r2466987280
##########
rust/sedona-geoparquet/src/writer.rs:
##########
@@ -230,6 +232,7 @@ fn project_bboxes(
bbox_udf.clone(),
vec![column],
Arc::new(Field::new("", bbox_type(), true)),
+ Arc::new(ConfigOptions::default()),
Review Comment:
Ok, I have added todo for these config options linked to this issue: https://github.com/apache/sedona-db/issues/248
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "Kontinuation (via GitHub)" <gi...@apache.org>.
Kontinuation commented on code in PR #237:
URL: https://github.com/apache/sedona-db/pull/237#discussion_r2467829977
##########
rust/sedona-geoparquet/src/writer.rs:
##########
@@ -230,6 +232,7 @@ fn project_bboxes(
bbox_udf.clone(),
vec![column],
Arc::new(Field::new("", bbox_type(), true)),
+ Arc::new(ConfigOptions::default()),
Review Comment:
This API change is pretty interesting. This enables many use cases, such as selecting the spatial library to use by setting DataFusion configurations.
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "zhangfengcdt (via GitHub)" <gi...@apache.org>.
zhangfengcdt merged PR #237:
URL: https://github.com/apache/sedona-db/pull/237
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: Upgrade Datafusion (v50) and Arrow (v56) dependencies [sedona-db]
Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on code in PR #237:
URL: https://github.com/apache/sedona-db/pull/237#discussion_r2466776516
##########
rust/sedona/src/show.rs:
##########
@@ -495,6 +496,7 @@ impl DisplayColumn {
arg_fields,
number_rows: array.len(),
return_field,
+ config_options: Arc::new(ConfigOptions::default()),
Review Comment:
This is a place where we should really pipe in the actual config options. I think we have a reference this a few levels up, but if it's too hard feel free to open up a follow-up ticket (and link to it in a comment here).
##########
rust/sedona-geoparquet/Cargo.toml:
##########
@@ -46,6 +46,7 @@ chrono = { workspace = true }
datafusion = { workspace = true, features = ["parquet"] }
datafusion-catalog = { workspace = true }
datafusion-common = { workspace = true }
+datafusion-datasource-parquet = "50.2.0"
Review Comment:
```suggestion
datafusion-datasource-parquet = { workspace = true }
```
(...and add this to the top-level Cargo.toml)
##########
rust/sedona-geoparquet/src/writer.rs:
##########
@@ -230,6 +232,7 @@ fn project_bboxes(
bbox_udf.clone(),
vec![column],
Arc::new(Field::new("", bbox_type(), true)),
+ Arc::new(ConfigOptions::default()),
Review Comment:
We're calling a very specific UDF here and so I think this is OK, but worth at least adding a comment here that we could provide the real `ConfigOptions` by piping the `Session` through here (we have a reference a few levels up).
##########
rust/sedona/src/show.rs:
##########
@@ -252,7 +252,8 @@ impl<'a> DisplayTable<'a> {
}
}
- table.set_truncation_indicator(self.truncation_indicator());
+ // TODO: set_truncation_indicator method was removed in comfy_table 7.x
+ // table.set_truncation_indicator(self.truncation_indicator());
Review Comment:
Feel free to open up a follow-up ticket and link to it in this comment if it can't be solved here.
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org