[ 
https://issues.apache.org/jira/browse/DRILL-7442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972337#comment-16972337
 ] 

ASF GitHub Bot commented on DRILL-7442:
---------------------------------------

vvysotskyi commented on pull request #1897: DRILL-7442: Create multi-batch row 
set reader
URL: https://github.com/apache/drill/pull/1897#discussion_r345162309
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/rowSet/RowSetPrinter.java
 ##########
 @@ -0,0 +1,126 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.exec.physical.rowSet;
+
+import java.io.PrintStream;
+
+import org.apache.drill.exec.physical.impl.protocol.BatchAccessor;
+import org.apache.drill.exec.record.BatchSchema.SelectionVectorMode;
+import org.apache.drill.exec.record.RecordBatch;
+import org.apache.drill.exec.record.VectorContainer;
+import org.apache.drill.exec.record.metadata.ColumnMetadata;
+import org.apache.drill.exec.record.metadata.TupleMetadata;
+
+/**
+ * Print a row set in CSV-like format. Primarily for debugging.
+ */
+
+public class RowSetPrinter {
 
 Review comment:
   We have `RowSetFormatter` class which returns a string representation of 
`RowSet`. Is it possible to reuse that class instead of introducing the new one?
 
----------------------------------------------------------------
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


> Create multi-batch row set reader
> ---------------------------------
>
>                 Key: DRILL-7442
>                 URL: https://issues.apache.org/jira/browse/DRILL-7442
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Minor
>
> The "row set" work provided a {{RowSetWriter}} and {{RowSetReader}} to write 
> to and read from a single batch. The {{ResultSetLoader}} class provided a 
> writer that spans multiple batches, handling schema changes across batches 
> and so on.
> This ticket introduces a reader equivalent, the {{ResultSetReader}} that 
> reads an entire result set of multiple batches, handling schema changes along 
> the way.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to