[GitHub] [drill] paul-rogers commented on a change in pull request #1843: DRILL-7350: Move RowSet related classes from test folder
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_r314967436 ## File path: exec/java-exec/src/main/java/org/apache/drill/exec/physical/rowSet/RowSetWriterImpl.java ## @@ -129,7 +129,7 @@ public RowSetWriter addRow(Object...values) { @Override public RowSetWriter addSingleCol(Object value) { -return addRow(new Object[] {value}); +return addRow(value); Review comment: Thanks for the explanation, makes sense. 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
[GitHub] [drill] paul-rogers commented on a change in pull request #1843: DRILL-7350: Move RowSet related classes from test folder
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_r314967421 ## File path: exec/java-exec/src/test/java/org/apache/drill/exec/store/log/TestLogReader.java ## @@ -781,9 +781,19 @@ public void testPluginSerialization() throws IOException { @Test public void testFirewallSchema() throws RpcException { -String sql = "SELECT * FROM cp.`regex/firewall.ssdlog`"; +String sql = "SELECT * FROM cp.`regex/firewall.ssdlog` limit 0"; RowSet result = client.queryBuilder().sql(sql).rowSet(); -result.print(); +TupleMetadata expectedSchema = new SchemaBuilder() Review comment: Thanks for trying to fix this. Doing the change as another PR sounds good. 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
[GitHub] [drill] vvysotskyi commented on issue #1843: DRILL-7350: Move RowSet related classes from test folder
vvysotskyi commented on issue #1843: DRILL-7350: Move RowSet related classes from test folder URL: https://github.com/apache/drill/pull/1843#issuecomment-522241693 I have reverted breaking change, so for now, all tests passed. 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
[GitHub] [drill] vvysotskyi commented on a change in pull request #1843: DRILL-7350: Move RowSet related classes from test folder
vvysotskyi 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_r314945584 ## File path: exec/java-exec/src/test/java/org/apache/drill/exec/store/log/TestLogReader.java ## @@ -781,9 +781,19 @@ public void testPluginSerialization() throws IOException { @Test public void testFirewallSchema() throws RpcException { -String sql = "SELECT * FROM cp.`regex/firewall.ssdlog`"; +String sql = "SELECT * FROM cp.`regex/firewall.ssdlog` limit 0"; RowSet result = client.queryBuilder().sql(sql).rowSet(); -result.print(); +TupleMetadata expectedSchema = new SchemaBuilder() Review comment: I have reverted this change since it caused a lot of tests failures. I'll create a Jira to replace usage of another `SchemaBuilder` with `BatchSchemaBuilder`. 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