Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[IcebergIO] Add Iceberg SQL table provider and tests #34799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ahmedabu98
Copy link
Contributor

@ahmedabu98 ahmedabu98 commented May 1, 2025

Integrate IcebergIO with Beam SQL

@github-actions github-actions bot added the io label May 1, 2025
@ahmedabu98 ahmedabu98 marked this pull request as ready for review May 6, 2025 20:47
Copy link
Contributor

github-actions bot commented May 7, 2025

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

+ "LOCATION '"
+ tableIdentifier
+ "' \n"
+ "TBLPROPERTIES '{ \"triggering_frequency_seconds\" : 10 }'";
Copy link
Contributor

Choose a reason for hiding this comment

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

Can I define partition column with transform function for my Iceberg Table ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't support creating tables with partition spec right now (tracker #34117)

+ " c_timestamp TIMESTAMP, \n"
+ " c_varchar VARCHAR, \n "
+ " c_char CHAR, \n"
+ " c_arr ARRAY<VARCHAR> \n"
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you also add a nested array field such as array<array> and some nested types also ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep will do

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for suggesting this, it pointed out some incorrect conversion logic: #34887

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed conversion logic and push a new commit

(lmk if you'd like me to separate it into a different PR)

Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 51.11111% with 22 lines in your changes missing coverage. Please review.

Project coverage is 54.50%. Comparing base (f935ec7) to head (138b54a).
Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
...nsions/sql/meta/provider/iceberg/IcebergTable.java 24.13% 21 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #34799      +/-   ##
============================================
- Coverage     54.52%   54.50%   -0.03%     
- Complexity     1479     1491      +12     
============================================
  Files          1010     1012       +2     
  Lines        160465   160407      -58     
  Branches       1079     1086       +7     
============================================
- Hits          87499    87427      -72     
- Misses        70861    70873      +12     
- Partials       2105     2107       +2     
Flag Coverage Δ
java 68.55% <51.11%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

github-actions bot commented May 8, 2025

Assigning reviewers:

R: @robertwb 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).

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