PowerBITrinoConnector icon indicating copy to clipboard operation
PowerBITrinoConnector copied to clipboard

Querying to trino API

Open victor-msa opened this issue 1 year ago • 1 comments

So far I tested the connector and it is great, kudos for taking the time and making a usefull tool. What I have in mind, is how to use specific querys, as in a select statement, with the connector, since I am not planning on using a whole table in my projects. How would someone do that?

victor-msa avatar Sep 15 '23 13:09 victor-msa

Hey @victor-msa,

Yes, I understand your requirement, in fact, there even is a built-in way of providing such a custom SQL statement, but it only works for ODBC connector: https://learn.microsoft.com/en-us/power-query/native-query-sdk

However, I guess it would also be possible to add this functionality somehow else by just providing a new custom field of type text. Apart from that, you could also provide a new view on the Trino side which wouldn’t require any adjustments in the connector.

Regards, Patrick

pichlerpa avatar Sep 16 '23 10:09 pichlerpa

@victor-msa I just updated the connector, it now supports native SQL queries.

pichlerpa avatar Feb 07 '24 15:02 pichlerpa