Skip to content

feat: introduce official commands #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 40 commits into from
Jul 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
37adabb
feat: introduce official commands
h3n4l Jul 21, 2025
019f05c
chore: add migrate plan
h3n4l Jul 21, 2025
a5f7f69
chore: remove unused plan md files
h3n4l Jul 21, 2025
cda2dd3
refactor: name should follow lowercase without underscore convention
h3n4l Jul 21, 2025
bb0655a
fix: remove $$ token to make parser can parse routine body
h3n4l Jul 22, 2025
4eeb500
feat: split create function into create function and procedure stmt
h3n4l Jul 22, 2025
fe543be
test: pass all redshift specific test
h3n4l Jul 23, 2025
780bc17
chore: add IDE and system files to .gitignore
h3n4l Jul 23, 2025
807f24c
chore: remove files in gitignore
h3n4l Jul 23, 2025
76566a7
chore: fix most of test
h3n4l Jul 23, 2025
a859de3
chore: remove partial new
h3n4l Jul 23, 2025
e6d8614
chore: remove partial new
h3n4l Jul 23, 2025
c39d910
fix: alter identity provider
h3n4l Jul 23, 2025
31f9d96
fix: alter materialized view stmt
h3n4l Jul 23, 2025
c3d92e2
chore: fix alter rls policy stmt
h3n4l Jul 23, 2025
d2edb6a
fix: alter role and alter table stmt
h3n4l Jul 24, 2025
2311d51
fix: alter role and alter table stmt
h3n4l Jul 24, 2025
a987376
fix: alter user stmt
h3n4l Jul 24, 2025
ce7845d
fix: analyze stmt
h3n4l Jul 24, 2025
36243a1
fix: create external table stmt
h3n4l Jul 24, 2025
dc9fa06
fix: create function stmt
h3n4l Jul 24, 2025
24651cf
fix: create materialized view stmt
h3n4l Jul 24, 2025
f9783e9
fix: create schema stmt
h3n4l Jul 24, 2025
a628cf3
fix: create table stmt
h3n4l Jul 24, 2025
fc40b6d
fix: create table as stmt
h3n4l Jul 24, 2025
39184e4
chore: fix declare cursor
h3n4l Jul 24, 2025
31c3a78
fix: delete stmt
h3n4l Jul 24, 2025
45a5851
fix: detach rls policy stmt
h3n4l Jul 24, 2025
3e847c5
fix: drop db stmt
h3n4l Jul 24, 2025
d7167ac
fix: drop group stmt
h3n4l Jul 24, 2025
3e419f3
fix: fetch stmt
h3n4l Jul 28, 2025
66594b3
fix: grant stmt
h3n4l Jul 28, 2025
555e96c
fix: explain stmt
h3n4l Jul 28, 2025
ded9b26
fix: show procedures stmt
h3n4l Jul 28, 2025
553f9e9
fix: select stmt
h3n4l Jul 31, 2025
29df29a
fix: hh
h3n4l Jul 31, 2025
bda3331
fix: select stmt
h3n4l Jul 31, 2025
8b441d4
fix: remove wrong sql
h3n4l Jul 31, 2025
095cfee
fix: revoke stmt
h3n4l Jul 31, 2025
9f7d812
chore: update
h3n4l Jul 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
gen/
.DS_Store
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
all: build test

build:
antlr -Dlanguage=Go -package parser -visitor -o . RedshiftLexer.g4 RedshiftParser.g4

test: redshift-test pg-test

redshift-test:
go test -v -run TestRedshiftSpecificParser

pg-test:
go test -v -run TestRedshiftParser
Loading