ankur1603 opened a new issue #2067:
URL: https://github.com/apache/hudi/issues/2067
**Describe the problem you faced**
`HoodieUpsertException : Error upserting bucketType Update for partition :0`
upon performing upsert
**To Reproduce**
Steps to reproduce the behavior:
```
#Input data
val df = Seq((1, "a", "b",0)).toDF("col1","col2","col3","time")
val df1 = Seq((1, "a", "c",1)).toDF("col1","col2","col3","time")
```
```
#Properties
operation = "upsert"
partitionpath.field = "col2,col3"
recordkey.field = "col1"
keygenerator.class = "org.apache.hudi.ComplexKeyGenerator"
precombine.field = "time"
table.type = "COPY_ON_WRITE"
table.name = "TEST_TABLE"
index.type = "GLOBAL_BLOOM"
saveMode = "update"
```
```
write(df)
write(df1)
```
**Expected behavior**
df1 data should be written to new partition folder /a/c and latest record
should be retrieved on reading.
**Environment Description**
* Hudi version : 0.5.0-incubating
* Spark version : 2.2.0
* Hive version : NA
* Hadoop version : 2.7.1
* Storage (HDFS/S3/GCS..) : HDFS
* Running on Docker? (yes/no) : no
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]