Skip to content

fix(oracle): parse extract and interval partition gaps#142

Merged
rebelice merged 1 commit into
mainfrom
codex/oracle-parser-gaps
May 14, 2026
Merged

fix(oracle): parse extract and interval partition gaps#142
rebelice merged 1 commit into
mainfrom
codex/oracle-parser-gaps

Conversation

@rebelice
Copy link
Copy Markdown
Collaborator

Summary

  • Add Oracle AST/parser support for EXTRACT(datetime_field FROM expr) in expression contexts, including function-based indexes.
  • Add ANSI datetime literal parsing for DATE 'YYYY-MM-DD' and TIMESTAMP '...' expression forms.
  • Add range interval partition clause parsing with regression coverage, while preserving failure for interval partitioning without required range partitions.

Test Plan

  • go test ./oracle/parser -run 'TestCreateIndexFunctionBasedExtract|TestCreateTableIntervalPartitioning|TestCreateTableDateLiteralPartitionBound' -count=1
  • go test ./oracle/parser -count=1
  • go test ./oracle/... -count=1

@rebelice rebelice merged commit 2812aae into main May 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant