4d1dfa676f
* refactor: spark sql g4 * feat: support spark sql suggestion * test: spark sql suggestion unit test * test: hive spell check * feat: spark sql keyword has multiple values * test: KW_NOT KW_RLIKE split into two value --------- Co-authored-by: liuyi <liuyi@dtstack.com>
20 lines
273 B
SQL
20 lines
273 B
SQL
INSERT INTO db.tb ;
|
|
|
|
SELECT * FROM db.;
|
|
|
|
CREATE TABLE db. VALUES;
|
|
|
|
DROP TABLE IF EXISTS db.a;
|
|
|
|
CREATE OR REPLACE VIEW db.v;
|
|
|
|
DROP VIEW db.v ;
|
|
|
|
CREATE FUNCTION fn1;
|
|
|
|
SELECT name, calculate_age(birthday) AS age FROM students;
|
|
|
|
CREATE DATABASE db;
|
|
|
|
DROP SCHEMA IF EXISTS sch;
|