You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/07/21 14:53:18 UTC

[GitHub] [hudi] GurRonenExplorium edited a comment on issue #1856: [SUPPORT] HiveSyncTool fails on alter table cascade

GurRonenExplorium edited a comment on issue #1856:
URL: https://github.com/apache/hudi/issues/1856#issuecomment-661909397


   Additional context, the hudi configuration:
   ```
   val hudiOptions = Map[String, String](
         HoodieWriteConfig.TABLE_NAME -> tableName,
         DataSourceWriteOptions.RECORDKEY_FIELD_OPT_KEY -> uuidColumn,
         DataSourceWriteOptions.PARTITIONPATH_FIELD_OPT_KEY -> partitionColumn,
         DataSourceWriteOptions.PRECOMBINE_FIELD_OPT_KEY -> precombineField,
         DataSourceWriteOptions.TABLE_TYPE_OPT_KEY -> DataSourceWriteOptions.COW_TABLE_TYPE_OPT_VAL,
         DataSourceWriteOptions.OPERATION_OPT_KEY -> "insert",
         DataSourceWriteOptions.HIVE_SYNC_ENABLED_OPT_KEY -> "true",
         DataSourceWriteOptions.HIVE_DATABASE_OPT_KEY -> databaseName,
         DataSourceWriteOptions.HIVE_TABLE_OPT_KEY -> tableName,
         DataSourceWriteOptions.HIVE_PARTITION_FIELDS_OPT_KEY -> partitionColumn,
         DataSourceWriteOptions.HIVE_PARTITION_EXTRACTOR_CLASS_OPT_KEY -> classOf[MultiPartKeysValueExtractor].getName,
         DataSourceWriteOptions.HIVE_STYLE_PARTITIONING_OPT_KEY -> "true",
         HoodieStorageConfig.PARQUET_COMPRESSION_CODEC -> "snappy",
         HoodieCompactionConfig.COPY_ON_WRITE_TABLE_INSERT_SPLIT_SIZE -> String.valueOf(5000000),
         HoodieCompactionConfig.COPY_ON_WRITE_TABLE_AUTO_SPLIT_INSERTS -> String.valueOf(true),
         HoodieCompactionConfig.COPY_ON_WRITE_TABLE_RECORD_SIZE_ESTIMATE -> String.valueOf(200)
       )
   ```


----------------------------------------------------------------
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:
users@infra.apache.org