ankur334 commented on issue #5942:
URL: https://github.com/apache/hudi/issues/5942#issuecomment-1632162090
Partial Update with some partition column/key is not working as expected.
Let's suppose I am currently having following event/message.
{
"id": 1,
"language": "python",
"created": "2023-07-12",
"updated": "2023-07-12"
}
Here my,
primaryKey = id
deDupKey/preCombine Field = updated
partition Field = created.
& I am applying UPSERT as writeOperation type.
Now I want to apply the partial update when I am receiving record from my
source system/producer.
New incoming event is as following.
{
"id": 1,
"language": "scala",
"updated": "2023-07-13"
}
Now after partital update, I want to update only columns like `language` &
`updated` column. But after applying partital update, we are getting `null` in
CREATED column.
Expected Event after merge/partital update should be
{
"id": 1,
"language": "scala",
"created": "2023-07-12",
"updated": "2023-07-13"
}
but it coming as
{
"id": 1,
"language": "scala",
"created": null,
"updated": "2023-07-13"
}
Which is actually wrong. Will you please help us here? Are we doing
something wrong?
Environment Description
Hudi version : 0.13.1
Spark version : 3.1
Hive version : 3.1
Storage (HDFS/S3/GCS..) : GCS
Running on Docker? (yes/no) : No, running on Dataproc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]