53ead45ff5
* feat: optimize hive function name auto complete * feat: optimize flink rules that c3 prefer to * feat: optimize flink autoComplete * test: flink auto complete unit tests
25 lines
319 B
SQL
25 lines
319 B
SQL
DROP CATALOG cat;
|
|
;
|
|
SELECT * FROM cat. ;
|
|
;
|
|
CREATE TABLE cat.db ;
|
|
;
|
|
SHOW TABLES FROM cat;
|
|
;
|
|
ALTER DATABASE cat.;
|
|
;
|
|
DROP VIEW v;
|
|
;
|
|
SELECT * FROM ;
|
|
;
|
|
CREATE VIEW cv;
|
|
;
|
|
SELECT name, calculate_age(birthdate) AS age FROM students;
|
|
;
|
|
CREATE FUNCTION fnc;
|
|
;
|
|
SHOW COLUMNS FROM vie;
|
|
;
|
|
SHOW CREATE TABLE tb1;
|
|
|
|
SHOW CREATE VIEW v1; |