tagomoris / presto-client-node

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

how to set enable_hive_syntax like php? #36

Open kekobin opened 4 years ago

kekobin commented 4 years ago

We know that prestoClient use presto syntax default,not hive。but when I have to query sql with hive format,i encountered different problems, like:

image

so, how to set enable_hive_syntax like php?

which, php set enable_hive_syntax just like this:

$session->setProperty(new Property('enable_hive_syntax', true));
tagomoris commented 4 years ago

Do you mean that you want to write Presto queries with Hive syntax? I have no idea about such features on Presto, and could find this change only. Could you explain what is it?