Package io.trino.tests.product.hive
Class AbstractTestHiveViews
- java.lang.Object
-
- io.trino.tempto.ProductTest
-
- io.trino.tests.product.hive.HiveProductTest
-
- io.trino.tests.product.hive.AbstractTestHiveViews
-
- Direct Known Subclasses:
TestHiveViews,TestHiveViewsLegacy
public abstract class AbstractTestHiveViews extends HiveProductTest
-
-
Field Summary
-
Fields inherited from class io.trino.tests.product.hive.HiveProductTest
ERROR_COMMITTING_WRITE_TO_HIVE_RETRY_POLICY
-
-
Constructor Summary
Constructors Constructor Description AbstractTestHiveViews()
-
Method Summary
-
Methods inherited from class io.trino.tests.product.hive.HiveProductTest
getHiveVersionMajor, getHiveVersionMinor, getHiveVersionPatch, isHiveVersionBefore12, isHiveWithBrokenAvroTimestamps
-
-
-
-
Method Detail
-
testSelectOnView
public void testSelectOnView()
-
testArrayIndexingInView
public void testArrayIndexingInView()
-
testCommonTableExpression
public void testCommonTableExpression()
-
testNestedCommonTableExpression
public void testNestedCommonTableExpression()
-
testArrayConstructionInView
public void testArrayConstructionInView()
-
testMapConstructionInView
public void testMapConstructionInView()
-
testSelectOnViewFromDifferentSchema
public void testSelectOnViewFromDifferentSchema()
-
testViewReferencingTableInDifferentSchema
public void testViewReferencingTableInDifferentSchema()
-
testViewReferencingTableInTheSameSchemaWithoutQualifier
public void testViewReferencingTableInTheSameSchemaWithoutQualifier()
-
testViewWithUnsupportedCoercion
public void testViewWithUnsupportedCoercion()
-
testOuterParentheses
public void testOuterParentheses()
-
testDateFunction
public void testDateFunction()
-
testPmodFunction
public void testPmodFunction()
-
testWithUnsupportedFunction
public void testWithUnsupportedFunction()
-
testExistingView
public void testExistingView()
-
testShowCreateView
public void testShowCreateView()
-
testRichSqlSyntax
public void testRichSqlSyntax()
Test view containing IF, IN, LIKE, BETWEEN, CASE, COALESCE, operators, delimited and non-delimited columns, an inline comment
-
testIdentifierThatStartWithDigit
public void testIdentifierThatStartWithDigit()
-
testHiveViewInInformationSchema
public void testHiveViewInInformationSchema()
-
testHiveViewWithParametrizedTypes
public void testHiveViewWithParametrizedTypes()
-
testNestedHiveViews
public void testNestedHiveViews()
-
testSelectFromHiveViewWithoutDefaultCatalogAndSchema
public void testSelectFromHiveViewWithoutDefaultCatalogAndSchema()
-
testTimestampHiveView
public void testTimestampHiveView()
-
testCurrentUser
public void testCurrentUser()
-
testNestedGroupBy
public void testNestedGroupBy()
-
testUnionAllViews
public void testUnionAllViews()
-
testUnionDistinctViews
public void testUnionDistinctViews()
-
testViewReferencingHiveAndIcebergTables
public void testViewReferencingHiveAndIcebergTables()
Test a Hive view that spans over Hive and Iceberg table when metastore does not contain an up to date information about table schema, requiring any potential view translation to follow redirections.
-
testViewWithColumnAliasesDifferingInCase
public void testViewWithColumnAliasesDifferingInCase()
-
assertViewQuery
protected static void assertViewQuery(String query, Consumer<io.trino.tempto.assertions.QueryAssert> assertion)
-
sqlDate
protected static Date sqlDate(int year, int month, int day)
-
connectToTrino
protected io.trino.tempto.query.QueryExecutor connectToTrino(String catalog)
-
unsetSessionProperty
protected void unsetSessionProperty(String key)
-
-