Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Development Setup

Seth Shelnutt edited this page Aug 27, 2020 · 2 revisions

This page describes steps needed to setup a development environment.

git clone git@github.com:prestosql/presto.git -b 315 presto
git clone git@github.com:TileDB-Inc/TileDB-Presto.git
ln -s $PWD/TileDB-Presto presto/presto-tiledb
cd presto

Make the following changes to the presto repository

diff --git a/pom.xml b/pom.xml
index fafba84824..0aef405e2f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -135,6 +135,7 @@
         <module>presto-proxy</module>
         <module>presto-kudu</module>
         <module>presto-elasticsearch</module>
+        <module>presto-tiledb</module>
     </modules>
 
     <dependencyManagement>
@@ -459,6 +460,12 @@
                 <type>zip</type>
             </dependency>
 
+            <dependency>
+                <groupId>io.prestosql</groupId>
+                <artifactId>presto-tiledb</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+
             <dependency>
                 <groupId>io.airlift</groupId>
                 <artifactId>aircompressor</artifactId>
diff --git a/presto-main/etc/config.properties b/presto-main/etc/config.properties
index 25f33858d7..42b24c0312 100644
--- a/presto-main/etc/config.properties
+++ b/presto-main/etc/config.properties
@@ -41,7 +41,8 @@ plugin.bundles=\
   ../presto-sqlserver/pom.xml, \
   ../presto-postgresql/pom.xml, \
   ../presto-thrift/pom.xml, \
-  ../presto-tpcds/pom.xml
+  ../presto-tpcds/pom.xml, \
+  ../presto-tiledb/pom.xml
 
 presto.version=testversion
 node-scheduler.include-coordinator=true
diff --git a/presto-main/etc/catalog/tiledb.properties b/presto-main/etc/catalog/tiledb.properties
new file mode 100644
index 0000000000..7d4e77bddb
--- /dev/null
+++ b/presto-main/etc/catalog/tiledb.properties
@@ -0,0 +1 @@
+connector.name=tiledb
Clone this wiki locally