public class TestStorageBasedHiveAuthorization extends BaseTestHiveImpersonation
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherhiveConf, hivePluginName, partitionStudentDef, studentData, studentDef, voterData, voterDef, whDirdfsCluster, 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 |
|---|
TestStorageBasedHiveAuthorization() |
addHiveStoragePlugin, createHiveStoragePlugin, fromInfoSchemaHelper, getWhPathForHiveObject, prepHiveConfAndData, setUp, showTablesHelper, startHiveMetaStore, stopHiveMetaStoreaddMiniDfsBasedStorage, 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, initDrillTestpublic void user0_db_general_showTables()
throws Exception
Exceptionpublic void user0_db_u0_only_showTables()
throws Exception
Exceptionpublic void user0_db_u1g1_only_showTables()
throws Exception
Exceptionpublic void user0_db_general_infoSchema()
throws Exception
Exceptionpublic void user0_db_u0_only_infoSchema()
throws Exception
Exceptionpublic void user0_db_u1g1_only_infoSchema()
throws Exception
Exceptionpublic void user0_allowed_g_student_u0_700()
throws Exception
Exceptionpublic void user0_allowed_g_vw_u0_700_over_g_student_u0_700()
throws Exception
Exceptionpublic void user1_forbidden_g_vw_u0_700_over_g_student_u0_700()
throws Exception
Exceptionpublic void user2_forbidden_g_vw_u0_700_over_g_student_u0_700()
throws Exception
Exceptionpublic void user0_allowed_u0_vw_voter_all_755()
throws Exception
Exceptionpublic void user1_forbidden_u0_vw_voter_all_755()
throws Exception
Exceptionpublic void user2_forbidden_u0_vw_voter_all_755()
throws Exception
Exceptionpublic void user0_allowed_g_student_u0g0_750()
throws Exception
Exceptionpublic void user0_allowed_g_student_all_755()
throws Exception
Exceptionpublic void user0_forbidden_g_voter_u1_700()
throws Exception
Exceptionpublic void user0_forbidden_g_voter_u2g1_750()
throws Exception
Exceptionpublic void user0_allowed_g_voter_all_755()
throws Exception
Exceptionpublic void user0_allowed_u0_student_all_755()
throws Exception
Exceptionpublic void user0_allowed_u0_voter_all_755()
throws Exception
Exceptionpublic void user0_allowed_g_partitioned_student_u0_700()
throws Exception
Exceptionpublic void user0_forbidden_u1g1_student_all_755()
throws Exception
Exceptionpublic void user0_allowed_v_student_u0g0_750()
throws Exception
Exceptionpublic void user0_forbidden_v_student_u1g1_750()
throws Exception
Exceptionpublic void user0_allowed_v_partitioned_student_u0g0_750()
throws Exception
Exceptionpublic void user0_forbidden_v_partitioned_student_u1g1_750()
throws Exception
Exceptionpublic void user1_db_general_showTables()
throws Exception
Exceptionpublic void user1_db_u1g1_only_showTables()
throws Exception
Exceptionpublic void user1_db_u0_only_showTables()
throws Exception
Exceptionpublic void user1_db_general_infoSchema()
throws Exception
Exceptionpublic void user1_db_u1g1_only_infoSchema()
throws Exception
Exceptionpublic void user1_db_u0_only_infoSchema()
throws Exception
Exceptionpublic void user1_forbidden_g_student_u0_700()
throws Exception
Exceptionpublic void user1_allowed_g_student_u0g0_750()
throws Exception
Exceptionpublic void user1_allowed_g_student_all_755()
throws Exception
Exceptionpublic void user1_allowed_g_voter_u1_700()
throws Exception
Exceptionpublic void user1_allowed_g_voter_u2g1_750()
throws Exception
Exceptionpublic void user1_allowed_g_voter_all_755()
throws Exception
Exceptionpublic void user1_forbidden_u0_student_all_755()
throws Exception
Exceptionpublic void user1_forbidden_u0_voter_all_755()
throws Exception
Exceptionpublic void user1_allowed_v_student_u0g0_750()
throws Exception
Exceptionpublic void user1_allowed_v_student_u1g1_750()
throws Exception
Exceptionpublic void user1_allowed_v_partitioned_student_u0g0_750()
throws Exception
Exceptionpublic void user1_allowed_v_partitioned_student_u1g1_750()
throws Exception
Exceptionpublic void user2_db_general_showTables()
throws Exception
Exceptionpublic void user2_db_u1g1_only_showTables()
throws Exception
Exceptionpublic void user2_db_u0_only_showTables()
throws Exception
Exceptionpublic void user2_db_general_infoSchema()
throws Exception
Exceptionpublic void user2_db_u1g1_only_infoSchema()
throws Exception
Exceptionpublic void user2_db_u0_only_infoSchema()
throws Exception
Exceptionpublic void user2_forbidden_g_student_u0_700()
throws Exception
Exceptionpublic void user2_forbidden_g_student_u0g0_750()
throws Exception
Exceptionpublic void user2_allowed_g_student_all_755()
throws Exception
Exceptionpublic void user2_forbidden_g_voter_u1_700()
throws Exception
Exceptionpublic void user2_allowed_g_voter_u2g1_750()
throws Exception
Exceptionpublic void user2_allowed_g_voter_all_755()
throws Exception
Exceptionpublic void user2_forbidden_u0_student_all_755()
throws Exception
Exceptionpublic void user2_forbidden_u0_voter_all_755()
throws Exception
Exceptionpublic void user2_forbidden_v_student_u0g0_750()
throws Exception
Exceptionpublic void user2_allowed_v_student_u1g1_750()
throws Exception
Exceptionpublic void user2_forbidden_v_partitioned_student_u0g0_750()
throws Exception
Exceptionpublic void user2_allowed_v_partitioned_student_u1g1_750()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.