arina-ielchiieva commented on a change in pull request #1807: DRILL-7293: 
Convert the regex ("log") plugin to use EVF
URL: https://github.com/apache/drill/pull/1807#discussion_r301666308
 
 

 ##########
 File path: 
exec/java-exec/src/test/java/org/apache/drill/exec/store/log/TestLogReader.java
 ##########
 @@ -607,4 +611,65 @@ public void testSchemaOnlyWithMissingCols() throws 
Exception {
       client.resetSession(ExecConstants.STORE_TABLE_USE_SCHEMA_FILE);
     }
   }
+
+  @Test
+  public void testEmptyPattern() throws Exception {
+    String tablePath = buildTable(tableFuncDir, "tf", "emptyRegex",
+        "sample.logf", "/regex/simple.log1");
+    try {
+     String sql = "SELECT * FROM %s";
+     client.queryBuilder().sql(sql, tablePath).run();
 
 Review comment:
   Please add `fail()`

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


With regards,
Apache Git Services

Reply via email to