Skip to content

fix(oracle): parse shorthand virtual columns#163

Merged
rebelice merged 1 commit into
mainfrom
codex/oracle-virtual-column-shorthand
May 29, 2026
Merged

fix(oracle): parse shorthand virtual columns#163
rebelice merged 1 commit into
mainfrom
codex/oracle-virtual-column-shorthand

Conversation

@rebelice
Copy link
Copy Markdown
Collaborator

Summary

  • Parse Oracle virtual column shorthand column AS (expr) as ColumnDef.Virtual.
  • Share virtual expression parsing between shorthand and GENERATED ALWAYS AS (...) forms.
  • Add regression coverage for typed and typeless shorthand virtual columns.

Test Plan

  • go test ./oracle/parser -run TestCreateTableVirtualColumnShorthand -count=1 -v
  • go test ./oracle/parser -count=1
  • go test ./oracle/... -count=1
  • git diff --check

@rebelice rebelice merged commit 9af8f51 into main May 29, 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