Last active
December 29, 2021 14:21
-
-
Save garystafford/7997a8b8fe3e86af8a21c63aaa275687 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Built for demo of Apache Hudi 0.9.0 (EMR 6.5.0) with Apache Hive and SchemaRegistryProvider | |
include=base.properties | |
hoodie.datasource.hive_sync.assume_date_partitioning=false | |
hoodie.datasource.hive_sync.database=moma_mor | |
hoodie.datasource.hive_sync.partition_extractor_class=org.apache.hudi.hive.MultiPartKeysValueExtractor | |
hoodie.datasource.hive_sync.partition_fields=nationality | |
hoodie.datasource.hive_sync.table=artists | |
hoodie.datasource.write.drop.partition.columns=true | |
hoodie.datasource.write.hive_style_partitioning=true | |
hoodie.datasource.write.partitionpath.field=nationality | |
hoodie.datasource.write.recordkey.field=artist_id | |
hoodie.deltastreamer.schemaprovider.registry.url=http://<your_registry_url:post>/apis/ccompat/v6/subjects/moma.public.artists-value/versions/latest | |
hoodie.deltastreamer.source.dfs.root=s3://<your_data_lake_bucket>/topics/moma.public.artists/partition=0/ | |
# 1,024 * 1,024 * 128 = 134,217,728 (128 MB) | |
hoodie.parquet.small.file.limit=134217728 | |
# https://dacort.dev/posts/updating-partition-values-with-apache-hudi/ | |
# This is required if we want to ensure we upsert a record, even if the partition changes | |
hoodie.index.type=GLOBAL_BLOOM | |
# This is required to write the data into the new partition | |
# defaults to false in Apache Hudi 0.8.0 (EMR 6.4.0), true in Hudi 0.9.0 (EMR 6.5.0) | |
# hoodie.bloom.index.update.partition.path=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment