ajantha-bhat commented on a change in pull request #3885: URL: https://github.com/apache/carbondata/pull/3885#discussion_r468499772
########## File path: docs/prestodb-guide.md ########## @@ -301,3 +303,21 @@ Presto carbon only supports reading the carbon table which is written by spark c During reading, it supports the non-distributed indexes like block index and bloom index. It doesn't support Materialized View as it needs query plan to be changed and presto does not allow it. Also, Presto carbon supports streaming segment read from streaming table created by spark. + +## Presto Setup with CarbonData Distributed IndexServer + +### Dependency jars +After copying all the jars from ../integration/presto/target/carbondata-presto-X.Y.Z-SNAPSHOT +to `plugin/carbondata` directory on all nodes, ensure copying the following jars as well. +1. Copy ../integration/spark/target/carbondata-spark_X.Y.Z-SNAPSHOT.jar +2. Copy corresponding Spark dependency jars to the location. + +### Configure properties +Configure IndexServer configurations in carbon.properties file. Refer +[Configuring IndexServer](https://github.com/apache/carbondata/blob/master/docs/index-server.md#Configurations) for more info. +Add `-Dcarbon.properties.filepath=<path>/carbon.properties` in jvm.config file. + +### Presto with IndexServer +Start distributed index server. Launch presto CLI and fire SELECT query and check if the corresponding job +is triggered in the index server application. Review comment: Also mention that can use spark to see the cache loaded by using show metacache command ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org