Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

PDND Datalake - Graphql Publisher

License

Notifications You must be signed in to change notification settings

pagopa-archive/graphql-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 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://localhost:8088/graphql/ui. You should then log in using your Hive/Impala credentials and choose the database you'd like to expose.

About

PDND Datalake - Graphql Publisher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published