Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Progsets is declarative programming gateway to Apache Spark for querying and joining disparate datasets.
Progsets integrated with Apache Zeppelin via Remote Interpreter for visualization

Quick summary

Repository consists of three maven projects namely

  • progsets-common -- common libraries
  • progesets-spark -- apache spark based input/output/transform procedures
  • progsets-psql -- spring boot based REST service to submit 'PSQL'/'PLPSQL' statements.
  • progsets-zeppelin -- Remote Zeppelin Interpreter for visualizations in zeppelin
  • progsets-web - Web console for discover, test and manage saved queries.

Version

  • 0.0.1 - matsya the fish

How do I get set up?

Checkout the repository progsets-parent

Dependencies

    1. Eclipse IDE + Spring + Maven + Git
    1. JDK 1.8

Build & Deployment instructions

    1. Import all maven modules and build them independently (progsets-common, progsets-spark, progsets-zeppelin, progsets-psql )
    1. Run 'progsets-psql-xxx.jar' as Spring Boot Application Example: java -Dps.app=app -Dps.env=env -Dps.auth=admin:admin123 -jar procesets-psql-xxx.jar
    1. Invoke REST Service at "http://localhost:8174/progsets/rest/psql/exe"

Here, app-env-application.properties is the .properties file to be loaded "Basic admin:admin123" is the string to be used as the HTTP Authorization Header

How to run & test?

credit = ifile?file.path=file:///Users/megandran/Downloads/MyTestData.csv&file.split=true&file.hasheader=true&file.columns=Date:string,Transdate:string,Ref:string,Description:string,Amount:string,Balance:string credit = convert?view=credit&columns=Date:date:mm/dd/yyyy,Transdate:date:mm/dd/yyyy,Ref:string,Description:string,Amount:double,Balance:double result = ssql?sql=select sum(Amount) as Amount from credit return?view=result&as=maps&debug=true close

Install and Integrate with Zeppelin

  • Install Apache Zeppelin
  • Copy progsets-zeppelin-xxx.jar to Zeppelin lib folder
  • Add Remote Interpreter in Zeppeling UI (group name: progsets, interpter name: progsets, Hostname: localhost, Port: 8176)
  • Invoke interpreter '%progsets' and supply PSQL query

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

About

Progsets :- Unified Data Access, Disparate Data Joins, Analytics and more

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages