Skip to content

Adds Delta Lake read support to Beam SQL - #39950

Merged
chamikaramj merged 2 commits into
apache:masterfrom
chamikaramj:delta_lake_sql_support
Sep 9, 2026
Merged

chamikaramj merged 2 commits into
apache:masterfrom
chamikaramj:delta_lake_sql_support

Conversation

@chamikaramj

Copy link
Copy Markdown
Contributor

Also, updates DeltaIO to correctly parse schema and values for Date and Timestamp types.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@chamikaramj
chamikaramj force-pushed the delta_lake_sql_support branch from 1f0e32f to 08b6612 Compare September 1, 2026 06:59
@chamikaramj chamikaramj changed the title Updates Beam SQL to support Delta Lake read via Beam DeltaIO Adds Delta Lake read support to Beam SQL Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@chamikaramj
chamikaramj force-pushed the delta_lake_sql_support branch from 08b6612 to f25cd37 Compare September 2, 2026 18:40
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @ahmedabu98 for label java.

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@ahmedabu98 ahmedabu98 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, just a few nits

String.format(error, this.getClass().getName(), "'fieldNames'"));
}
return buildIOReader(begin);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need to override this method if pushdown isn't supported yet. the super method already does the same thing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think buildIOWriter is implemented in a super class (compilation fails without it).

Comment on lines +179 to +185
@Override
public ProjectSupport supportsProjects() {
// TODO: Support project pushdown / column pruning when supported by DeltaIO /
// Managed Delta
// Lake source.
return ProjectSupport.NONE;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same comment as above

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@chamikaramj
chamikaramj force-pushed the delta_lake_sql_support branch from f25cd37 to 7bbb633 Compare September 8, 2026 01:10

@chamikaramj chamikaramj left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

Comment on lines +179 to +185
@Override
public ProjectSupport supportsProjects() {
// TODO: Support project pushdown / column pruning when supported by DeltaIO /
// Managed Delta
// Lake source.
return ProjectSupport.NONE;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

String.format(error, this.getClass().getName(), "'fieldNames'"));
}
return buildIOReader(begin);
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think buildIOWriter is implemented in a super class (compilation fails without it).

@chamikaramj
chamikaramj merged commit 81b9188 into apache:master Sep 9, 2026
30 checks passed
@chamikaramj
chamikaramj deleted the delta_lake_sql_support branch September 9, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants