Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

A Presto to MapD connector, enabling MapD queries via Presto

License

Notifications You must be signed in to change notification settings

NVIDIA/presto-mapd-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@author rohit-kulkarni

Presto-MapD-Connector

Presto-MapD-Connector makes it possible to query MapD via Presto.

Installation

Requirements

Setup

  1. Clone this repository and cd into it
git clone git@github.com:NVIDIA/presto-mapd-connector.git
cd presto-mapd-connector
  1. Create a lib directory and copy the mapd jdbc jar into it (mapdjdbc-1.0-SNAPSHOT-jar-with-dependencies.jar)
mkdir lib
cp $MAPD_HOME/mapdjdbc-1.0-SNAPSHOT-jar-with-dependencies.jar lib/
  1. Build/package the project
mvn package
  1. Copy the jar to your presto plugin directory
mkdir $PRESTO_HOME/plugin/mapdjdbc
cp presto-mapd-jdbc-1.0-jar-with-dependencies.jar $PRESTO_HOME/plugin/mapdjdbc
  1. Make a mapdjdbc.properties file
mkdir -p $PRESTO_HOME/etc/catalog && touch $PRESTO_HOME/etc/catalog/mapdjdbc.properties
  1. In the properties file, enter your credentials to connect to mapd...
connector.name=mapdjdbc
connection-url=jdbc:mapd:localhost:9091:mapd
connection-user=<username>
connection-password=<password>
  1. You can now start mapd and presto with the ability to query mapd from presto!

About

A Presto to MapD connector, enabling MapD queries via Presto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages