prusto
prusto copied to clipboard
SHOW CREATE MATERIALIZED VIEW gives empty data
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
Hi, you can use Row
for generic data, check out this example.