-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[SUPPORT] Exception when using MERGE INTO #9469
Comments
Hi, one thing I notice is that you are updating the partitionpath field value |
@jonvex As of now, I'm using spark-shell to test but eventually move to dataproc spark-submit. The spark version is 3.1.2 |
Can you check that the configs:
are set and spelled correctly? |
@jonvex by adding the HoodieSparkSessionExtension config merge is working. However, I'm seeing three records instead of two records even though I changed this property to true
|
@praneethh I tried the similar stuff using spark-sql. It gave me two records only. below if the code I used -
|
@praneethh Also, when we use MERGE INTO, we can achieve partial update with the regular payload only. No need to use I have tried code version you shared with spark shell but it was giving me some exception. Figuring that out and will update soon. Please share the latest code in case you made some other changes to make it work. |
@ad1happy2go still getting three records as output. I'm using the same properties you have used and additionally hive_sync properties. Also not creating the table manually, it is created by the hudi from the first run. |
@praneethh I am able to reproduce the issue. Below is the code I used -
Created the JIRA (https://issues.apache.org/jira/browse/HUDI-6737) for the same and will be working on it. |
Hi @ad1happy2go wanted to check if there is any update on the above Jira. Thanks |
@praneethh We are working on this. We will update soon. |
@jonvex Can you post latest update on this? |
@praneethh I have checked, and it appears that this was placed on the back burner. We will make it a priority this week. I apologize for any delay. |
@ad1happy2go Thanks for the update. |
@jonvex @ad1happy2go Circling back on this issue to check if there is any update. Sorry to bother on this multiple times. |
Hi, really sorry we keep delaying this. |
@praneethh We were facing some of the issues when you tried to fix it. Current code actually don't support partition path update with MERGE INTO. We will provide more update on this soon. Sorry for all the delay. |
@codope @ad1happy2go @jonvex Hi Team, any update on the above issue?or is there any alternative solution? |
I'm trying to use merge into and perform partial update on the target data but getting the following error:
Steps to reproduce:
Hudi verison: 0.13.1
Using "org.apache.hudi.common.model.PartialUpdateAvroPayload" for partial update.
Can someone please help in resolving this error? Also, please share the documentation on using MERGE INTO if I'm using it in the wrong way.
The text was updated successfully, but these errors were encountered: