xiaoyao1991 / presto-ethereum

Presto Ethereum Connector -- SQL on Ethereum
Apache License 2.0
471 stars 56 forks source link

Add presto config / CLI flags to use this plugin #9

Closed Gustav-Simonsson closed 7 years ago

Gustav-Simonsson commented 7 years ago

From presto documentation alone it's difficult to see how to access the plugin through the CLI. For example, after simply starting the CLI the Ethereum tables are not available.

xiaoyao1991 commented 7 years ago

If you have loaded the plugin in presto installation, then you could start the CLI in this way:
presto-cli --server <your presto server endpoint, normally it's something like localhost:8080> --catalog ethereum --schema default and then Ethereum tables will be there.

My README is not yet in a good shape. I will restructure and put more details such as how to load plugin, etc.

kirillseva commented 7 years ago

How does one load plugin in presto installation? Please expand #4 in your installation readme for those of us that see java for the first time

xiaoyao1991 commented 7 years ago

@Gustav-Simonsson @kirillseva I've updated the readme with more details on installation and loading presto plugins. Let me know if it needs more details

Gustav-Simonsson commented 7 years ago

@xiaoyao1991 thanks! got it working now :+1: