-
Notifications
You must be signed in to change notification settings - Fork 505
ORC-1903: Support Geometry and Geography types
#2032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
java/core/src/java/org/apache/orc/impl/ColumnStatisticsImpl.java
Outdated
Show resolved
Hide resolved
java/core/src/java/org/apache/orc/impl/ColumnStatisticsImpl.java
Outdated
Show resolved
Hide resolved
|
Thanks for implementing this! I will hold my review until the spec has been finalized. |
java/pom.xml
Outdated
|
|
||
| <mockito.version>5.10.0</mockito.version> | ||
| <orc-format.version>1.0.0</orc-format.version> | ||
| <orc-format.version>1.0.0-SNAPSHOT</orc-format.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? AFAIK, we didn't change anything relevant until now, do we need -SNAPSHOT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the review. The spec of geometry type haven't been merged into orc format yet, so I created a private package for developing here. Maybe it's a little bit early for code reviewing, let's waiting for the spec finished first.
java/pom.xml
Outdated
| <surefire.version>3.0.0-M5</surefire.version> | ||
| <test.tmp.dir>${project.build.directory}/testing-tmp</test.tmp.dir> | ||
| <zstd-jni.version>1.5.6-4</zstd-jni.version> | ||
| <jts.version>1.19.0</jts.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be too old because it's released on Jun 21, 2022.
Why don't we use the latest one? Is there any incompatibility issue with something?
|
apache/parquet-format#240 is still under review and subject to change. I think we can wait until it has been finalized. @dongjoon-hyun |
|
Ya, I want to check ETA for this work. Do you think we can have this for Apache ORC 2.1? |
|
If 2.1.0 will be released around January 17, 2025, then I think yes. |
|
For the record, we can have this at Apache ORC 3.0.0. |
|
Yes, the discussion of Geometry type on the Iceberg and Parquet side took longer time than expected. I don't think it will be closed soon. Moving it to 3.0.0 seems reasonable. |
|
Thank you for the confirmation, @wgtmac . |
|
It seems that we are ready to release Apache ORC Format v1.1.0 to support this PR. |
|
Thank you so much! |
|
Thank you for updating PR, @ffacs . |
|
Thank you for updating, @ffacs . |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you so much, @ffacs .
cc @williamhyun , @wgtmac , @cxzl25 , @guiyanakuang
and cc @MrPowers , @mrpowers-wb, @jiayuasu from #2224
cxzl25
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thank you, @cxzl25 . |
|
Thank you @ffacs, @dongjoon-hyun, @wgtmac, and @cxzl25! |
|
Thank you, @williamhyun . |
|
Thank you @dongjoon-hyun @williamhyun @cxzl25 . |
### What changes were proposed in this pull request? This PR aims to upgrade ORC to 2.2.0. 2.2.0 RC1 is currently under voting. ### Why are the changes needed? Apache ORC 2.2.0 is a new feature release. - https://github.com/apache/orc/releases/tag/v2.2.0 - apache/orc#2032 - apache/orc#2338 - apache/orc#2269 - apache/orc#2249 - apache/orc#2144 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #51676 from williamhyun/ORC-2.2.0. Authored-by: William Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
Support
GeometryandGeographytypes for java sideWhy are the changes needed?
Add support for
GeometryandGeographytypesHow was this patch tested?
UT passed
Was this patch authored or co-authored using generative AI tooling?
YES