Hello
Any help on this would be appreciated. Our setup in AWS is as follows:
Trino on EKS
: version 465HMS: Glue
. We have database for bothHudi
andnon-Hudi
external tables for parquet files.
Currently we are able to query non-Hudi tables successfully.
For Hudi tables the query executes without any error but returns zero records. We have confirmed that records should be returned by executing the same query in Athena.
We have two catalogs setup as follows:
(1) /etc/trino/catalog/awsdatacatalog.properties
connector.name=hive
hive.metastore=glue
hive.hive-views.enabled=true
hive.partition-projection-enabled=true
fs.native-s3.enabled=true
hive.hudi-catalog-name=hudi
(2) /etc/trino/catalog/hudi.properties
connector.name=hudi
hive.metastore=glue
fs.native-s3.enabled=true
We do have partition projection enabled for Hudi tables.
Zero records are returned for Hudi tables whether we use awsdatacatalog or hudi catalog
select *
from awsdatacatalog.db1.test_table_ro
where partition1 = "123"
and partition2 = "abc"
limit 10;
select *
from hudi.db2.test_table_ro
where partition1 = "123"
and partition2 = "abc"
limit 10;
Any suggestions on how to figure out the reason for zero records being returned.
Thank you,
Deepak