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>
7 lines
213 B
SQL
7 lines
213 B
SQL
-- OPTIMIZE view_identifier [ WHERE where_expression ] ZORDER BY col1, col2...
|
|
|
|
OPTIMIZE students ZORDER BY id, name;
|
|
|
|
OPTIMIZE userDB.students ZORDER BY id, name;
|
|
|
|
OPTIMIZE students WHERE id=1 ZORDER BY id, name; |