tagomoris / presto-client-node

Distributed query engine Presto client library for node.js
MIT License
125 stars 57 forks source link

Starting 0.161. /v1/execute resource got removed #14

Closed kwent closed 5 years ago

kwent commented 7 years ago

Starting 0.161. /v1/execute resource got removed

Cf. https://prestodb.io/docs/current/release/release-0.161.html

And when trying to use https://github.com/tagomoris/presto-client-node#executearg-callback, the API is returning 404.

{ message: 'execution error:<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n<title>Error 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem accessing /v1/execute. Reason:\n<pre>    Not Found</pre></p>\n</body>\n</html>\n', error: null, code: 404 }

I think the only way is to use v1/statement now.

baixiaozhe commented 6 years ago

up

tagomoris commented 6 years ago

Currently I have no motivation about it... Pull-requests are welcome.