[ 
https://issues.apache.org/jira/browse/IMPALA-12414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765332#comment-17765332
 ] 

ASF subversion and git services commented on IMPALA-12414:
----------------------------------------------------------

Commit cf819f967b2ba01e9903c8f69fea0ad09e35e34e in impala's branch 
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=cf819f967 ]

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
Reviewed-on: http://gerrit.cloudera.org:8080/20444
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Add scripts to run Trino in the dev environment
> -----------------------------------------------
>
>                 Key: IMPALA-12414
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12414
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>
> Add some scripts to conveniently run Trino in the minicluster environment.
> Maybe later we could run Trino with the other minicluster components by 
> default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to