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

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

vvysotskyi commented on a change in pull request #1415: DRILL-6656: Disallow 
extra semicolons in import statements.
URL: https://github.com/apache/drill/pull/1415#discussion_r208870590
 
 

 ##########
 File path: 
exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java
 ##########
 @@ -82,16 +84,17 @@ public void oneBitOneExchangeTwoEntryRun() throws 
Exception{
     public void oneBitOneExchangeTwoEntryRunLogical() throws Exception{
         RemoteServiceSet serviceSet = RemoteServiceSet.getLocalServiceSet();
 
-        try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet); DrillClient 
client = new DrillClient(CONFIG, serviceSet.getCoordinator());){
-            bit1.run();
-            client.connect();
-            List<QueryDataBatch> results = client.runQuery(QueryType.LOGICAL, 
Files.toString(DrillFileUtils.getResourceAsFile("/scan_screen_logical.json"), 
Charsets.UTF_8));
-            int count = 0;
-            for(QueryDataBatch b : results){
-                count += b.getHeader().getRowCount();
-                b.release();
-            }
-            assertEquals(100, count);
+        try(Drillbit bit1 = new Drillbit(CONFIG, serviceSet);
 
 Review comment:
   `try(` -> `try (`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Add Regex To Disallow Extra Semicolons In Imports
> -------------------------------------------------
>
>                 Key: DRILL-6656
>                 URL: https://issues.apache.org/jira/browse/DRILL-6656
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Timothy Farkas
>            Assignee: Timothy Farkas
>            Priority: Major
>             Fix For: 1.15.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to