trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.43k stars 3k forks source link

Failing test TestIcebergMaterializedViews testCreateRefreshSelect, testDetectStaleness, testNestedMaterializedViews, testReplace, testSqlFeatures, tearDown #5892

Open findepi opened 4 years ago

findepi commented 4 years ago

https://github.com/prestosql/presto/runs/1378416159

2020-11-10T07:35:34.9258979Z [ERROR] Tests run: 299, Failures: 6, Errors: 0, Skipped: 10, Time elapsed: 414.689 s <<< FAILURE! - in TestSuite
2020-11-10T07:35:34.9261162Z [ERROR] testCreateRefreshSelect(io.prestosql.plugin.iceberg.TestIcebergMaterializedViews)  Time elapsed: 0.391 s  <<< FAILURE!
2020-11-10T07:35:34.9263349Z java.lang.IllegalArgumentException: Object '18148' does not match type long
2020-11-10T07:35:34.9264827Z    at io.prestosql.spi.predicate.NullableValue.<init>(NullableValue.java:46)
2020-11-10T07:35:34.9266421Z    at io.prestosql.spi.predicate.NullableValue.of(NullableValue.java:67)
2020-11-10T07:35:34.9268482Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeNullableValue(TableStatisticsMaker.java:233)
2020-11-10T07:35:34.9271104Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.dataFileMatches(TableStatisticsMaker.java:221)
2020-11-10T07:35:34.9274510Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeTableStatistics(TableStatisticsMaker.java:131)
2020-11-10T07:35:34.9277679Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.getTableStatistics(TableStatisticsMaker.java:72)
2020-11-10T07:35:34.9281421Z    at io.prestosql.plugin.iceberg.IcebergMetadata.getTableStatistics(IcebergMetadata.java:722)
2020-11-10T07:35:34.9285279Z    at io.prestosql.plugin.base.classloader.ClassLoaderSafeConnectorMetadata.getTableStatistics(ClassLoaderSafeConnectorMetadata.java:276)
2020-11-10T07:35:34.9288936Z    at io.prestosql.metadata.MetadataManager.getTableStatistics(MetadataManager.java:524)
2020-11-10T07:35:34.9290771Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:64)
2020-11-10T07:35:34.9293012Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:39)
2020-11-10T07:35:34.9294582Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:34.9296501Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9299112Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9301418Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9303315Z    at io.prestosql.cost.ExchangeStatsRule.doCalculate(ExchangeStatsRule.java:54)
2020-11-10T07:35:34.9305189Z    at io.prestosql.cost.ExchangeStatsRule.doCalculate(ExchangeStatsRule.java:32)
2020-11-10T07:35:34.9308391Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:34.9310411Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9325891Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9328498Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9330289Z    at io.prestosql.cost.OutputStatsRule.calculate(OutputStatsRule.java:41)
2020-11-10T07:35:34.9332113Z    at io.prestosql.cost.OutputStatsRule.calculate(OutputStatsRule.java:27)
2020-11-10T07:35:34.9334658Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9337799Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9340283Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9342073Z    at io.prestosql.cost.StatsAndCosts.create(StatsAndCosts.java:87)
2020-11-10T07:35:34.9343684Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:222)
2020-11-10T07:35:34.9345718Z    at io.prestosql.sql.analyzer.QueryExplainer.getLogicalPlan(QueryExplainer.java:197)
2020-11-10T07:35:34.9349843Z    at io.prestosql.sql.analyzer.QueryExplainer.getPlan(QueryExplainer.java:133)
2020-11-10T07:35:34.9352128Z    at io.prestosql.testing.AbstractTestQueryFramework.lambda$getExplainPlan$3(AbstractTestQueryFramework.java:352)
2020-11-10T07:35:34.9354548Z    at io.prestosql.transaction.TransactionBuilder.execute(TransactionBuilder.java:150)
2020-11-10T07:35:34.9357134Z    at io.prestosql.testing.AbstractTestQueryFramework.getExplainPlan(AbstractTestQueryFramework.java:351)
2020-11-10T07:35:34.9360887Z    at io.prestosql.plugin.iceberg.TestIcebergMaterializedViews.testCreateRefreshSelect(TestIcebergMaterializedViews.java:81)
2020-11-10T07:35:34.9364118Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-11-10T07:35:34.9366353Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-11-10T07:35:34.9369086Z    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-11-10T07:35:34.9370640Z    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2020-11-10T07:35:34.9372043Z    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
2020-11-10T07:35:34.9373988Z    at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
2020-11-10T07:35:34.9375317Z    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
2020-11-10T07:35:34.9376536Z    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
2020-11-10T07:35:34.9378058Z    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
2020-11-10T07:35:34.9379572Z    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
2020-11-10T07:35:34.9381278Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:34.9383023Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:34.9384106Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:34.9384676Z 
2020-11-10T07:35:34.9386030Z [ERROR] testDetectStaleness(io.prestosql.plugin.iceberg.TestIcebergMaterializedViews)  Time elapsed: 1.079 s  <<< FAILURE!
2020-11-10T07:35:34.9388240Z java.lang.RuntimeException: Object '18147' does not match type long
2020-11-10T07:35:34.9390032Z    at io.prestosql.testing.AbstractTestingPrestoClient.execute(AbstractTestingPrestoClient.java:115)
2020-11-10T07:35:34.9392521Z    at io.prestosql.testing.DistributedQueryRunner.execute(DistributedQueryRunner.java:448)
2020-11-10T07:35:34.9394574Z    at io.prestosql.testing.QueryAssertions.assertUpdate(QueryAssertions.java:71)
2020-11-10T07:35:34.9397007Z    at io.prestosql.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:225)
2020-11-10T07:35:34.9399955Z    at io.prestosql.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:220)
2020-11-10T07:35:34.9404333Z    at io.prestosql.plugin.iceberg.TestIcebergMaterializedViews.testDetectStaleness(TestIcebergMaterializedViews.java:161)
2020-11-10T07:35:34.9407446Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-11-10T07:35:34.9409694Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-11-10T07:35:34.9412329Z    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-11-10T07:35:34.9414535Z    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2020-11-10T07:35:34.9416264Z    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
2020-11-10T07:35:34.9418142Z    at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
2020-11-10T07:35:34.9419529Z    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
2020-11-10T07:35:34.9421021Z    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
2020-11-10T07:35:34.9422907Z    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
2020-11-10T07:35:34.9424794Z    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
2020-11-10T07:35:34.9426601Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:34.9428613Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:34.9429720Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:34.9430888Z Caused by: java.lang.IllegalArgumentException: Object '18147' does not match type long
2020-11-10T07:35:34.9432132Z    at io.prestosql.spi.predicate.NullableValue.<init>(NullableValue.java:46)
2020-11-10T07:35:34.9433601Z    at io.prestosql.spi.predicate.NullableValue.of(NullableValue.java:67)
2020-11-10T07:35:34.9435468Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeNullableValue(TableStatisticsMaker.java:233)
2020-11-10T07:35:34.9441911Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.dataFileMatches(TableStatisticsMaker.java:221)
2020-11-10T07:35:34.9451066Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeTableStatistics(TableStatisticsMaker.java:131)
2020-11-10T07:35:34.9460474Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.getTableStatistics(TableStatisticsMaker.java:72)
2020-11-10T07:35:34.9494585Z    at io.prestosql.plugin.iceberg.IcebergMetadata.getTableStatistics(IcebergMetadata.java:722)
2020-11-10T07:35:34.9498050Z    at io.prestosql.plugin.base.classloader.ClassLoaderSafeConnectorMetadata.getTableStatistics(ClassLoaderSafeConnectorMetadata.java:276)
2020-11-10T07:35:34.9501136Z    at io.prestosql.metadata.MetadataManager.getTableStatistics(MetadataManager.java:524)
2020-11-10T07:35:34.9502866Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:64)
2020-11-10T07:35:34.9504460Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:39)
2020-11-10T07:35:34.9505908Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:34.9507662Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9509870Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9511768Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9513586Z    at io.prestosql.cost.CostCalculatorUsingExchanges$CostEstimator.getStats(CostCalculatorUsingExchanges.java:361)
2020-11-10T07:35:34.9515718Z    at io.prestosql.cost.CostCalculatorUsingExchanges$CostEstimator.visitTableScan(CostCalculatorUsingExchanges.java:150)
2020-11-10T07:35:34.9517926Z    at io.prestosql.cost.CostCalculatorUsingExchanges$CostEstimator.visitTableScan(CostCalculatorUsingExchanges.java:83)
2020-11-10T07:35:34.9519786Z    at io.prestosql.sql.planner.plan.TableScanNode.accept(TableScanNode.java:143)
2020-11-10T07:35:34.9521728Z    at io.prestosql.cost.CostCalculatorUsingExchanges.calculateCost(CostCalculatorUsingExchanges.java:80)
2020-11-10T07:35:34.9524503Z    at io.prestosql.cost.CostCalculatorWithEstimatedExchanges.calculateCost(CostCalculatorWithEstimatedExchanges.java:64)
2020-11-10T07:35:34.9527113Z    at io.prestosql.cost.CachingCostProvider.calculateCost(CachingCostProvider.java:109)
2020-11-10T07:35:34.9529082Z    at io.prestosql.cost.CachingCostProvider.getGroupCost(CachingCostProvider.java:101)
2020-11-10T07:35:34.9530895Z    at io.prestosql.cost.CachingCostProvider.getCost(CachingCostProvider.java:70)
2020-11-10T07:35:34.9533532Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.createJoinEnumerationResult(ReorderJoins.java:471)
2020-11-10T07:35:34.9536208Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.getJoinSource(ReorderJoins.java:382)
2020-11-10T07:35:34.9538386Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.createJoin(ReorderJoins.java:291)
2020-11-10T07:35:34.9540853Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.createJoinAccordingToPartitioning(ReorderJoins.java:262)
2020-11-10T07:35:34.9543258Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.chooseJoinOrder(ReorderJoins.java:206)
2020-11-10T07:35:34.9545471Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins.chooseJoinOrder(ReorderJoins.java:160)
2020-11-10T07:35:34.9547580Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins.apply(ReorderJoins.java:133)
2020-11-10T07:35:34.9549424Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins.apply(ReorderJoins.java:94)
2020-11-10T07:35:34.9551451Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.transform(IterativeOptimizer.java:168)
2020-11-10T07:35:34.9553719Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreNode(IterativeOptimizer.java:143)
2020-11-10T07:35:34.9556086Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:108)
2020-11-10T07:35:34.9558956Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreChildren(IterativeOptimizer.java:193)
2020-11-10T07:35:34.9561799Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:110)
2020-11-10T07:35:34.9564741Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreChildren(IterativeOptimizer.java:193)
2020-11-10T07:35:34.9567615Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:110)
2020-11-10T07:35:34.9570250Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreChildren(IterativeOptimizer.java:193)
2020-11-10T07:35:34.9576029Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:110)
2020-11-10T07:35:34.9582139Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.optimize(IterativeOptimizer.java:99)
2020-11-10T07:35:34.9585720Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:206)
2020-11-10T07:35:34.9589752Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:195)
2020-11-10T07:35:34.9592993Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:190)
2020-11-10T07:35:34.9596971Z    at io.prestosql.execution.SqlQueryExecution.doPlanQuery(SqlQueryExecution.java:444)
2020-11-10T07:35:34.9602143Z    at io.prestosql.execution.SqlQueryExecution.planQuery(SqlQueryExecution.java:424)
2020-11-10T07:35:34.9606216Z    at io.prestosql.execution.SqlQueryExecution.start(SqlQueryExecution.java:376)
2020-11-10T07:35:34.9609014Z    at io.prestosql.execution.SqlQueryManager.createQuery(SqlQueryManager.java:245)
2020-11-10T07:35:34.9615254Z    at io.prestosql.dispatcher.LocalDispatchQuery.lambda$startExecution$7(LocalDispatchQuery.java:139)
2020-11-10T07:35:34.9618271Z    at io.prestosql.$gen.Presto_testversion____20201110_073350_2996.run(Unknown Source)
2020-11-10T07:35:34.9621099Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:34.9627159Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:34.9630421Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:34.9630816Z 
2020-11-10T07:35:34.9634300Z [ERROR] testNestedMaterializedViews(io.prestosql.plugin.iceberg.TestIcebergMaterializedViews)  Time elapsed: 0.253 s  <<< FAILURE!
2020-11-10T07:35:34.9641337Z java.lang.IllegalArgumentException: Object '18147' does not match type long
2020-11-10T07:35:34.9644419Z    at io.prestosql.spi.predicate.NullableValue.<init>(NullableValue.java:46)
2020-11-10T07:35:34.9648744Z    at io.prestosql.spi.predicate.NullableValue.of(NullableValue.java:67)
2020-11-10T07:35:34.9655238Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeNullableValue(TableStatisticsMaker.java:233)
2020-11-10T07:35:34.9662000Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.dataFileMatches(TableStatisticsMaker.java:221)
2020-11-10T07:35:34.9669561Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeTableStatistics(TableStatisticsMaker.java:131)
2020-11-10T07:35:34.9677241Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.getTableStatistics(TableStatisticsMaker.java:72)
2020-11-10T07:35:34.9683474Z    at io.prestosql.plugin.iceberg.IcebergMetadata.getTableStatistics(IcebergMetadata.java:722)
2020-11-10T07:35:34.9692587Z    at io.prestosql.plugin.base.classloader.ClassLoaderSafeConnectorMetadata.getTableStatistics(ClassLoaderSafeConnectorMetadata.java:276)
2020-11-10T07:35:34.9701971Z    at io.prestosql.metadata.MetadataManager.getTableStatistics(MetadataManager.java:524)
2020-11-10T07:35:34.9706397Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:64)
2020-11-10T07:35:34.9711295Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:39)
2020-11-10T07:35:34.9714147Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:34.9718904Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9724437Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9729170Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9733558Z    at io.prestosql.cost.ProjectStatsRule.doCalculate(ProjectStatsRule.java:52)
2020-11-10T07:35:34.9736898Z    at io.prestosql.cost.ProjectStatsRule.doCalculate(ProjectStatsRule.java:30)
2020-11-10T07:35:34.9741568Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:34.9746778Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9753365Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9758649Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9762519Z    at io.prestosql.cost.StatsAndCosts.create(StatsAndCosts.java:87)
2020-11-10T07:35:34.9766421Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:222)
2020-11-10T07:35:34.9770175Z    at io.prestosql.sql.analyzer.QueryExplainer.getLogicalPlan(QueryExplainer.java:197)
2020-11-10T07:35:34.9775060Z    at io.prestosql.sql.analyzer.QueryExplainer.getPlan(QueryExplainer.java:133)
2020-11-10T07:35:34.9781059Z    at io.prestosql.testing.AbstractTestQueryFramework.lambda$getExplainPlan$3(AbstractTestQueryFramework.java:352)
2020-11-10T07:35:34.9786494Z    at io.prestosql.transaction.TransactionBuilder.execute(TransactionBuilder.java:150)
2020-11-10T07:35:34.9789095Z    at io.prestosql.testing.AbstractTestQueryFramework.getExplainPlan(AbstractTestQueryFramework.java:351)
2020-11-10T07:35:34.9793117Z    at io.prestosql.plugin.iceberg.TestIcebergMaterializedViews.testNestedMaterializedViews(TestIcebergMaterializedViews.java:276)
2020-11-10T07:35:34.9796261Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-11-10T07:35:34.9798327Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-11-10T07:35:34.9800691Z    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-11-10T07:35:34.9802233Z    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2020-11-10T07:35:34.9803941Z    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
2020-11-10T07:35:34.9805697Z    at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
2020-11-10T07:35:34.9807121Z    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
2020-11-10T07:35:34.9808520Z    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
2020-11-10T07:35:34.9810490Z    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
2020-11-10T07:35:34.9814527Z    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
2020-11-10T07:35:34.9816365Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:34.9818258Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:34.9819456Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:34.9819849Z 
2020-11-10T07:35:34.9821141Z [ERROR] testReplace(io.prestosql.plugin.iceberg.TestIcebergMaterializedViews)  Time elapsed: 0.417 s  <<< FAILURE!
2020-11-10T07:35:34.9823304Z java.lang.IllegalArgumentException: Object '18147' does not match type long
2020-11-10T07:35:34.9824626Z    at io.prestosql.spi.predicate.NullableValue.<init>(NullableValue.java:46)
2020-11-10T07:35:34.9826156Z    at io.prestosql.spi.predicate.NullableValue.of(NullableValue.java:67)
2020-11-10T07:35:34.9828294Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeNullableValue(TableStatisticsMaker.java:233)
2020-11-10T07:35:34.9831111Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.dataFileMatches(TableStatisticsMaker.java:221)
2020-11-10T07:35:34.9833971Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeTableStatistics(TableStatisticsMaker.java:131)
2020-11-10T07:35:34.9836910Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.getTableStatistics(TableStatisticsMaker.java:72)
2020-11-10T07:35:34.9839591Z    at io.prestosql.plugin.iceberg.IcebergMetadata.getTableStatistics(IcebergMetadata.java:722)
2020-11-10T07:35:34.9843749Z    at io.prestosql.plugin.base.classloader.ClassLoaderSafeConnectorMetadata.getTableStatistics(ClassLoaderSafeConnectorMetadata.java:276)
2020-11-10T07:35:34.9847539Z    at io.prestosql.metadata.MetadataManager.getTableStatistics(MetadataManager.java:524)
2020-11-10T07:35:34.9849675Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:64)
2020-11-10T07:35:34.9851634Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:39)
2020-11-10T07:35:34.9853608Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:34.9855613Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9858161Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9860397Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9862138Z    at io.prestosql.cost.ProjectStatsRule.doCalculate(ProjectStatsRule.java:52)
2020-11-10T07:35:34.9863786Z    at io.prestosql.cost.ProjectStatsRule.doCalculate(ProjectStatsRule.java:30)
2020-11-10T07:35:34.9865338Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:34.9867296Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:34.9876062Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:34.9878579Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:34.9881349Z    at io.prestosql.cost.StatsAndCosts.create(StatsAndCosts.java:87)
2020-11-10T07:35:34.9882843Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:222)
2020-11-10T07:35:34.9884744Z    at io.prestosql.sql.analyzer.QueryExplainer.getLogicalPlan(QueryExplainer.java:197)
2020-11-10T07:35:34.9886850Z    at io.prestosql.sql.analyzer.QueryExplainer.getPlan(QueryExplainer.java:133)
2020-11-10T07:35:34.9889145Z    at io.prestosql.testing.AbstractTestQueryFramework.lambda$getExplainPlan$3(AbstractTestQueryFramework.java:352)
2020-11-10T07:35:34.9891577Z    at io.prestosql.transaction.TransactionBuilder.execute(TransactionBuilder.java:150)
2020-11-10T07:35:34.9894903Z    at io.prestosql.testing.AbstractTestQueryFramework.getExplainPlan(AbstractTestQueryFramework.java:351)
2020-11-10T07:35:34.9898182Z    at io.prestosql.plugin.iceberg.TestIcebergMaterializedViews.testReplace(TestIcebergMaterializedViews.java:257)
2020-11-10T07:35:34.9900959Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-11-10T07:35:34.9903311Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-11-10T07:35:34.9906052Z    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-11-10T07:35:34.9907924Z    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2020-11-10T07:35:34.9909488Z    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
2020-11-10T07:35:34.9911008Z    at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
2020-11-10T07:35:34.9912136Z    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
2020-11-10T07:35:34.9913436Z    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
2020-11-10T07:35:34.9914956Z    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
2020-11-10T07:35:34.9916548Z    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
2020-11-10T07:35:34.9917990Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:34.9919511Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:34.9920480Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:34.9920885Z 
2020-11-10T07:35:34.9922033Z [ERROR] testSqlFeatures(io.prestosql.plugin.iceberg.TestIcebergMaterializedViews)  Time elapsed: 0.939 s  <<< FAILURE!
2020-11-10T07:35:34.9923692Z java.lang.RuntimeException: Object '18147' does not match type long
2020-11-10T07:35:34.9925223Z    at io.prestosql.testing.AbstractTestingPrestoClient.execute(AbstractTestingPrestoClient.java:115)
2020-11-10T07:35:34.9927445Z    at io.prestosql.testing.DistributedQueryRunner.execute(DistributedQueryRunner.java:448)
2020-11-10T07:35:34.9929361Z    at io.prestosql.testing.QueryAssertions.assertUpdate(QueryAssertions.java:71)
2020-11-10T07:35:34.9931765Z    at io.prestosql.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:225)
2020-11-10T07:35:34.9934576Z    at io.prestosql.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:220)
2020-11-10T07:35:34.9938169Z    at io.prestosql.plugin.iceberg.TestIcebergMaterializedViews.testSqlFeatures(TestIcebergMaterializedViews.java:209)
2020-11-10T07:35:34.9941080Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-11-10T07:35:34.9943411Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-11-10T07:35:34.9946444Z    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-11-10T07:35:34.9948397Z    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2020-11-10T07:35:34.9950136Z    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
2020-11-10T07:35:34.9952014Z    at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
2020-11-10T07:35:34.9953289Z    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
2020-11-10T07:35:34.9954782Z    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
2020-11-10T07:35:34.9956564Z    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
2020-11-10T07:35:34.9958311Z    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
2020-11-10T07:35:34.9959986Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:34.9962118Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:34.9963453Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:34.9964711Z Caused by: java.lang.IllegalArgumentException: Object '18147' does not match type long
2020-11-10T07:35:34.9968188Z    at io.prestosql.spi.predicate.NullableValue.<init>(NullableValue.java:46)
2020-11-10T07:35:34.9971149Z    at io.prestosql.spi.predicate.NullableValue.of(NullableValue.java:67)
2020-11-10T07:35:34.9975416Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeNullableValue(TableStatisticsMaker.java:233)
2020-11-10T07:35:34.9979392Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.dataFileMatches(TableStatisticsMaker.java:221)
2020-11-10T07:35:34.9983474Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.makeTableStatistics(TableStatisticsMaker.java:131)
2020-11-10T07:35:34.9987550Z    at io.prestosql.plugin.iceberg.TableStatisticsMaker.getTableStatistics(TableStatisticsMaker.java:72)
2020-11-10T07:35:34.9991918Z    at io.prestosql.plugin.iceberg.IcebergMetadata.getTableStatistics(IcebergMetadata.java:722)
2020-11-10T07:35:34.9998497Z    at io.prestosql.plugin.base.classloader.ClassLoaderSafeConnectorMetadata.getTableStatistics(ClassLoaderSafeConnectorMetadata.java:276)
2020-11-10T07:35:35.0002247Z    at io.prestosql.metadata.MetadataManager.getTableStatistics(MetadataManager.java:524)
2020-11-10T07:35:35.0006410Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:64)
2020-11-10T07:35:35.0010006Z    at io.prestosql.cost.TableScanStatsRule.doCalculate(TableScanStatsRule.java:39)
2020-11-10T07:35:35.0013472Z    at io.prestosql.cost.SimpleStatsRule.calculate(SimpleStatsRule.java:39)
2020-11-10T07:35:35.0017592Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:82)
2020-11-10T07:35:35.0021712Z    at io.prestosql.cost.ComposableStatsCalculator.calculateStats(ComposableStatsCalculator.java:70)
2020-11-10T07:35:35.0024956Z    at io.prestosql.cost.CachingStatsProvider.getStats(CachingStatsProvider.java:80)
2020-11-10T07:35:35.0029165Z    at io.prestosql.cost.CostCalculatorUsingExchanges$CostEstimator.getStats(CostCalculatorUsingExchanges.java:361)
2020-11-10T07:35:35.0033879Z    at io.prestosql.cost.CostCalculatorUsingExchanges$CostEstimator.visitTableScan(CostCalculatorUsingExchanges.java:150)
2020-11-10T07:35:35.0038500Z    at io.prestosql.cost.CostCalculatorUsingExchanges$CostEstimator.visitTableScan(CostCalculatorUsingExchanges.java:83)
2020-11-10T07:35:35.0042219Z    at io.prestosql.sql.planner.plan.TableScanNode.accept(TableScanNode.java:143)
2020-11-10T07:35:35.0046274Z    at io.prestosql.cost.CostCalculatorUsingExchanges.calculateCost(CostCalculatorUsingExchanges.java:80)
2020-11-10T07:35:35.0051518Z    at io.prestosql.cost.CostCalculatorWithEstimatedExchanges.calculateCost(CostCalculatorWithEstimatedExchanges.java:64)
2020-11-10T07:35:35.0054992Z    at io.prestosql.cost.CachingCostProvider.calculateCost(CachingCostProvider.java:109)
2020-11-10T07:35:35.0059242Z    at io.prestosql.cost.CachingCostProvider.getGroupCost(CachingCostProvider.java:101)
2020-11-10T07:35:35.0062749Z    at io.prestosql.cost.CachingCostProvider.getCost(CachingCostProvider.java:70)
2020-11-10T07:35:35.0067490Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.createJoinEnumerationResult(ReorderJoins.java:471)
2020-11-10T07:35:35.0072076Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.getJoinSource(ReorderJoins.java:382)
2020-11-10T07:35:35.0076266Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.createJoin(ReorderJoins.java:291)
2020-11-10T07:35:35.0081391Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.createJoinAccordingToPartitioning(ReorderJoins.java:262)
2020-11-10T07:35:35.0085995Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins$JoinEnumerator.chooseJoinOrder(ReorderJoins.java:206)
2020-11-10T07:35:35.0090217Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins.chooseJoinOrder(ReorderJoins.java:160)
2020-11-10T07:35:35.0094046Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins.apply(ReorderJoins.java:133)
2020-11-10T07:35:35.0096447Z    at io.prestosql.sql.planner.iterative.rule.ReorderJoins.apply(ReorderJoins.java:94)
2020-11-10T07:35:35.0098997Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.transform(IterativeOptimizer.java:168)
2020-11-10T07:35:35.0103920Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreNode(IterativeOptimizer.java:143)
2020-11-10T07:35:35.0108806Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:108)
2020-11-10T07:35:35.0113855Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreChildren(IterativeOptimizer.java:193)
2020-11-10T07:35:35.0118343Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:110)
2020-11-10T07:35:35.0122472Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreChildren(IterativeOptimizer.java:193)
2020-11-10T07:35:35.0125514Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:110)
2020-11-10T07:35:35.0129226Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreChildren(IterativeOptimizer.java:193)
2020-11-10T07:35:35.0135179Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:110)
2020-11-10T07:35:35.0140344Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreChildren(IterativeOptimizer.java:193)
2020-11-10T07:35:35.0144867Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.exploreGroup(IterativeOptimizer.java:110)
2020-11-10T07:35:35.0148510Z    at io.prestosql.sql.planner.iterative.IterativeOptimizer.optimize(IterativeOptimizer.java:99)
2020-11-10T07:35:35.0150860Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:206)
2020-11-10T07:35:35.0152538Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:195)
2020-11-10T07:35:35.0156225Z    at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:190)
2020-11-10T07:35:35.0160150Z    at io.prestosql.execution.SqlQueryExecution.doPlanQuery(SqlQueryExecution.java:444)
2020-11-10T07:35:35.0164092Z    at io.prestosql.execution.SqlQueryExecution.planQuery(SqlQueryExecution.java:424)
2020-11-10T07:35:35.0167345Z    at io.prestosql.execution.SqlQueryExecution.start(SqlQueryExecution.java:376)
2020-11-10T07:35:35.0170049Z    at io.prestosql.execution.SqlQueryManager.createQuery(SqlQueryManager.java:245)
2020-11-10T07:35:35.0173949Z    at io.prestosql.dispatcher.LocalDispatchQuery.lambda$startExecution$7(LocalDispatchQuery.java:139)
2020-11-10T07:35:35.0176849Z    at io.prestosql.$gen.Presto_testversion____20201110_073350_2996.run(Unknown Source)
2020-11-10T07:35:35.0179732Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:35.0182162Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:35.0183369Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:35.0183765Z 
2020-11-10T07:35:35.0187502Z [ERROR] tearDown(io.prestosql.plugin.iceberg.TestIcebergMaterializedViews)  Time elapsed: 1.214 s  <<< FAILURE!
2020-11-10T07:35:35.0189665Z java.lang.RuntimeException: Not an Iceberg table: tpch.materialized_view_agg
2020-11-10T07:35:35.0192130Z    at io.prestosql.testing.AbstractTestingPrestoClient.execute(AbstractTestingPrestoClient.java:115)
2020-11-10T07:35:35.0196621Z    at io.prestosql.testing.DistributedQueryRunner.execute(DistributedQueryRunner.java:448)
2020-11-10T07:35:35.0201004Z    at io.prestosql.testing.QueryAssertions.assertUpdate(QueryAssertions.java:71)
2020-11-10T07:35:35.0205309Z    at io.prestosql.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:215)
2020-11-10T07:35:35.0209426Z    at io.prestosql.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:210)
2020-11-10T07:35:35.0213288Z    at io.prestosql.plugin.iceberg.TestIcebergMaterializedViews.tearDown(TestIcebergMaterializedViews.java:308)
2020-11-10T07:35:35.0215579Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2020-11-10T07:35:35.0217992Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-11-10T07:35:35.0223165Z    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-11-10T07:35:35.0225053Z    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2020-11-10T07:35:35.0229633Z    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
2020-11-10T07:35:35.0232462Z    at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
2020-11-10T07:35:35.0234137Z    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:217)
2020-11-10T07:35:35.0235683Z    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:144)
2020-11-10T07:35:35.0240501Z    at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:217)
2020-11-10T07:35:35.0243107Z    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
2020-11-10T07:35:35.0244775Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:35.0248175Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:35.0250248Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:35.0254938Z Caused by: io.prestosql.plugin.iceberg.UnknownTableTypeException: Not an Iceberg table: tpch.materialized_view_agg
2020-11-10T07:35:35.0257962Z    at io.prestosql.plugin.iceberg.IcebergMetadata.getTableHandle(IcebergMetadata.java:215)
2020-11-10T07:35:35.0260397Z    at io.prestosql.plugin.iceberg.IcebergMetadata.getTableHandle(IcebergMetadata.java:150)
2020-11-10T07:35:35.0266230Z    at io.prestosql.plugin.base.classloader.ClassLoaderSafeConnectorMetadata.getTableHandle(ClassLoaderSafeConnectorMetadata.java:196)
2020-11-10T07:35:35.0270170Z    at io.prestosql.metadata.MetadataManager.getTableHandle(MetadataManager.java:344)
2020-11-10T07:35:35.0271688Z    at io.prestosql.execution.DropTableTask.execute(DropTableTask.java:49)
2020-11-10T07:35:35.0272979Z    at io.prestosql.execution.DropTableTask.execute(DropTableTask.java:34)
2020-11-10T07:35:35.0274566Z    at io.prestosql.execution.DataDefinitionExecution.start(DataDefinitionExecution.java:167)
2020-11-10T07:35:35.0276336Z    at io.prestosql.execution.SqlQueryManager.createQuery(SqlQueryManager.java:245)
2020-11-10T07:35:35.0278371Z    at io.prestosql.dispatcher.LocalDispatchQuery.lambda$startExecution$7(LocalDispatchQuery.java:139)
2020-11-10T07:35:35.0281487Z    at io.prestosql.$gen.Presto_testversion____20201110_073350_2996.run(Unknown Source)
2020-11-10T07:35:35.0284704Z    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2020-11-10T07:35:35.0287906Z    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2020-11-10T07:35:35.0289578Z    at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-10T07:35:35.0290361Z 
2020-11-10T07:35:35.4404651Z [INFO] 
2020-11-10T07:35:35.4405034Z [INFO] Results:
2020-11-10T07:35:35.4405304Z [INFO] 
2020-11-10T07:35:35.4407022Z [ERROR] Failures: 
2020-11-10T07:35:35.4410141Z [ERROR]   TestIcebergMaterializedViews.tearDown:308->AbstractTestQueryFramework.assertUpdate:210->AbstractTestQueryFramework.assertUpdate:215 » Runtime
2020-11-10T07:35:35.4428877Z [ERROR]   TestIcebergMaterializedViews.testCreateRefreshSelect:81->AbstractTestQueryFramework.getExplainPlan:351->AbstractTestQueryFramework.lambda$getExplainPlan$3:352 » IllegalArgument
2020-11-10T07:35:35.4434732Z [ERROR]   TestIcebergMaterializedViews.testDetectStaleness:161->AbstractTestQueryFramework.assertUpdate:220->AbstractTestQueryFramework.assertUpdate:225 » Runtime
2020-11-10T07:35:35.4488329Z [ERROR]   TestIcebergMaterializedViews.testNestedMaterializedViews:276->AbstractTestQueryFramework.getExplainPlan:351->AbstractTestQueryFramework.lambda$getExplainPlan$3:352 » IllegalArgument
2020-11-10T07:35:35.4500812Z [ERROR]   TestIcebergMaterializedViews.testReplace:257->AbstractTestQueryFramework.getExplainPlan:351->AbstractTestQueryFramework.lambda$getExplainPlan$3:352 » IllegalArgument
2020-11-10T07:35:35.4504877Z [ERROR]   TestIcebergMaterializedViews.testSqlFeatures:209->AbstractTestQueryFramework.assertUpdate:220->AbstractTestQueryFramework.assertUpdate:225 » Runtime
2020-11-10T07:35:35.4506780Z [INFO] 
findepi commented 4 years ago

