@@ -534,9 +534,10 @@ public void abort() {
534534
535535 @ Test
536536 public void testDDLInsideTransaction () throws SQLException {
537- String createTempTable = QUERIES .withTableName ("--jdbc:SCHEME\n "
538- + "create table temp_#tableName(id Int32, value Int32, primary key(id))" );
539- String dropTempTable = QUERIES .withTableName ("--jdbc:SCHEME\n drop table temp_#tableName" );
537+ String createTempTable = QUERIES .withTableName (
538+ "create table temp_#tableName(id Int32, value Int32, primary key(id))"
539+ );
540+ String dropTempTable = QUERIES .withTableName ("drop table temp_#tableName" );
540541
541542 try (Statement statement = jdbc .connection ().createStatement ()) {
542543 statement .execute (SIMPLE_UPSERT );
@@ -555,7 +556,7 @@ public void testDDLInsideTransaction() throws SQLException {
555556 @ Test
556557 public void testWarningInIndexUsage () throws SQLException {
557558 try (Statement statement = jdbc .connection ().createStatement ()) {
558- statement .execute ("--jdbc:SCHEME \n " +
559+ statement .execute ("" +
559560 "create table unit_0_indexed (" +
560561 "id Int32, value Int32, " +
561562 "primary key (id), " +
@@ -632,8 +633,7 @@ public void testAnsiLexerForIdea() throws SQLException {
632633 })
633634 public void testUnsupportedByStorageTableTypes (String type ) throws SQLException {
634635 String tableName = "unsupported_" + type ;
635- String sql = "--jdbc:SCHEME\n "
636- + "create table " + tableName + " (key Int32, payload " + type + ", primary key(key))" ;
636+ String sql = "create table " + tableName + " (key Int32, payload " + type + ", primary key(key))" ;
637637
638638 try (Statement statement = jdbc .connection ().createStatement ()) {
639639 ExceptionAssert .ydbNonRetryable ("is not supported by storage" , () -> statement .execute (sql ));
@@ -649,8 +649,7 @@ public void testUnsupportedByStorageTableTypes(String type) throws SQLException
649649 })
650650 public void testUnsupportedComplexTypes (String type ) throws SQLException {
651651 String tableName = "unsupported_" + type .replaceAll ("[^a-zA-Z0-9]" , "" );
652- String sql = "--jdbc:SCHEME\n "
653- + "create table " + tableName + " (key Int32, payload " + type + ", primary key(key))" ;
652+ String sql = "create table " + tableName + " (key Int32, payload " + type + ", primary key(key))" ;
654653
655654 try (Statement statement = jdbc .connection ().createStatement ()) {
656655 ExceptionAssert .ydbNonRetryable ("Invalid type for column: payload." ,
0 commit comments