public class TestViewSupport extends TestBaseViewSupport
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetEXPECTED_NOT_FOUND, JSON_FORMAT, OPTIQ_FORMAT, UNEXPECTED_FOUNDallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManager| Constructor and Description |
|---|
TestViewSupport() |
baselineColumns, baselineRows, createViewHelper, dropViewHelper, dropViewIfExistsHelper, generateViewName, queryViewHelper, row, testViewHelpercheckForMetadataFile, 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, setupOptionManagerpublic static void setupTestFiles()
public void referToSchemaInsideAndOutsideView()
throws Exception
Exceptionpublic void nullabilityPropertyInViewPersistence()
throws Exception
Exceptionpublic void viewWithStarInDef_StarInQuery()
throws Exception
Exceptionpublic void viewWithSelectFieldsInDef_StarInQuery()
throws Exception
Exceptionpublic void viewWithSelectFieldsInDef_SelectFieldsInView_StarInQuery()
throws Exception
Exceptionpublic void viewWithStarInDef_SelectFieldsInQuery()
throws Exception
Exceptionpublic void viewWithSelectFieldsInDef_SelectFieldsInQuery1()
throws Exception
Exceptionpublic void viewWithSelectFieldsInDef_SelectFieldsInQuery2()
throws Exception
Exceptionpublic void viewWithSelectFieldsInDef_SelectFieldsInView_SelectFieldsInQuery1()
throws Exception
Exceptionpublic void viewWithSelectFieldsInDef_SelectFieldsInView_SelectFieldsInQuery2()
throws Exception
Exceptionpublic void viewWithUnionWithSelectFieldsInDef_StarInQuery()
throws Exception
Exceptionpublic void viewCreatedFromAnotherView()
throws Exception
Exceptionpublic void viewWithCompoundIdentifiersInDef()
throws Exception
Exceptionpublic void createViewWhenViewAlreadyExists()
throws Exception
Exceptionpublic void createViewIfNotExistsWhenTableAlreadyExists()
throws Exception
Exceptionpublic void createViewIfNotExistsWhenViewAlreadyExists()
throws Exception
Exceptionpublic void testCreateViewIfNotExists()
throws Exception
Exceptionpublic void createViewWithBothOrReplaceAndIfNotExists()
throws Exception
Exceptionpublic void createViewWhenATableWithSameNameAlreadyExists()
throws Exception
Exceptionpublic void viewWithPartialSchemaIdentifier()
throws Exception
Exceptionpublic void viewResolvingTablesInWorkspaceSchema()
throws Exception
Exceptionpublic void viewSchemaWhenSelectFieldsInDef_SelectFieldsInView()
throws Exception
Exceptionpublic void createViewWithDuplicateColumnsInDef1()
throws Exception
Exceptionpublic void createViewWithDuplicateColumnsInDef2()
throws Exception
Exceptionpublic void createViewWithDuplicateColumnsInDef3()
throws Exception
Exceptionpublic void createViewWithDuplicateColumnsInDef4()
throws Exception
Exceptionpublic void createViewWithDuplicateColumnsInDef5()
throws Exception
Exceptionpublic void createViewWithDuplicateColumnsInDef6()
throws Exception
Exceptionpublic void createViewWithUniqueColsInFieldListDuplicateColsInQuery1()
throws Exception
Exceptionpublic void createViewWithUniqueColsInFieldListDuplicateColsInQuery2()
throws Exception
Exceptionpublic void createViewWhenInEqualColumnCountInViewDefVsInViewQuery()
throws Exception
Exceptionpublic void createViewWhenViewQueryColumnHasStarAndViewFiledListIsSpecified()
throws Exception
Exceptionpublic void showProperMsgWhenDroppingNonExistentView()
throws Exception
Exceptionpublic void showProperMsgWhenTryingToDropAViewInImmutableSchema()
throws Exception
Exceptionpublic void showProperMsgWhenTryingToDropANonViewTable()
throws Exception
Exceptionpublic void dropViewIfExistsWhenViewExists()
throws Exception
Exceptionpublic void dropViewIfExistsWhenViewDoesNotExist()
throws Exception
Exceptionpublic void dropViewIfExistsWhenItIsATable()
throws Exception
Exceptionpublic void selectFromViewCreatedOnCalcite1_4()
throws Exception
Exceptionpublic void testDropViewNameStartsWithSlash()
throws Exception
Exceptionpublic void testViewIsCreatedWithinWorkspace()
throws Exception
Exceptionpublic void testViewIsFoundWithinWorkspaceWhenNameStartsWithSlash()
throws Exception
Exceptionpublic void testSelectMapColumnOfNewlyCreatedView()
throws Exception
Exceptionpublic void testMapTypeTreatedAsAnyInNewlyCreatedView()
throws Exception
Exceptionpublic void testMapColumnOfOlderViewWithUntypedMap()
throws Exception
Exceptionpublic void testMapTypeTreatedAsAnyInOlderViewWithUntypedMap()
throws Exception
ExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.