コード例 #1
0
ファイル: test_catalog.py プロジェクト: zhuzhengjun01/flink
 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")
コード例 #2
0
ファイル: test_catalog.py プロジェクト: zhuzhengjun01/flink
 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")