5ce89cb421
* feat(spark): support materialized view for spark sql * fix(spark): code review update * fix(spark): update spark materilized view and zorder grammar * test(spark): add syntaxSuggestion test of materialized view --------- Co-authored-by: jialan <jialan@dtstack.com>
24 lines
357 B
SQL
24 lines
357 B
SQL
-- REFRESH resource_path
|
|
|
|
REFRESH "hdfs://path/to/table";
|
|
|
|
|
|
-- REFRESH FUNCTION function_identifier
|
|
|
|
REFRESH FUNCTION func1;
|
|
|
|
REFRESH FUNCTION db1.func1;
|
|
|
|
|
|
-- REFRESH [TABLE] table_identifier
|
|
|
|
REFRESH TABLE tbl1;
|
|
|
|
REFRESH TABLE tempDB.view1;
|
|
|
|
-- REFRESH MATERIALIZED VIEW view_identifier
|
|
|
|
REFRESH MATERIALIZED VIEW mv;
|
|
|
|
REFRESH MATERIALIZED VIEW userDB.mv;
|