Skip to content

Commit 840d74d

Browse files
vsai12claude
andauthored
fix(plsql): support ROW STORE COMPRESS and COLUMN STORE COMPRESS in table_compression (#58)
The Oracle ANTLR grammar's table_compression rule was missing support for Oracle 12c+ ROW STORE and COLUMN STORE compression syntax, causing "Syntax error ... ROW STORE" when parsing valid CREATE TABLE DDL. Add ROW STORE COMPRESS [BASIC | ADVANCED] and COLUMN STORE COMPRESS [FOR {QUERY | ARCHIVE} [LOW | HIGH]] [[NO] ROW LEVEL LOCKING] as alternatives in the table_compression rule. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent effef73 commit 840d74d

File tree

2 files changed

+14362
-14116
lines changed

2 files changed

+14362
-14116
lines changed

plsql/PlSqlParser.g4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3701,6 +3701,8 @@ table_compression
37013701
| (QUERY | ARCHIVE) (LOW | HIGH)?
37023702
)
37033703
)?
3704+
| ROW STORE COMPRESS (BASIC | ADVANCED)?
3705+
| COLUMN STORE COMPRESS (FOR (OLTP | (QUERY | ARCHIVE) (LOW | HIGH)?))? (NO? ROW LEVEL LOCKING)?
37043706
| NOCOMPRESS
37053707
;
37063708

0 commit comments

Comments
 (0)