jiefei30 commented on code in PR #3514:
URL: https://github.com/apache/calcite/pull/3514#discussion_r1391918648
##########
core/src/test/java/org/apache/calcite/sql/test/SqlPrettyWriterTest.java:
##########
@@ -365,6 +365,14 @@ private SqlPrettyWriterFixture tableDotStar() {
.check();
}
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-6102">[CALCITE-6102]
+ * SqlWriter in SqlInsert's unparse start a list but does not end it</a>. */
+ @Test void testInsert() {
+ sql("insert into t1 select * from t2")
Review Comment:
@JiajunBernoulli ok, i'll add a new test case which can throw this exception
after patch removal
--
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]