You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertEquals(StatementImpl.parseStatementType("with data as (SELECT number FROM numbers(100)) select * from data"), StatementImpl.StatementType.SELECT);
470
+
}
471
+
467
472
468
473
@Test(groups = { "integration" })
469
474
publicvoidtestWithIPs() throwsException {
@@ -539,4 +544,19 @@ public void testTextFormatInResponse() throws Exception {
539
544
Assert.expectThrows(SQLException.class, () ->stmt.executeQuery("SELECT 1 FORMAT JSON"));
540
545
}
541
546
}
547
+
548
+
@Test(groups = "integration")
549
+
voidtestWithClause() throwsException {
550
+
intcount = 0;
551
+
try (Connectionconn = getJdbcConnection()) {
552
+
try (Statementstmt = conn.createStatement()) {
553
+
stmt.execute("with data as (SELECT number FROM numbers(100)) select * from data");
0 commit comments