treasure-data / prestogres

PostgreSQL protocol gateway for Presto distributed SQL query engine
Other
292 stars 61 forks source link

ERROR: PrestoHttpException: Failed to start query: Time zone localtime is not supported #18

Open akshay-hazari opened 10 years ago

akshay-hazari commented 10 years ago

I just tried installing and setting up prestogres on ubuntu 14.04. I faced an issue in one step where it returns me the following error on this step of installation: psql -h localhost -p 9900 -U pg postgres SELECT * FROM sys.node; The above returns ERROR: PrestoHttpException: Failed to start query: Time zone localtime is not supported

frsyuki commented 10 years ago

Thank you for reporting. Perhaps recent Presto makes timezone validation more strict. Prestogres passes timezone session variable to Presto. I think it is now "localtime" but it needs to be a different string. Could you try following settings?: