You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/09/06 21:04:12 UTC

[GitHub] [hudi] yihua commented on a diff in pull request #6391: [HUDI-4522] Add instructions to avoid type mismatch errors when querying hudi tables on presto and trino

yihua commented on code in PR #6391:
URL: https://github.com/apache/hudi/pull/6391#discussion_r964152219


##########
website/docs/query_engine_setup.md:
##########
@@ -59,7 +61,11 @@ for Merge-On-Read tables. This is through the initial input format based integra
 known performance limitations with very large tables, which has been since fixed on PrestoDB. We are working on replicating the same fixes on Trino as well.
 :::
 
-To query Hudi tables on Trino, please place the `hudi-trino-bundle` jar into the Hive connector installation `<trino_install>/plugin/hive-hadoop2`.
+### Trino setup
+
+1. Copy `hudi-trino-bundle` jar into the hive connector installation `<trino_installation>/plugin/hive-hadoop2`
+2. Create or edit the file `<trino_install>/etc/catalog/hive.properties` adding the config `hive.parquet.use-column-names=true` this will avoid errors related to type mismatch when querying hudi tables using trino.

Review Comment:
   Nits: let's properly capitalize the key words.  I'll fix them for you before merging.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org