kbendick commented on a change in pull request #4396:
URL: https://github.com/apache/iceberg/pull/4396#discussion_r835666032



##########
File path: 
spark/v3.2/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestCallStatementParser.java
##########
@@ -137,6 +139,28 @@ public void testCallParseError() {
         () -> parser.parsePlan("CALL cat.system radish kebab"));
   }
 
+  @Test
+  public void testCallStripsLeadingComments() throws ParseException {
+    // These comments are meant to look like those that systems like DBT would 
add to statements.
+    List<String> callStatementsWithComments = Lists.newArrayList(

Review comment:
       The full error message is this 
   
   ```
   extraneous input 'INSERT' expecting {<EOF>, ';'}(line 1, pos 58)
   
   == SQL ==
   INSERT INTO TABLE testhive.default.table VALUES (1, 'a'); INSERT INTO TABLE 
testhive.default.table VALUES(2, 'a');
   ----------------------------------------------------------^^^
   ```




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to