Skip to content

GenericP3rson/TigerGraph_Spark_AML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TigerGraph Spark Sample

A sample project reading from TigerGraph with Spark

Quickstart

  1. Install scala, spark, and sbt (brew install scala && brew install apache-spark && brew install sbt)
  2. Load an on-premise TigerGraph AMLSim graph
  3. Download the lastest .jar file of the JDBC TigerGraph Driver
  4. Package the project (sbt package)
  5. Run the project (spark-submit --class "Main" --jars tigergraph-jdbc-driver-1.3.0.jar target/scala-2.12/tigergraph-spark-sample-project_2.12-1.0.jar)

Overview

This repository will walk you through how to get TigerGraph data using Spark. It shows three possible methods to do so: retrieving vertices, retrieving edges, and running queries.

Check out a blog walking through the set-up and code here.

Releases

No releases published

Packages

No packages published

Languages