31a811d1bb
* feat: flink support column suggestion * feat: flink column suggestion unit test * feat: hive support column suggestion * feat: hive column suggestion unit test * feat: trinosql support column suggestion * feat: trino column suggest unit test * feat: sparksql collect column suggesstion * feat: spark column suggestion unit test * feat: rebuild flinksql lib
41 lines
549 B
SQL
41 lines
549 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;
|
|
|
|
SELECT col ;
|
|
|
|
SELECT col FROM tb1;
|
|
|
|
SELECT col, FROM tb1;
|
|
|
|
SELECT * FROM tb ORDER BY ;
|
|
|
|
SELECT * FROM tb GROUP BY tb. ;
|
|
|
|
INSERT INTO tb (col, tb.c );
|
|
|
|
CREATE TABLE yourTable (ts TIMESTAMP(3), WATERMARK FOR );
|
|
|
|
CREATE TABLE newTable ( ); |