use of io.prestosql.sql.tree.RefreshMetadataCache in project hetu-core by openlookeng.
the class TestSqlParser method testRefreshMetastoreCache.
@Test
public void testRefreshMetastoreCache() {
assertStatement("REFRESH META CACHE", new RefreshMetadataCache(Optional.empty(), Optional.empty()));
assertStatement("REFRESH META CACHE FOR foo", new RefreshMetadataCache(Optional.empty(), Optional.of(new Identifier("foo"))));
}
Aggregations