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: