datastrato / gravitino-playground

A playground to experience Gravitino
Apache License 2.0
18 stars 11 forks source link

Add Trino use case in the Jupyter notebook #42

Open xunliu opened 1 month ago

xunliu commented 1 month ago

Currently, Gravitino playground support Jupyter notebook, We can add a new notebook to explain how to use Trino to federation query mysql, postgres and hive, like this, http://github.com/datastrato/gravitino-playground?tab=readme-ov-file#example

I think we can use these Trino python library

  1. https://github.com/CybercentreCanada/jupyterlab-sql-editor/blob/main/example/Trino.ipynb
  2. https://github.com/trinodb/trino-python-client

Preferably, we can design a federated query scenario.

sunny0826 commented 1 month ago

I'll work on it.