public class TestImpersonationQueries extends BaseTestImpersonation
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherdfsCluster, 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 |
|---|
TestImpersonationQueries() |
| Modifier and Type | Method and Description |
|---|---|
void |
avroChainedImpersonationWithView() |
static void |
removeMiniDfsBasedStorage() |
void |
sequenceFileChainedImpersonationWithView() |
static void |
setup() |
void |
testCTEWithImpersonation() |
void |
testDirectImpersonation_HasGroupReadPermissions() |
void |
testDirectImpersonation_HasUserReadPermissions() |
void |
testDirectImpersonation_NoReadPermissions() |
void |
testMultiLevelImpersonationEqualToMaxUserHops() |
void |
testMultiLevelImpersonationExceedsMaxUserHops() |
void |
testMultiLevelImpersonationJoinEachSideReachesMaxUserHops() |
void |
testMultiLevelImpersonationJoinOneSideExceedsMaxUserHops() |
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, initDrillTestpublic void testDirectImpersonation_HasUserReadPermissions()
throws Exception
Exceptionpublic void testDirectImpersonation_HasGroupReadPermissions()
throws Exception
Exceptionpublic void testDirectImpersonation_NoReadPermissions()
throws Exception
Exceptionpublic void testMultiLevelImpersonationEqualToMaxUserHops()
throws Exception
Exceptionpublic void testMultiLevelImpersonationExceedsMaxUserHops()
throws Exception
Exceptionpublic void testMultiLevelImpersonationJoinEachSideReachesMaxUserHops()
throws Exception
Exceptionpublic void testMultiLevelImpersonationJoinOneSideExceedsMaxUserHops()
throws Exception
Exceptionpublic void sequenceFileChainedImpersonationWithView()
throws Exception
Exceptionpublic void avroChainedImpersonationWithView()
throws Exception
Exceptionpublic static void removeMiniDfsBasedStorage()
throws StoragePluginRegistry.PluginException
Copyright © 2021 The Apache Software Foundation. All rights reserved.