Hello Laszlo Gaal, Impala Public Jenkins, John Sherman,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/20444
to look at the new patch set (#2).
Change subject: IMPALA-12414: Add scripts to run Trino in the dev environment
......................................................................
IMPALA-12414: Add scripts to run Trino in the dev environment
This patch set adds a couple of scripts that makes it easy to run
Trino in the dev environment.
At first one need to build our custom Trino docker image via:
testdata/bin/build-trino-docker-image.sh
Then we can run the Trino container via:
testdata/bin/run-trino.sh
One can connect to the Trino CLI by:
testdata/bin/trino-cli.sh
Trino will be configured to access our HMS and HDFS. We add the
'hive' and 'iceberg' catalogs for Trino. Legacy Hive tables can
be accessed via the 'hive' catalog, while Iceberg tables (only the
ones reside in HiveCatalog) can be accessed via the 'iceberg'
catalog. E.g.:
trino> use iceberg.functional_parquet;
trino:functional_parquet> select count(*)
from iceberg_mixed_file_format;
_col0
-------
3
(1 row)
Testing
* no tests added
* later we might always run Trino as part of the minicluster and
add interop tests with it
Change-Id: I49818c7a95e23988b3fbc3d31b4c7fa738e0d952
---
A testdata/bin/build-trino-docker-image.sh
A testdata/bin/kill-trino.sh
A testdata/bin/minicluster_trino/Dockerfile
A testdata/bin/minicluster_trino/hive.properties
A testdata/bin/minicluster_trino/iceberg.properties
A testdata/bin/run-trino.sh
A testdata/bin/trino-cli.sh
7 files changed, 174 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/44/20444/2
--
To view, visit http://gerrit.cloudera.org:8080/20444
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I49818c7a95e23988b3fbc3d31b4c7fa738e0d952
Gerrit-Change-Number: 20444
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: John Sherman <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>