Skip to content

Commit 00f46b5

Browse files
committed
remove useless UT
Signed-off-by: xinyual <xinyual@amazon.com>
1 parent eb3e918 commit 00f46b5

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

sql/src/test/java/org/opensearch/sql/sql/parser/AstBuilderTest.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -506,13 +506,6 @@ public void show_compatible_with_old_engine_syntax() {
506506
buildAST("SHOW TABLES LIKE %"));
507507
}
508508

509-
@Test
510-
public void describe_compatible_with_old_engine_syntax() {
511-
assertEquals(
512-
project(relation(mappingTable("a_c%")), AllFields.of()),
513-
buildAST("DESCRIBE TABLES LIKE a_c%"));
514-
}
515-
516509
@Test
517510
public void can_build_describe_selected_tables() {
518511
assertEquals(
@@ -531,21 +524,6 @@ public void can_build_describe_selected_tables_field_filter() {
531524
buildAST("DESCRIBE TABLES LIKE 'a_c%' COLUMNS LIKE 'name%'"));
532525
}
533526

534-
/**
535-
* Todo, ideally the identifier (%) couldn't be used in LIKE operator, only the string literal is
536-
* allowed.
537-
*/
538-
@Test
539-
public void describe_and_column_compatible_with_old_engine_syntax() {
540-
assertEquals(
541-
project(
542-
filter(
543-
relation(mappingTable("a_c%")),
544-
function("like", qualifiedName("COLUMN_NAME"), stringLiteral("name%"))),
545-
AllFields.of()),
546-
buildAST("DESCRIBE TABLES LIKE a_c% COLUMNS LIKE name%"));
547-
}
548-
549527
@Test
550528
public void can_build_alias_by_keywords() {
551529
assertEquals(

0 commit comments

Comments
 (0)