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#


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM