Open linghengqian opened 6 months ago
Thanks for raising the issue, @linghengqian! But, IIRC it can be related to the move from Presto to Trino years ago.
Following with what you describe I've found deploy-docker doc and it seems the existing container implementation is missing. Also, when just switching to prestodb/presto
image I got Query failed (#20240628_211923_00000_snga6): Catalog does not exist: memory
. So, I think we need memory configuration.
I don't think I am the right person to do those changes. But, PRs are welcome from the ones with Presto knowledge.
Thanks for raising the issue, @linghengqian! But, IIRC it can be related to the move from Presto to Trino years ago.
Following with what you describe I've found deploy-docker doc and it seems the existing container implementation is missing. Also, when just switching to
prestodb/presto
image I gotQuery failed (#20240628_211923_00000_snga6): Catalog does not exist: memory
. So, I think we need memory configuration.I don't think I am the right person to do those changes. But, PRs are welcome from the ones with Presto knowledge.
Module
Presto
Problem
Presto Module uses the outdated Docker Image of
ghcr.io/trinodb/presto
and needs to be updated toprestodb/presto
.Refer to https://github.com/testcontainers/testcontainers-java/blob/1.19.8/modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java and https://github.com/orgs/trinodb/packages/container/package/presto .
ghcr.io/trinodb/presto
has not been updated in 3 years.I'm confused by the instructions at https://java.testcontainers.org/modules/databases/presto/ .
presto
has been active, see https://hub.docker.com/r/prestodb/presto and https://github.com/prestodb/presto .Solution
prestodb/presto
instead ofghcr.io/trinodb/presto
inorg.testcontainers.containers.PrestoContainer
.Benefit
Alternatives
ghcr.io/trinodb/presto
was used initially.Would you like to help contributing this feature?
No