Skip to content

Broken testMigrateTable & testMigratePartitionedTable in TestSharedGlueMetastore #25859

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ebyhr opened this issue May 25, 2025 · 1 comment
Closed
Assignees
Labels
iceberg Iceberg connector

Comments

@ebyhr
Copy link
Member

ebyhr commented May 25, 2025

https://github.com/trinodb/trino/actions/runs/15212548249/job/42846755983

Error:  Tests run: 12, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 44.96 s <<< FAILURE! -- in io.trino.plugin.iceberg.catalog.glue.TestSharedGlueMetastore
Error:  io.trino.plugin.iceberg.catalog.glue.TestSharedGlueMetastore.testMigratePartitionedTable -- Time elapsed: 1.874 s <<< ERROR!
io.trino.testing.QueryFailedException: Failed to migrate table
	at io.trino.testing.AbstractTestingTrinoClient.execute(AbstractTestingTrinoClient.java:138)
	at io.trino.testing.DistributedQueryRunner.executeInternal(DistributedQueryRunner.java:565)
	at io.trino.testing.DistributedQueryRunner.executeWithPlan(DistributedQueryRunner.java:554)
	at io.trino.testing.QueryAssertions.assertDistributedUpdate(QueryAssertions.java:106)
	at io.trino.testing.QueryAssertions.assertUpdate(QueryAssertions.java:60)
	at io.trino.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:416)
	at io.trino.testing.AbstractTestQueryFramework.assertUpdate(AbstractTestQueryFramework.java:411)
	at io.trino.plugin.iceberg.BaseSharedMetastoreTest.testMigratePartitionedTable(BaseSharedMetastoreTest.java:256)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:760)
	at io.trino.execution.CallTask.execute(CallTask.java:210)
	at io.trino.execution.CallTask.execute(CallTask.java:70)
	at io.trino.execution.DataDefinitionExecution.start(DataDefinitionExecution.java:152)
	at io.trino.execution.SqlQueryManager.createQuery(SqlQueryManager.java:272)
	at io.trino.dispatcher.LocalDispatchQuery.startExecution(LocalDispatchQuery.java:150)
	at io.trino.dispatcher.LocalDispatchQuery.lambda$waitForMinimumWorkers$1(LocalDispatchQuery.java:134)
	at io.airlift.concurrent.MoreFutures.lambda$addSuccessCallback$12(MoreFutures.java:570)
	at io.airlift.concurrent.MoreFutures$3.onSuccess(MoreFutures.java:545)
	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1132)
	at io.trino.$gen.Trino_testversion____20250525_052808_316.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
	at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: io.trino.spi.TrinoException: updating `table_type` parameter is not supported. (Service: Glue, Status Code: [400](https://github.com/trinodb/trino/actions/runs/15235131771/job/42848085537?pr=25858#step:17:401), Request ID: 238307d2-82ce-4f3d-9f31-afd0c483a15c) (SDK Attempt Count: 1)
	at io.trino.plugin.hive.metastore.glue.GlueHiveMetastore.updateTable(GlueHiveMetastore.java:626)
	at io.trino.plugin.hive.metastore.glue.GlueHiveMetastore.replaceTable(GlueHiveMetastore.java:601)
	at io.trino.metastore.tracing.TracingHiveMetastore.lambda$replaceTable$0(TracingHiveMetastore.java:244)
	at io.trino.metastore.tracing.Tracing.lambda$withTracing$0(Tracing.java:35)
	at io.trino.metastore.tracing.Tracing.withTracing(Tracing.java:43)
	at io.trino.metastore.tracing.Tracing.withTracing(Tracing.java:34)
	at io.trino.metastore.tracing.TracingHiveMetastore.replaceTable(TracingHiveMetastore.java:244)
	at io.trino.plugin.iceberg.procedure.MigrateProcedure.doMigrate(MigrateProcedure.java:249)
	... 16 more
Caused by: software.amazon.awssdk.services.glue.model.InvalidInputException: updating `table_type` parameter is not supported. (Service: Glue, Status Code: 400, Request ID: 238307d2-82ce-4f3d-9f31-afd0c483a15c) (SDK Attempt Count: 1)
	at software.amazon.awssdk.services.glue.model.InvalidInputException$BuilderImpl.build(InvalidInputException.java:215)
	at software.amazon.awssdk.services.glue.model.InvalidInputException$BuilderImpl.build(InvalidInputException.java:146)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.utils.RetryableStageHelper.retryPolicyDisallowedRetryException(RetryableStageHelper.java:168)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:73)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:36)
	at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206)
	at software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:53)
	at software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:35)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.executeWithTimer(ApiCallTimeoutTrackingStage.java:82)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:62)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:43)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:50)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:32)
	at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206)
	at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.ExecutionFailureExceptionReportingStage.execute(ExecutionFailureExceptionReportingStage.java:37)
	at software.amazon.awssdk.core.internal.http.pipeline.stages.ExecutionFailureExceptionReportingStage.execute(ExecutionFailureExceptionReportingStage.java:26)
	at software.amazon.awssdk.core.internal.http.AmazonSyncHttpClient$RequestExecutionBuilderImpl.execute(AmazonSyncHttpClient.java:210)
	at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.invoke(BaseSyncClientHandler.java:103)
	at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.doExecute(BaseSyncClientHandler.java:173)
	at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.lambda$execute$1(BaseSyncClientHandler.java:80)
	at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.measureApiCallSuccess(BaseSyncClientHandler.java:182)
	at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:74)
	at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45)
	at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:53)
	at software.amazon.awssdk.services.glue.DefaultGlueClient.updateTable(DefaultGlueClient.java:51929)
	at software.amazon.awssdk.services.glue.GlueClient.updateTable(GlueClient.java:28264)
	at io.trino.plugin.hive.metastore.glue.GlueHiveMetastore.lambda$updateTable$1(GlueHiveMetastore.java:618)
	at io.trino.plugin.hive.metastore.glue.AwsApiCallStats.call(AwsApiCallStats.java:36)
	at io.trino.plugin.hive.metastore.glue.GlueHiveMetastore.updateTable(GlueHiveMetastore.java:618)
	... 23 more
@ebyhr ebyhr self-assigned this May 25, 2025
@kumiDa kumiDa added the iceberg Iceberg connector label May 31, 2025
@ebyhr
Copy link
Member Author

ebyhr commented Jun 5, 2025

Closing as #25934

@ebyhr ebyhr closed this as completed Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iceberg Iceberg connector
Development

No branches or pull requests

2 participants