paul-rogers commented on a change in pull request #1843: DRILL-7350: Move 
RowSet related classes from test folder
URL: https://github.com/apache/drill/pull/1843#discussion_r314397062
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/rowSet/DirectRowSet.java
 ##########
 @@ -45,21 +45,10 @@
 
 public class DirectRowSet extends AbstractSingleRowSet implements 
ExtendableRowSet {
 
-  public static class RowSetWriterBuilder extends BaseWriterBuilder {
-
-    public RowSetWriterBuilder(ColumnConversionFactory conversionFactory) {
-      super(conversionFactory);
-    }
-
-    public RowSetWriter buildWriter(DirectRowSet rowSet) {
-      WriterIndexImpl index = new WriterIndexImpl();
-      TupleMetadata schema = rowSet.schema();
-      RowSetWriterImpl writer = new RowSetWriterImpl(rowSet, schema, index,
-          buildContainerChildren(rowSet.container(),
-          new MetadataRetrieval(schema)));
-      return writer;
-    }
-  }
+  /**
+   * Initial row count, used for preliminary memory allocation.
+   */
+  public static final int INITIAL_ROW_COUNT = 10;
 
 Review comment:
   See note above about removal of nested class.

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


With regards,
Apache Git Services

Reply via email to