Skip to content

[v1.2.16] Trino driver is broken #9303

Open
@Priyansh121096

Description

@Priyansh121096

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:

  1. Try hitting a Trino connection from the Playground with v1.2.16.
  2. 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]

Metadata

Metadata

Assignees

Labels

driver:trinoIssues relating to the Trino driverquestionThe issue is a question. Please use Stack Overflow for questions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions