rilldata / rill

Rill is a tool for effortlessly transforming data sets into powerful, opinionated dashboards using SQL. BI-as-code.

Home Page:https://www.rilldata.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rill Developer: "Source imported successfully" message shows before ingest completes

ericpgreen2 opened this issue · comments

To reproduce

  1. Start a new project from scratch
  2. From the root page http://localhost:9009/, add a new data source. Here's a GCS data source that can take ~50s to ingest: gs://pkg.rilldata.com/example-data/sf311.parquet
  3. Immediately see the "Source imported successfully" message. This message appears before the source has completed ingest.
    image

Expected behavior

  • Submission of the Add Source modal should take me to the Source YAML page.
  • During ingest, the Table Preview and the Source Inspector should both show an "Ingesting [source]" spinner.
  • A non-blocking toast message notification should be displayed when the source completes ingest. During long-running ingest, a user should be able to proceed with other tasks and not be interrupted by a blocking CTA when the ingest completes asynchronously.