feat: update alter and drop statements (#94)

* feat: add UNIQUE keyword

* feat: support ifExist, addConstraint, dropConstraint and addUnique of alter table statement

* feat: support ifExist, addConstraint, dropConstraint and addUnique of alter table statement

* tests: add tests of alter statements

* docs: add comments for sql syntax

* build: optimize promote of build/antlr4

* ci: add max_old_space_size

* ci: add max_old_space_size

* ci: update tests script
This commit is contained in:
Ziv
2023-05-17 10:00:35 +08:00
committed by GitHub
parent 10645087de
commit fbee70cde5
15 changed files with 4341 additions and 3802 deletions

View File

@ -43,7 +43,7 @@ if (argv.all) { // build all: yarn antlr4 --all
if (supportedLanguage) {
compile(argv.lang);
} else {
console.error('Unsupported language: ' + argv.lang);
console.error('Invalid language: ' + argv.lang + ', supported languages:\n' + entry.join(', '));
}
} else {
console.error('Please to specify the language, just like: yarn antlr4 --lang flinksql');