You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/04/25 04:07:30 UTC

[GitHub] [arrow] emkornfield commented on a change in pull request #6912: ARROW-8020: [Java] Implement vector validate functionality

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



##########
File path: java/vector/src/main/java/org/apache/arrow/vector/ValueVector.java
##########
@@ -283,4 +283,10 @@
    * @return the name of the vector.
    */
   String getName();
+
+  /**
+   * Validate the vector, will throw exception if validate fail.
+   */
+  void validate();

Review comment:
       Instead of adding this directly to ValueVector, can we make a static utility method that does validation and excepts a ValueVector?




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