cc @anjalinorwood

findepi commented 4 years ago

Locally, this is failing consistently for me. Since this has just been merged, i assume this is due to a logical merged conflict. I don't what needs to be fixed, and I don't want to revert all of the https://github.com/prestosql/presto/pull/4832 PR, so i propose we disable the test for now and fix it ASAP. https://github.com/prestosql/presto/pull/5893

anjalinorwood commented 4 years ago

@findepi I am investigating. Thanks for disabling the tests.

findepi commented 3 years ago

https://github.com/trinodb/trino/runs/3666711254


Error:  Tests run: 548, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 492.316 s <<< FAILURE! - in TestSuite
Error:  io.trino.plugin.iceberg.TestIcebergMaterializedViews.testCreateRefreshSelect  Time elapsed: 0.01 s  <<< FAILURE!
java.util.ConcurrentModificationException
    at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1493)
    at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1516)
    at io.trino.testing.TestingAccessControlManager.shouldDenyPrivilege(TestingAccessControlManager.java:631)
    at io.trino.testing.TestingAccessControlManager.shouldDenyPrivilege(TestingAccessControlManager.java:626)
    at io.trino.testing.TestingAccessControlManager.checkCanSelectFromColumns(TestingAccessControlManager.java:580)
    at io.trino.sql.analyzer.Analyzer.lambda$analyze$0(Analyzer.java:96)
    at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
    at io.trino.sql.analyzer.Analyzer.lambda$analyze$1(Analyzer.java:95)
    at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
    at io.trino.sql.analyzer.Analyzer.analyze(Analyzer.java:94)
    at io.trino.sql.analyzer.Analyzer.analyze(Analyzer.java:83)
    at io.trino.sql.analyzer.QueryExplainer.analyze(QueryExplainer.java:121)
    at io.trino.sql.analyzer.QueryExplainer.getLogicalPlan(QueryExplainer.java:198)
    at io.trino.sql.analyzer.QueryExplainer.getPlan(QueryExplainer.java:139)
    at io.trino.testing.AbstractTestQueryFramework.lambda$getExplainPlan$3(AbstractTestQueryFramework.java:416)
    at io.trino.transaction.TransactionBuilder.execute(TransactionBuilder.java:150)
    at io.trino.testing.AbstractTestQueryFramework.getExplainPlan(AbstractTestQueryFramework.java:415)
    at io.trino.plugin.iceberg.TestIcebergMaterializedViews.testCreateRefreshSelect(TestIcebergMaterializedViews.java:313)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
findepi commented 2 years ago

TestIcebergMaterializedViews.testDetectStaleness https://github.com/trinodb/trino/runs/4580352480?check_suite_focus=true

sopel39 commented 2 years ago

still happening https://github.com/trinodb/trino/runs/5498750605