Skip to content

datafusion-contrib/datafusion-wasm-playground

Repository files navigation

DataFusion Playground

Playground of Apache Arrow DataFusion with WebAssembly. In the early experimental stage as my side project.

🌱 Live Demo: https://datafusion-contrib.github.io/datafusion-wasm-playground/

Features

  • Cloud storage support: HTTP, AWS S3 (Google Cloud Storage and Azure Blob Storage are on the way)
  • Full functional DataFusion query engine.
  • Data formats: CSV, Parquet, JSON, Avro

Screenshot

Screenshot

Examples

Create an external table from S3 parquet file:

CREATE EXTERNAL TABLE test STORED AS PARQUET
LOCATION 's3://path-to-your.parquet';

Create an external table from HTTP parquet file:

CREATE EXTERNAL TABLE lineitem
STORED AS PARQUET
LOCATION 'https://shell.duckdb.org/data/tpch/0_01/parquet/lineitem.parquet';

Explain a query:

EXPLAIN SELECT MIN(airport_fee), MAX(airport_fee) FROM test;