-
Notifications
You must be signed in to change notification settings - Fork 319
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
[#2541] feat(spark-connector): support basic DDL and DML operations to iceberg catalog #2544
Conversation
…ations to Iceberg catalog
Thanks for your work! I prefer to delay the Iceberg merge work until finishing basic hive features like |
Or you could do a POC first in your local environment, after the integrate test split work is done you could propose your PR. |
sure, i'll try to separate the integrate test for different datasources first. |
By the way, is it better to use |
I prefer to support Iceberg Hive Catalog because it's most used, and env is setup. |
If we do not use hms in the future and directly use gravitino backend storage, we should still need rest catalog, right? |
Hi @FANNG1 I would like to know if i can do something in this way:
|
I think it's ok, please note that Iceberg issues have the risk of not merged in 0.5 |
ok, i got it, thank you @FANNG1 . And may I ask why iceberg issues are not planned in 0.5? |
Because we didn't have enough time to support it in 0.5. If you could do most work, we may change the plans, we will disscuse it on Monday. |
Yes, I could specialize in this. cc @FANNG1 |
…r spark-connector
…r spark-connector
Hi @FANNG1, kindly ask if there are any conclusions about supporting iceberg in 0.5? |
I want to keep consistent about what will to do to support Iceberg:
Could you finish at least the first 3 features before 4.12 which is code freeze date? |
OK, I will give 100% effort to finish them. |
We needn't to support SparkIcebergCatalogIT directly in #2578, #2578 aims to make add SparkIcebergCatalogIT easily like just extends |
got it. |
…r spark-connector
…o seperate-spark-it
…r spark-connector
…r spark-connector
…r spark-connector
16a4c98
to
69a7af6
Compare
Can you please check the CI exception here (https://github.com/datastrato/gravitino/actions/runs/8502545002/job/23286861918?pr=2544), I'm not sure is it related to your changes? |
...c/main/java/com/datastrato/gravitino/catalog/lakehouse/iceberg/IcebergCatalogOperations.java
Show resolved
Hide resolved
@FANNG1 would you please help to review again? |
ab43f2f
to
3d494ac
Compare
Fixed. Thanks for your review. |
...ration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/SparkCommonIT.java
Show resolved
Hide resolved
...c/main/java/com/datastrato/gravitino/spark/connector/iceberg/IcebergPropertiesConstants.java
Outdated
Show resolved
Hide resolved
...c/main/java/com/datastrato/gravitino/spark/connector/iceberg/IcebergPropertiesConstants.java
Show resolved
Hide resolved
...ration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/SparkCommonIT.java
Show resolved
Hide resolved
Hi @FANNG1 could you help review this again? Thanks |
...ration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/SparkCommonIT.java
Outdated
Show resolved
Hide resolved
...c/main/java/com/datastrato/gravitino/spark/connector/iceberg/IcebergPropertiesConstants.java
Outdated
Show resolved
Hide resolved
just a few comment, could you fix it? |
...ration-test/src/test/java/com/datastrato/gravitino/integration/test/spark/SparkCommonIT.java
Outdated
Show resolved
Hide resolved
all comments have been addressed. |
LGTM, let's wait CI finish |
@caican00 thanks for your work, merge to main. |
@FANNG1 @jerryshao @qqqttt123 Thank you for yours review. |
…L operations to iceberg catalog (apache#2544)" This reverts commit 46ebaf6.
What changes were proposed in this pull request?
Why are the changes needed?
support basic DDL and DML operations for iceberg table using sparksql.
Fix: #2541
Does this PR introduce any user-facing change?
Yes, users can use sparksql to do iceberg table ddl and read&write operations.
How was this patch tested?
New Iceberg ITs.