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

Use AWS S3 v2 client for testing #23991

Closed findinpath closed 3 weeks ago

findinpath commented 3 weeks ago

Description

Migrate test code to rely on AWS S3 v2 client because AWS S3 v1 is deprecated.

Deprecation notice in code:

WARN  main  com.amazonaws.util.VersionInfoUtils   The AWS SDK for Java 1.x entere
d maintenance mode starting July 31, 2024 and will reach end of support on December 31, 2025. For more information, see
 https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/
You can print where on the file system the AWS SDK for Java 1.x core runtime is located by setting the AWS_JAVA_V1_PRIN
T_LOCATION environment variable or aws.java.v1.printLocation system property to 'true'.
This message can be disabled by setting the AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or aws.ja
va.v1.disableDeprecationAnnouncement system property to 'true'.
The AWS SDK for Java 1.x is being used here:

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. ( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)
ebyhr commented 3 weeks ago

/test-with-secrets sha=37cf020deddc38a61779ad1d5ab52302bd3b37bd

github-actions[bot] commented 3 weeks ago

The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/11609009114