Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How do I use DeltaStreamer or Spark DataSource API to write to a Non-partitioned Hudi dataset ?

Hudi supports writing to non-partitioned datasets. For writing to a non-partitioned Hudi dataset and perform performing hive table syncing, you need to set the below configurations in the properties passed:

hoodie.datasource.write.keygenerator.class=org.apache.hudi.NonpartitionedKeyGenerator

...