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.49k stars 3.02k forks source link

Fix broken TestTrinoGlueCatalog.testCreateMaterializedViewWithSystemSecurity #24222

Closed ebyhr closed 5 hours ago

ebyhr commented 7 hours ago

https://github.com/trinodb/trino/actions/runs/11964569157/job/33357155305

Error:  io.trino.plugin.iceberg.catalog.glue.TestTrinoGlueCatalog.testCreateMaterializedViewWithSystemSecurity -- Time elapsed: 0.565 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "java.util.Map.get(Object)" is null
    at io.trino.plugin.iceberg.IcebergTableProperties.getObjectStoreEnabled(IcebergTableProperties.java:269)
    at io.trino.plugin.iceberg.IcebergUtil.createTableProperties(IcebergUtil.java:853)
    at io.trino.plugin.iceberg.catalog.AbstractTrinoCatalog.createMaterializedViewStorage(AbstractTrinoCatalog.java:312)
    at io.trino.plugin.iceberg.catalog.glue.TrinoGlueCatalog.createMaterializedView(TrinoGlueCatalog.java:1131)
    at io.trino.plugin.iceberg.catalog.glue.TestTrinoGlueCatalog.testCreateMaterializedViewWithSystemSecurity(TestTrinoGlueCatalog.java:165)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1499)
    at java.base/java.util.concurrent.ForkJoinPool.helpJoin(ForkJoinPool.java:2272)
    at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:495)
    at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:662)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)