Skip to content

Fix MODEL_TYPE fragment classification in CreateExternalModelStatement#210

Open
ZEUSXXIV wants to merge 1 commit into
microsoft:mainfrom
ZEUSXXIV:fix-model-type-fragment
Open

Fix MODEL_TYPE fragment classification in CreateExternalModelStatement#210
ZEUSXXIV wants to merge 1 commit into
microsoft:mainfrom
ZEUSXXIV:fix-model-type-fragment

Conversation

@ZEUSXXIV
Copy link
Copy Markdown

@ZEUSXXIV ZEUSXXIV commented Jun 1, 2026

Description

Fixes #176.

Exposes MODEL_TYPE as a proper subclass of TSqlFragment (ExternalModelTypeOption) in CREATE EXTERNAL MODEL and ALTER EXTERNAL MODEL statements. This enables fragment visitation via TSqlFragmentVisitor, tracks start offset and position metadata, and ensures architectural consistency. Includes regression coverage to verify visitor traversal.

Code Changes

@ZEUSXXIV
Copy link
Copy Markdown
Author

ZEUSXXIV commented Jun 1, 2026

@microsoft-github-policy-service agree

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.

MODEL_TYPE not classified as TSqlFragment in CreateExternalModelStatement

1 participant