You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2019/04/03 02:11:09 UTC

[GitHub] [drill] paul-rogers commented on a change in pull request #1726: DRILL-7143: Support default value for empty columns

paul-rogers commented on a change in pull request #1726: DRILL-7143: Support default value for empty columns
URL: https://github.com/apache/drill/pull/1726#discussion_r271557119
 
 

 ##########
 File path: exec/vector/src/main/java/org/apache/drill/exec/vector/accessor/impl/VectorPrinter.java
 ##########
 @@ -33,7 +32,10 @@
   public static void printOffsets(UInt4Vector vector, int start, int length) {
     header(vector, start, length);
     for (int i = start, j = 0; j < length; i++, j++) {
-      if (j > 0) {
+      if (j % 40 == 0) {
 
 Review comment:
   Before this change, I had a vector of 1000 items all on one line. After this change, the output is 40 elements per line. Note that this code is used only during debugging.

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


With regards,
Apache Git Services