Add S3 Http Proxy configuration support#11255
Conversation
7faeb10 to
887ab5f
Compare
plugin/trino-hive/src/main/java/io/trino/plugin/hive/s3/HiveS3Config.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/test/java/io/trino/plugin/hive/s3/TestHiveS3Config.java
Outdated
Show resolved
Hide resolved
887ab5f to
be54cdc
Compare
plugin/trino-hive/src/main/java/io/trino/plugin/hive/s3/HiveS3Config.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/main/java/io/trino/plugin/hive/s3/HiveS3Config.java
Outdated
Show resolved
Hide resolved
dafc98b to
692d228
Compare
losipiuk
left a comment
There was a problem hiding this comment.
LGTM. Is there a way to test it? Maybe an integration test with MinIO + a HTTP proxy container (not sure if worth it).
Also did you have a chance to at least test it manually?
@losipiuk
On our site we test if configuration is properly handled. But not how TrinoS3FileSystem is configured. |
Why do you think it would be slow. It would as fast as any other integration test where we put up MinIO container. It may be a bit painful to code - but runtime-wise I do not expect it will be a problem.
You mean tests like we have in |
692d228 to
0f87ddd
Compare
From my observations they are slower. But yes it's not going to be supper heavy.
Yes just added it :) |
|
@losipiuk I've adde Integration test using Apache HTTPD + MinIO to test S3 Proxy configuration. |
37b50d0 to
16f902e
Compare
16f902e to
0f87ddd
Compare
|
@losipiuk reverted to single commit (all changes connected to Proxy Integration Test dropped) |
|
CI: #4936 |
|
test coming here: #11310 |
Description
Add S3 Http Proxy configuration support for Trino
Documentation
(X) No documentation is needed.
(V) Sufficient documentation is included in this PR.
(X) Documentation PR is available with #prnumber.
(X) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
(X) No release notes entries required.
(V) Release notes entries required with the following suggested text: