Skip to content

Real world example: datalake-graphql-wrapper #67

@noxify

Description

@noxify

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions