Class AbstractTestHiveViews

    • Constructor Detail

      • AbstractTestHiveViews

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

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

        protected void unsetSessionProperty​(String key)