public class BaseTestHiveImpersonation extends BaseTestImpersonation
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcher| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.hadoop.hive.conf.HiveConf |
hiveConf |
protected static String |
hivePluginName |
protected static String |
partitionStudentDef |
protected static String |
studentData |
protected static String |
studentDef |
protected static String |
voterData |
protected static String |
voterDef |
protected static String |
whDir |
dfsCluster, dfsConf, fs, MINI_DFS_STORAGE_PLUGIN_NAME, miniDfsStoragePath, org1Groups, org1Users, org2Groups, org2Users, processUserEXPECTED_NOT_FOUND, JSON_FORMAT, OPTIQ_FORMAT, UNEXPECTED_FOUNDallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
BaseTestHiveImpersonation() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addHiveStoragePlugin(Map<String,String> hiveConfig) |
protected static HiveStoragePluginConfig |
createHiveStoragePlugin(Map<String,String> hiveConfig) |
protected void |
fromInfoSchemaHelper(String db,
List<String> expectedTables,
List<org.apache.calcite.schema.Schema.TableType> expectedTableTypes) |
protected static org.apache.hadoop.fs.Path |
getWhPathForHiveObject(String dbName,
String tableName) |
protected static void |
prepHiveConfAndData() |
static void |
setUp() |
protected void |
showTablesHelper(String db,
List<String> expectedTables) |
protected static void |
startHiveMetaStore() |
static void |
stopHiveMetaStore() |
addMiniDfsBasedStorage, createAndAddWorkspace, createView, createView, getUserHome, getWSSchema, startDrillCluster, startDrillCluster, startMiniDfsCluster, startMiniDfsCluster, stopMiniDfsClustercheckForMetadataFile, createMetadataDir, getPhysicalJsonPlan, getPlanInString, testPhysicalPlan, testPhysicalPlanExecutionBasedOnQuery, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanOneExcludedPattern, testPlanOneExpectedPattern, testPlanOneExpectedPatternOneExcluded, testPlanSubstrPatterns, testPlanWithAttributesMatchingPatterns, testRelLogicalJoinOrder, testRelLogicalPlanLevDigest, testRelLogicalPlanLevExplain, testRelPhysicalJoinOrder, testRelPhysicalPlanLevDigest, testRelPhysicalPlanLevExplainalterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, resetAllSessionOptions, resetDrillbitCount, resetSessionOption, runSQL, setColumnWidth, setColumnWidths, setSessionOption, setSessionOption, setSessionOption, setSessionOption, setupDefaultTestCluster, test, test, testBuilder, testLogicalWithResults, testNoResult, testNoResult, testPhysical, testPhysicalFromFile, testPhysicalWithResults, testPreparedStatement, testRunAndPrint, testRunAndReturn, testSql, testSqlWithResults, testWithListener, updateClient, updateClient, updateClient, updateTestCluster, updateTestClusterclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestprotected static final String hivePluginName
protected static org.apache.hadoop.hive.conf.HiveConf hiveConf
protected static String whDir
protected static String studentData
protected static String voterData
protected static final String studentDef
protected static final String voterDef
protected static final String partitionStudentDef
public static void setUp()
protected static HiveStoragePluginConfig createHiveStoragePlugin(Map<String,String> hiveConfig) throws Exception
Exceptionprotected static org.apache.hadoop.fs.Path getWhPathForHiveObject(String dbName, String tableName)
protected static void addHiveStoragePlugin(Map<String,String> hiveConfig) throws Exception
Exceptionprotected void showTablesHelper(String db, List<String> expectedTables) throws Exception
Exceptionprotected void fromInfoSchemaHelper(String db, List<String> expectedTables, List<org.apache.calcite.schema.Schema.TableType> expectedTableTypes) throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.