nsivabalan commented on issue #1695:
URL: https://github.com/apache/hudi/issues/1695#issuecomment-638296488
@prashanthpdesai : I tried and it works for me. I am using 0.5.2-incubating
bundle (org.apache.hudi:hudi-spark-bundle_2.11:0.5.2-incubating). Not sure if
that makes any diff.
Can you try the following and let me know what output you see.
```
val table ="hudi_cow1"
val basepath="/datalake/globalndextest"
val df3=spark.read.option("header","true").csv("/datalake/888/test3.csv"
val dfh4=df3.write.format("org.apache.hudi").option(RECORDKEY_FIELD_OPT_KEY,
"uuid").option(PARTITIONPATH_FIELD_OPT_KEY,"ts").option("hoodie.index.type","GLOBAL_BLOOM").option("hoodie.bloom.index.update.partition.path","true").option(TABLE_NAME,table)
dfh4.mode(Append).save(basepath)
spark.read.parquet(basepath+"/*").show(false)
val df5 = spark.read.option("header","true").csv("/datalake/888/test4.csv"
val dfh6 =
df5.write.format("org.apache.hudi").option(RECORDKEY_FIELD_OPT_KEY,
"uuid").option(PARTITIONPATH_FIELD_OPT_KEY,"ts").option("hoodie.index.type","GLOBAL_BLOOM").option("hoodie.bloom.index.update.partition.path","true").option(TABLE_NAME,table)
dfh6.mode(Append).save(basepath)
spark.read.parquet(basepath+"/*").show(false)
```
----------------------------------------------------------------
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]