浏览代码

update trino connector configuration with note about alternate headers

Rajat Garga 4 年之前
父节点
当前提交
e29bc1dce5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      docs/docs-site/content/administrator/configuration/connectors/_index.md

+ 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\"}}"}'
     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.
 Alternative interfaces.
 
 
 Direct:
 Direct: