-
Notifications
You must be signed in to change notification settings - Fork 2
Presto
Wenliang Zhang edited this page Sep 4, 2019
·
1 revision
- prestodb.io created by Facebook.
- Teradata contribute to Presto after acquire Hadapt.
- Several Devs left after Hadapt acquired, created Startburst Data.
- Presto is a SQL compute engine, visiting all kinds of data in HDFS, relational, etc.
- Written in Java and has its own JDBC/ODBC, somewhat compatible with MySQL, Teradata, etc.
- Release every half month, actively developed.
- AWS Athena uses Presto, maybe somebody’s EMR too.
- According to the official document, 0.195.
- Problems in WSL:
- Openn JDK 9
- Edit /etc/vm.properties, add -XX:+StartAttachListener
- ln -s /usr/lib/jvm/java-9-openjdk-amd64/lib /usr/lib/jvm/java-9-openjdk-amd64/conf
- https://github.com/prestodb/presto/pull/9469/files can’t connect to port 8080
- Work with JDK 8 in WSL
e.g. /etc/alternatives/java -> /usr/lib/jvm/java-8-openjdk-amd64/bin/java
$ ./presto --server localhost:8080 --catalog jmx --schema default presto:default> show catalogs; Catalog --------- jmx system (2 rows) Query 20180301_123854_00033_8dn8x, FINISHED, 1 node Splits: 1 total, 1 done (100.00%) 0:00 [0 rows, 0B] [0 rows/s, 0B/s]
- String comparision is different with MySQL, e.g. c2 = ‘c’ => c2 = ‘c ’
- Can’t filter dynamically https://github.com/prestodb/presto/issues/7428
- Mgmt UI is too simple
Created by Wenliang Zhang.