trino 兼容presto 的方法

因为从trino 351修改了协议,但是官方也是提供了兼容方法的,以下是解决方法

客户端协议兼容

  • 配置协议可选请求头名
    一般为etc/trino/config.properties
 
protocol.v1.alternate-header-name=Presto

参考资料

https://trino.io/blog/2021/01/04/migrating-from-prestosql-to-trino.html
https://trino.io/docs/current/admin/properties-general.html#

posted on 2021-04-17 09:14  荣锋亮  阅读(745)  评论(0编辑  收藏  举报

导航