prusto icon indicating copy to clipboard operation
prusto copied to clipboard

SHOW CREATE MATERIALIZED VIEW gives empty data

Open sap-nocops opened this issue 1 year ago • 1 comments

hello, I need to execute this query SHOW CREATE MATERIALIZED VIEW view_name

I'm using method get_all, I can see from trino's console that the query is executed and finish properly but the client gives me empty_data error

I tried both using a String and a struct containing a string as model to map the result but no luck. how can I achieve this?

thank you

sap-nocops avatar Oct 03 '23 16:10 sap-nocops

Hi, you can use Row for generic data, check out this example.

nooberfsh avatar Oct 07 '23 01:10 nooberfsh