Hi, if you can query with trino cli explained in the post, it should work with jdbc driver. You can also take a look at trino controller(https://github.com/cloudcheflabs/dataroaster/tree/master/trino-ecosystem/trino-controller) to install trino gateway easily. After installing trino gateway with this controller, you can add trino catalogs like hive, iceberg with fault tolerant execution with simple trino controller REST API(https://github.com/cloudcheflabs/dataroaster/tree/master/trino-ecosystem/trino-controller#trino-controller-rest-api).