Skip to content

Fix SQL generated column indexing - #2600

Merged
Widthdom merged 5 commits into
mainfrom
fix-issue2102
May 24, 2026
Merged

Fix SQL generated column indexing#2600
Widthdom merged 5 commits into
mainfrom
fix-issue2102

Conversation

@Widthdom

@Widthdom Widthdom commented May 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • index SQL generated/computed columns from CREATE TABLE and ALTER TABLE ADD
  • emit generated_column_dependency references for generated expressions and DEFAULT NEXT VALUE FOR sequences
  • add SQL symbol/reference regression tests

Validation

  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test CodeIndex.sln -c Release -p:UseSharedCompilation=false --filter "FullyQualifiedNameReferenceExtractorTests.Extract_SQL_|FullyQualifiedNameReferenceExtractorTests.Extract_Sql|FullyQualifiedName~SymbolExtractorTests.Extract_SqlGeneratedColumns_DetectsColumnSymbols"

Documentation / Changelog

  • changelog.d/unreleased/2102.fixed.md

Follow-up candidates

  • None

Fixes #2102

@Widthdom
Widthdom merged commit f8eb26a into main May 24, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue2102 branch May 24, 2026 10:35
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.

SQL GENERATED/COMPUTED columns and DEFAULT constraints not indexed

1 participant