Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Commit fca1564

Browse files
authored
feat: introduce official commands (#2)
* feat: introduce official commands * chore: add migrate plan * chore: remove unused plan md files * refactor: name should follow lowercase without underscore convention * fix: remove $$ token to make parser can parse routine body * feat: split create function into create function and procedure stmt * test: pass all redshift specific test * chore: add IDE and system files to .gitignore Ignore .idea/, gen/, and .DS_Store directories and files to prevent committing IDE settings, generated files, and macOS system files. This keeps the repository clean and avoids unnecessary clutter. * chore: remove files in gitignore * chore: fix most of test * chore: remove partial new * chore: remove partial new * fix: alter identity provider * fix: alter materialized view stmt * chore: fix alter rls policy stmt * fix: alter role and alter table stmt * fix: alter role and alter table stmt * fix: alter user stmt * fix: analyze stmt * fix: create external table stmt * fix: create function stmt * fix: create materialized view stmt * fix: create schema stmt * fix: create table stmt * fix: create table as stmt * chore: fix declare cursor * fix: delete stmt * fix: detach rls policy stmt * fix: drop db stmt * fix: drop group stmt * fix: fetch stmt * fix: grant stmt * fix: explain stmt * fix: show procedures stmt * fix: select stmt * fix: hh * fix: select stmt * fix: remove wrong sql * fix: revoke stmt * chore: update
1 parent 882b007 commit fca1564

File tree

136 files changed

+142781
-42891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+142781
-42891
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea/
2+
gen/
3+
.DS_Store

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
all: build test
2+
3+
build:
4+
antlr -Dlanguage=Go -package parser -visitor -o . RedshiftLexer.g4 RedshiftParser.g4
5+
6+
test: redshift-test pg-test
7+
8+
redshift-test:
9+
go test -v -run TestRedshiftSpecificParser
10+
11+
pg-test:
12+
go test -v -run TestRedshiftParser

0 commit comments

Comments
 (0)