Skip to content

Fix delta external table kind detection#162

Merged
ashleyvansp merged 3 commits intomainfrom
fix/delta-table-kind-detection
Apr 10, 2026
Merged

Fix delta external table kind detection#162
ashleyvansp merged 3 commits intomainfrom
fix/delta-table-kind-detection

Conversation

@ashleyvansp
Copy link
Copy Markdown
Contributor

@ashleyvansp ashleyvansp commented Apr 10, 2026

The KQL case expression compared tolower(TableType) against "Delta" (capitalized), which never matches since tolower() produces "delta". This caused all delta external tables to be incorrectly loaded as kind=storage.

cc https://github.com/github/data/issues/11972

The KQL case expression compared tolower(TableType) against "Delta"
(capitalized), which never matches since tolower() produces "delta".
This caused all delta external tables to be incorrectly loaded as
kind=storage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 10, 2026 17:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes delta external table kind detection in the Kusto external table bulk loader so delta tables are not incorrectly classified as kind=storage.

Changes:

  • Update the KQL case(...) expression to compare tolower(TableType) against "delta" (lowercase) so delta table kind is detected correctly.
Show a summary per file
File Description
KustoSchemaTools/Parser/KustoLoader/KustoExternalTableBulkLoader.cs Fixes delta kind detection in the external table loading KQL.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

…er.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ashleyvansp ashleyvansp merged commit cbd97dc into main Apr 10, 2026
5 checks passed
@ashleyvansp ashleyvansp deleted the fix/delta-table-kind-detection branch April 10, 2026 18:05
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.

4 participants