Closed szisiu closed 1 month ago
I can't reproduce the issue on master. Can you share iceberg
config property after masking the confidential info? Is it the entire steps to reproduce the issue? Also, did you enable metadata cache or something on those IDEs?
Sure. Let me share more details.
Environment:
My containerized deployment consist of 1 trino v453 service (coordinator and worker with iceberg connector), 1 minio service, 1 mysql v8 and 1 hive metastore service (hms) .
Prepared and attached files we could use as an example.
Also this is my IJ setup for trino datasource (mostly defaults, except trino driver version and connection details):
No tables are displayed for the test schema but they exist and the data is there. Tried different settings also with all schemas enabled/visible.
As mentioned the same issues happen when using eg DBeaver.
Thanks in advance.
I tried again with v454
without a success. Iceberg catalog and schema are listed but tables are not.
Did you have a change to look at the attached example?
Any new info? Dealing with the same situation
Additional info: in my configuration Hive Metastore Standalone v3.1.0 is used as metadata catalog for Iceberg.
During the investigation in https://github.com/trinodb/trino/issues/23132 it appears that the problem does not exist when
<property>
<name>metastore.rawstore.impl</name>
<value>org.apache.hadoop.hive.metastore.cache.CachedStore</value>
</property>
property is removed from the Hive Metastore Standalone config (metastore-site.xml
).
Moreover, Iceberg tables are then registered in system.jdbc.tables
and system.jdbc.columns
.
On the other hand leaving CachedStore enabled seems like a reasonable default for HMS (improves query performance - needs measurement to be sure).
Leaving the decision if there is something that needs improvement to the trino team.
I found that Iceberg tables are not registered in
system.jdbc.tables
andsystem.jdbc.columns
.I used to use IDEs (like IntelliJ, DBeaver) with the trino-jdbc driver jar to connect to my trino clusters and now those tools could not discover the existence of tables.
It stopepd working from trino
v443
(tested several older and newer versions up tov453
with docker).Note that tables exists and can be succefully queried (eg from java app with trino-jdbc driver) but it's annoying during development.
How to reproduce:
This issue sounds similar to https://github.com/trinodb/trino/issues/11060