Rill Developer is a tool that makes it effortless to transform your datasets with SQL. It's not just a SQL GUI! Rill Developer follows a few guiding principles:
- no more data analysis "side-quests" – helps you build intuition about your dataset through automatic profiling
- no "run query" button required – responds to each keystroke by re-profiling the resulting dataset
- works with your local datasets – imports and exports Parquet and CSV
- feels good to use – powered by Sveltekit & DuckDB = conversation-fast, not wait-ten-seconds-for-result-set fast
It's best to show and not tell, so here's a little preview of Rill Developer:
You can file an issue directly in this repository or reach us in our Rill Discord channel. Please abide by the Rill Community Policy.
Nodejs version 16+ installed locally: https://nodejs.org/en/download/. Check your version of Node:
node -v
Clone this repository to your local machine:
git clone https://github.com/rilldata/rill-developer.git
On Ubuntu, you'll also need to make sure you have g++
installed in order to compile DuckDB from source during the installation steps below (please note that compiling DuckDB may take a while):
sudo apt install g++
Change directories to the local Rill Developer repository
cd /path/to/rill-developer
Run npm to install dependencies and build the application. This will take ~5 minutes to complete.
npm install
npm run build
If you are looking for a fast way to get started you can run our quick start example script. This script initializes a project, downloads an OpenSky Network dataset, and imports the data. The Rill Developer UI will be available at http://localhost:8080.
bash scripts/example-project.sh
If you close the example project and want to restart it, you can do so by running:
npm run cli --silent -- start --project ../rill-developer-example
If you want to go beyond this example, you can also create a project using your own data.
Initialize your project in the Rill Developer directory.
npm run cli --silent -- init
Import datasets of interest into the Rill Developer duckDB database to make them available. We currently support .parquet, .csv, and .tsv.
npm run cli --silent -- import-table /path/to/data_1.parquet
npm run cli --silent -- import-table /path/to/data_2.csv
npm run cli --silent -- import-table /path/to/data_3.tsv
Start the User Interface to interact with your imported tables and revisit projects you have created.
npm run cli --silent -- start
The Rill Developer UI will be available at http://localhost:8080.
Rill Developer is powered by duckDB. Please visit their documentation for insight into their dialect of SQL to facilitate your queries at https://duckdb.org/docs/sql/introduction.
Rill Developer will be evolving quickly! If you want an updated version, you can pull in the latest changes and rebuild the application. Once you have rebuilt the application you can restart your project to see the new experience.
git pull origin main
npm run build
npm run cli --silent -- start
You can specify a new project folder by including the --project option.
npm run cli --silent -- init --project /path/to/a/new/project
npm run cli --silent -- import-table /path/to/data_1.parquet --project /path/to/a/new/project
npm run cli --silent -- start --project /path/to/a/new/project
By default the table name will be a sanitized version of the dataset file name. You can specify a name using the --name option.
npm run cli --silent -- import-table /path/to/data_1.parquet --name my_table
If you have added a table to Rill Developer that you want to drop, you can do so using the --drop-table option.
npm run cli --silent -- drop-table my_table
If you have a dataset that is delimited by a character other than a comma or tab, you can use the --delimiter option. DuckDB can also attempt to automatically detect the delimiter, so it is not strictly necessary.
npm run cli --silent -- import-table /path/to/data_4.txt --delimiter "|"
If you would like to see information on all of the available CLI commands, you can use the help option.
npm run cli --silent -- --help
https://hub.docker.com/r/rilldata/rill-developer
-
Build the rill-developer using docker compose, if any changes.
docker compose build
-
Run the rill-developer using docker compose.
docker compose up
Check http://localhost:8080/
By default, it will create a project
rill-developer-example
under./projects
To create a new project, updatePROJECT
in docker-compose.yml. -
Copy over any file to import into
./projects/${PROJECT}/data/
docker exec -it rill-developer /bin/bash rill-developer import-table ${PROJECT_BASE}/${PROJECT}/data/<fileName> \ --project ${PROJECT_BASE}/${PROJECT}
By downloading and using our application you are agreeing to the Rill Terms of Service and Privacy Policy.
If you are a developer helping us build the application, please visit our DEVELOPER-GUIDE.md.