Ejemplo n.º 1
0
 def create_another_view():
     table_schema = CatalogTestBase.create_another_table_schema()
     return CatalogBaseTable.create_view(
         "select * from t2",
         "select * from test-catalog.db2.t2",
         table_schema,
         {},
         "This is another view")
Ejemplo n.º 2
0
 def create_view():
     table_schema = CatalogTestBase.create_table_schema()
     return CatalogBaseTable.create_view(
         "select * from t1",
         "select * from test-catalog.db1.t1",
         table_schema,
         {},
         "This is a view")