./presto --server localhost:8080 --catalog hive --schema default
上面的命令为官网,现在为此补充。
首先Presto没有内置cli命令行,需要单独下载:
然后:
Download presto-cli-0.223-executable.jar, rename it to presto
, make it executable with chmod +x
, then run it:
上面的英文应该比较简单吧
按照操作后,就可以使用Presto的命令了。
\