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
  • Constructor Details

    • AbstractTestHiveViews

      public AbstractTestHiveViews()
  • Method Details

    • 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()
    • testHiveViewWithTextualTypes

      public void testHiveViewWithTextualTypes()
    • getExpectedHiveViewTextualColumnsTypes

      protected abstract List<io.trino.tempto.assertions.QueryAssert.Row> getExpectedHiveViewTextualColumnsTypes()
    • 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()
    • testHivePartitionViews

      public void testHivePartitionViews()
    • 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()
    • testRunAsInvoker

      public void testRunAsInvoker()
    • 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)
    • setSessionProperty

      protected void setSessionProperty(String key, String value)
    • unsetSessionProperty

      protected void unsetSessionProperty(String key)