Browse Source

update trino connector configuration with note about alternate headers

Rajat Garga 4 years ago
parent
commit
e29bc1dce5

+ 2 - 0
docs/docs-site/content/administrator/configuration/connectors/_index.md

@@ -202,6 +202,8 @@ Pass Presto Session Properties without HTTPS enabled:
 
     options='{"url": "presto://username:password@localhost:8080/tpch/default","connect_args":"{\"session_props\": {\"query_max_run_time\": \"1m\"}}"}'
 
+**Note:** Hue does not use trino specific dialect of SQLAlchemy which may lead to a *catalog must be specified* error. This can be solved by setting `protocol.v1.alternate-header-name=Presto` in the Trino's configuration. More details about his can be found at [Trino Blog |  Migrating from PrestoSQL to Trino](https://trino.io/blog/2021/01/04/migrating-from-prestosql-to-trino.html)
+
 Alternative interfaces.
 
 Direct: