use of io.prestosql.sql.tree.DropColumn in project hetu-core by openlookeng.
the class TestSqlParser method testDropColumn.
@Test
public void testDropColumn() {
assertStatement("ALTER TABLE foo.t DROP COLUMN c", new DropColumn(QualifiedName.of("foo", "t"), identifier("c")));
assertStatement("ALTER TABLE \"t x\" DROP COLUMN \"c d\"", new DropColumn(QualifiedName.of("t x"), quotedIdentifier("c d")));
}
Aggregations