Skip to content

dgreco/graphql-publisher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphql Publisher - Expose hive/impala tables using Graphql

Introduction

This project aims to expose via a Graphql endpoint the data managed by either Hive or Impala. It uses JDBC introspection capabilities for dynamically generating a Graphql schema for all the tables associated with a given database. The generated schema tries to follow the specification defined by the Hasura platform. You can find the SQL to Graphql mapping here.

How to use it

Once cloned the project, go to the project root and in the configuration file etc/application.conf set the proper JDBC URL. After, just run:

sbt run -Dconfig.file=etc/application.conf

and open the browser here: http:https://localhost:8088/graphql/ui. You should then log in using your Hive/Impala credentials and choose the database you'd like to expose.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 76.1%
  • HTML 23.9%