emkornfield commented on a change in pull request #9387:
URL: https://github.com/apache/arrow/pull/9387#discussion_r568301287



##########
File path: 
java/flight/flight-core/src/main/java/org/apache/arrow/flight/ArrowMessage.java
##########
@@ -67,7 +67,17 @@
  */
 class ArrowMessage implements AutoCloseable {
 
-  public static final boolean FAST_PATH = true;
+  // If true, serialize Arrow data by giving gRPC a reference to the 
underlying Arrow buffer
+  // instead of copying the data. Defaults to true.
+  public static final boolean FAST_PATH;

Review comment:
       nit: maybe ZERO_COPY or DIRECT_TO_GRPC?

##########
File path: 
java/flight/flight-core/src/main/java/org/apache/arrow/flight/ArrowMessage.java
##########
@@ -67,7 +67,17 @@
  */
 class ArrowMessage implements AutoCloseable {
 
-  public static final boolean FAST_PATH = true;
+  // If true, serialize Arrow data by giving gRPC a reference to the 
underlying Arrow buffer
+  // instead of copying the data. Defaults to true.
+  public static final boolean FAST_PATH;

Review comment:
       BTW, thank you for the flag.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to