jiayuasu commented on code in PR #3200:
URL: https://github.com/apache/parquet-java/pull/3200#discussion_r2069981421


##########
parquet-column/src/main/java/org/apache/parquet/schema/PrimitiveStringifier.java:
##########
@@ -442,6 +445,21 @@ private void appendHex(byte[] array, int offset, int 
length, StringBuilder build
     }
   };
 
+  static final PrimitiveStringifier WKB_STRINGIFIER = new 
BinaryStringifierBase("WKB_STRINGIFIER") {

Review Comment:
   I believe it’s reasonable to add JTS as a dependency. Its license is 
compatible with the ASF, and it’s the most widely used geospatial library in 
the industry. The API is also very stable. [JTS has been around for over 20 
years](https://en.wikipedia.org/wiki/JTS_Topology_Suite).
   
   An alternative would be to implement a standalone WKB parser and maintain it 
within `parquet-java`, but that could introduce significant long-term 
maintenance overhead for the community.
   
   For context, the Parquet Geo C++ PR included a standalone WKB parser because 
(1) there isn’t a clean, well-maintained WKB parser in C++, and (2) Dewey had 
already implemented WKB parsing in C++ multiple times before.



-- 
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]

Reply via email to