emkornfield commented on a change in pull request #7289:
URL: https://github.com/apache/arrow/pull/7289#discussion_r433647053
##########
File path: java/README.md
##########
@@ -80,8 +80,12 @@ variable are set, the system property takes precedence.
## Java Properties
-For java 9 or later, should set "-Dio.netty.tryReflectionSetAccessible=true".
+ * For java 9 or later, should set
"-Dio.netty.tryReflectionSetAccessible=true".
This fixes `java.lang.UnsupportedOperationException: sun.misc.Unsafe or
java.nio.DirectByteBuffer.(long, int) not available`. thrown by netty.
+ * To support duplicate fields in a `StructVector` enable
"-Darrow.struct.conflict.policy=CONFLICT_APPEND".
Review comment:
we've been using the policy that java properties should also be settable
via environment variable (I believe in some context environment variables are
easier to set).
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]