vdiravka commented on a change in pull request #1642: DRILL-6734: JDBC storage 
plugin returns null for fields without aliases
URL: https://github.com/apache/drill/pull/1642#discussion_r259083034
 
 

 ##########
 File path: 
contrib/storage-jdbc/src/test/java/org/apache/drill/exec/store/jdbc/TestJdbcPluginWithH2IT.java
 ##########
 @@ -63,7 +63,9 @@ public static void initH2() throws Exception {
       URL scriptFile = 
TestJdbcPluginWithH2IT.class.getClassLoader().getResource("h2-test-data.sql");
       Assert.assertNotNull("Script for test tables generation 
'h2-test-data.sql' " +
           "cannot be found in test resources", scriptFile);
-      RunScript.execute(connection, new FileReader(scriptFile.getFile()));
+      try (FileReader fileReader = new FileReader(scriptFile.getFile())) {
 
 Review comment:
   :+1: 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to