public class HiveSyncTool extends Object
This utility will get the schema from the latest commit and will sync hive table schema Also this will sync the partitions incrementally (all the partitions modified since the last commit)
| Modifier and Type | Field and Description |
|---|---|
static String |
SUFFIX_REALTIME_TABLE |
| Constructor and Description |
|---|
HiveSyncTool(HiveSyncConfig cfg,
org.apache.hadoop.hive.conf.HiveConf configuration,
org.apache.hadoop.fs.FileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
syncHoodieTable() |
public static final String SUFFIX_REALTIME_TABLE
public HiveSyncTool(HiveSyncConfig cfg, org.apache.hadoop.hive.conf.HiveConf configuration, org.apache.hadoop.fs.FileSystem fs)
public void syncHoodieTable()
throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.