public class TestSqlStdBasedAuthorization 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 |
|---|
TestSqlStdBasedAuthorization() |
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_allowed_g_student_user0()
throws Exception
Exceptionpublic void user0_allowed_vw_student_user0()
throws Exception
Exceptionpublic void user0_forbidden_g_voter_role0()
throws Exception
Exceptionpublic void user0_forbidden_vw_voter_role0()
throws Exception
Exceptionpublic void user0_forbidden_v_student_u1g1_750()
throws Exception
Exceptionpublic void user0_allowed_v_student_u0g0_750()
throws Exception
Exceptionpublic void user1_forbidden_g_student_user0()
throws Exception
Exceptionpublic void user1_forbidden_vw_student_user0()
throws Exception
Exceptionpublic void user1_allowed_g_voter_role0()
throws Exception
Exceptionpublic void user1_allowed_vw_voter_role0()
throws Exception
Exceptionpublic void user1_allowed_g_voter_role0_but_forbidden_g_student_user2()
throws Exception
Exceptionpublic void user1_allowed_vw_voter_role0_but_forbidden_vw_student_user2()
throws Exception
Exceptionpublic void user1_allowed_v_student_u0g0_750()
throws Exception
Exceptionpublic void user1_allowed_v_student_u1g1_750()
throws Exception
Exceptionpublic void user2_allowed_g_voter_role0()
throws Exception
Exceptionpublic void user2_allowed_vw_voter_role0()
throws Exception
Exceptionpublic void user2_allowed_g_student_user2()
throws Exception
Exceptionpublic void user2_allowed_vw_student_user2()
throws Exception
Exceptionpublic void user2_allowed_g_voter_role0_and_g_student_user2()
throws Exception
Exceptionpublic void user2_allowed_vw_voter_role0_and_vw_student_user2()
throws Exception
Exceptionpublic void user2_forbidden_v_student_u0g0_750()
throws Exception
Exceptionpublic void user2_allowed_v_student_u1g1_750()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.