This demo was created for the 2023 Open Source Data Summit. It shows how XTable can be used with two existing datasets.
Use ./start_demo.sh
to spin up a local notebook with a scala interpreter, Hive Metastore, Presto and Trino in docker containers. The script will first build the XTable jars required for the demo and then start the containers.
To access the notebook, look for a log line during startup that contains To access the server, open this file in a browser: ... Or copy and paste one of these URLs: ...
and use the http://127.0.0.1:8888/...
url to open the notebook in your browser. The demo is located at work/demo.ipynb
.
You can access the local Trino container by running docker exec -it trino trino
You can access the local Presto container by running docker exec -it presto presto-cli --server localhost:8082