4. Extract Use Cases - VL examples.ipynb
Ibis + Altair.ipynb
3.WIP: Extract Use Cases - MapD examples.ipynb
3. Extract Transforms Use Cases¶
In this notebook, I will show some use cases for extracting out the transformations in a Vega Lite spec and computing them in the database instead of on the client.
sql_editor.ipynb
OmniSci SQL editor¶
Ibis is a great tool for abtracting SQL queries, and for more programmatic query generation. However, there are times when it is still useful to quickly test raw SQL. Fortunately, we can use an ibis connection and some display magics to accomplish this.
First, we make the relevant imports:
renderer.ipynb
Explorations in OmniSci backend rendering with Vega¶
We would like to surface the vega rendering backend to Jupyter notebook users. This will allow people to visualize data that is too large to fit in memory. OmniSci uses Apache Thrift to generate interfaces to the SQL server for various clients. The Javascript client is notably more complete than the Python client.
Establishing a connection¶
pymapd allows us to connect to a OmniSci server using the following code: