public class HiveCatalogUtils extends Object
It's a hack logic, we can remove the hack logic after we split the Hive connector into two jars, one of which is only for source/sink, and the other one is only for hive dialect. Then, the class loader will be same.
Constructor and Description |
---|
HiveCatalogUtils() |
Modifier and Type | Method and Description |
---|---|
static HiveConf |
getHiveConf(Catalog catalog) |
static String |
getHiveVersion(Catalog catalog) |
static org.apache.hadoop.hive.metastore.api.Table |
getTable(Catalog catalog,
ObjectPath tablePath) |
static boolean |
isHiveCatalog(Catalog catalog) |
public static boolean isHiveCatalog(Catalog catalog)
public static org.apache.hadoop.hive.metastore.api.Table getTable(Catalog catalog, ObjectPath tablePath)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.