Since Trino db connectivity is not supported I was trying to build it using API.
Querying Trino works like this -
- POST query request
response is usually with status=QUEUED and nextUri
- GET nextUri from above
response will have status QUEUED, FAILED, RUNNING or FINISHED
- when all data pages received - the query complete
JS function doesn’t allow fetching data directly. So I tried to play around two apiPOST and apiGET passing nextUri via store. Still doesn’t work. Did anyone was able to do something like this?