[
https://issues.apache.org/jira/browse/IMPALA-15160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101726#comment-18101726
]
ASF subversion and git services commented on IMPALA-15160:
----------------------------------------------------------
Commit ae81daed38448fe9973910a49b46239a424b7dc5 in impala's branch
refs/heads/master from Csaba Ringhofer
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=ae81daed3 ]
IMPALA-15160: Add WKB_EXPERIMENTAL geospatial serialization mode
Add WKB_EXPERIMENTAL as a new value for the --geospatial_library flag.
When enabled, the copied ESRI UDFs serialize geometries as OGC
Well-Known Binary instead of the ESRI Shape format. The format is
chosen at startup via a static member in GeometryUtils.
The flag must be consistently set up in coordinators and executors.
Key behavioral differences in WKB mode:
1. Native C++ functions are disabled, all functions run in Java.
The plan is to implement most functions in c++ in the future
with WKB serialiation.
2. WKB doesn't store SRID, a serialization roundtrip sets it to 0.
3. Higher dimension geometry support is dropped. WKB could store them,
but not supporting these rare cases for now makes implementing and
testing c++ functions easier.
4. Relational functions (ST_Intersects, ST_Contains, ...) accept only
(BINARY, BINARY) arguments; the STRING overloads are removed
Other changes:
- Deserialized geometry caching logic is removed - this was never
working in Impala environment which always uses the same ByteBuffer.
Change-Id: Ifbb1b91171bf9a8834a55443d4a19518b38b759e
Assisted-by: Claude Opus 4.8
Reviewed-on: http://gerrit.cloudera.org:8080/24549
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> GEOMETRY step 1: Allow using WKB as internal format
> ---------------------------------------------------
>
> Key: IMPALA-15160
> URL: https://issues.apache.org/jira/browse/IMPALA-15160
> Project: IMPALA
> Issue Type: Sub-task
> Components: Frontend
> Reporter: Csaba Ringhofer
> Assignee: Csaba Ringhofer
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]