Open
Description
Describe the bug
#9109 seems to have broken the Trino driver. This is because the Trino driver internally uses the PrestoDB driver and Trino does not have a /v1/node
REST API similar to PrestoDB.
The same works with v1.1.16 which was the latest release which didn't include #9109.
To Reproduce
Steps to reproduce the behavior:
- Try hitting a Trino connection from the Playground with v1.2.16.
- See error:
Error: node list api returns error:<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 403 Forbidden</title>
</head>
<body>
<h2>HTTP ERROR 403 Forbidden</h2>
<table>
<tr><th>URI:</th><td>https://your.trino.host.com/v1/node</td></tr>
<tr><th>STATUS:</th><td>403</td></tr>
<tr><th>MESSAGE:</th><td>Forbidden</td></tr>
</table>
</body>
</html>
Expected behavior
Trino driver should work as expected.
Version:
[e.g. 1.2.16]