Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Real world example: datalake-graphql-wrapper #67

Open
noxify opened this issue Mar 31, 2023 · 0 comments
Open

Real world example: datalake-graphql-wrapper #67

noxify opened this issue Mar 31, 2023 · 0 comments

Comments

@noxify
Copy link

noxify commented Mar 31, 2023

Hi,

first of all - Thanks @tagomoris for all your work - it's awesome <3

I'm working at @dbsystel in a team which uses presto/trino to provide the data from the data lake.
We had the problem the the existing api solution ( with flask, s3 download etc.) had a lot of performance problems.

We found the package presto-client-node while searching for alternatives to our existing api and after some tests we knew that it's the solution for our problem! It's now one of the core packages for our new api to generate the GraphQL schema for the GraphQL API and fetching the data from the presto/trino cluster.

Since we use only OSS in our api, we decided to publish it also as OSS at github. ( What you give is what you get ;) ).

Here the link to the repo: https://github.com/dbsystel/datalake-graphql-wrapper

Here a short summary of the current features:

  • Automatic endpoint generation via interactive cli
    • Generates the interfaces and available endpoint fields based on the fetched database schema
    • Generates the filter fields for all root fields
    • Sorting
    • Pagination
  • Support for nested fields
  • date/time transformation
  • Written in TypeScript
  • Easy to extend

Feel free to fork/clone the repo or just copy some parts of it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant