Ir al contenido

Live Tables

Esta página aún no está disponible en español. Se muestra la versión en inglés.

Most connectors copy your tables into Querri. With Snowflake and Databricks, you can choose to leave a table in your warehouse instead. Querri then asks the warehouse each time a question needs that table. Every other connector is synced only.

For a Snowflake or Databricks connection, each table is either synced or Live:

Synced (the default)Live
Where the rows areCopied into Querri on the schedule you setThey stay in your warehouse. Querri keeps only the table’s columns and an estimated row count
What a question doesReads Querri’s copyRuns a query in your warehouse, and only the result comes back
How fresh answers areAs of the last syncAs of right now
Warehouse workOnly while a table syncsEvery question that needs the table, on your warehouse bill

Live is query-on-demand, not streaming. Each question reads the warehouse at the moment you ask.

You can choose Live tables in two places. Both are on the connector, so open it first (see Managing Connections).

In the table picker. On the Configuration tab, under Table Selection, each selected table has a Live switch. Turn it on for the tables you want to keep in the warehouse, then click Save and Load Data. Querri loads the synced tables and leaves the Live ones where they are.

The Databricks table picker, with the Live switch turned on for forecast_daily_calendar_imperial (1)

On the Live tab. Go to Schedule and choose the Live tab, next to Full Refresh and Incremental. It lists the tables the connector already has. If it’s empty, choose tables on the Configuration tab first.

  1. Tick the tables you want Live. Each one shows its row count.
  2. Click Save Live tables.

A Live table shows Live · not copied, both here and on its source panel in the Library.

The Live tab in a connector's Schedule section (1), with a table marked Live and not copied (2)

If a table is in the middle of a sync when you save, it becomes Live once that sync ends.

If your plan doesn’t include Live tables, the Live tab shows a lock and the Live switch is greyed out. Live tables are available in Scale plans.

The Live tab has its own schedule, below the table list. It refreshes your Live tables’ columns and row estimates, and never copies rows. Set it up the same way as the other schedules (see Sync Scheduling).

You ask questions the same way, whether a table is Live or synced. Behind the scenes:

  • The agent writes the query in your warehouse’s own language, Snowflake SQL or Databricks SQL.
  • The result comes back as an ordinary table, so charts, dashboards, exports and follow-up questions all work on it.
  • When you check where a number came from, the panel names the table and the connection, such as “Databricks”, with a Live badge.

Where a number came from: the source card shows the Databricks table with a Live badge, next to a synced table (1)

You can mix Live tables with anything else. Querri works out the plan for you:

  • Several Live tables from the same connection run as one query in that warehouse.
  • A Live table plus data held in Querri (a synced table or an uploaded file) runs in two parts. The warehouse summarises the Live table first, then Querri combines that small result with the other data.
  • Live tables from two different connections work the same way. Each warehouse summarises its own tables, then Querri combines the results.

The answer tells you how it was built, so you can see when a Live table was summarised in the warehouse first (1):

An answer that explains the Live table was averaged in Databricks first, then joined with a synced table

Read-only. Querri only ever sends a single SELECT over the tables you chose. Anything that would change data, such as DELETE, UPDATE, INSERT, MERGE, DROP or CREATE, is refused before it reaches the warehouse. So are multiple statements, other tables, file reads and session settings. If you ask the agent to delete data, it tells you it can’t change your warehouse.

Even so, connect with a read-only role. The Snowflake and Databricks pages show how.

Row-level security. Querri’s access policies are applied inside the warehouse query. A person who can only see some rows has the others filtered out before anything leaves your warehouse.

Limits. Each connection has these defaults:

LimitDefault
Rows per resultUp to 100,000. A result cut off by this limit is labelled
Time for a question in chat2 minutes
Live queries running at once4 per connection

Traceable. Every query Querri sends is tagged, so you can find it in your warehouse’s own query history: the query tag in Snowflake, and query tags in Databricks.

Never copied. Querri doesn’t copy a Live table’s rows, including on scheduled refreshes. The answers to your questions are stored in Querri like any other answer.

Every question reads the warehouse as it is now.

Before a dashboard refresh or a scheduled run, Querri first asks the warehouse whether the table has changed. That check reads metadata and doesn’t start the warehouse. If the table changed, the steps that depend on it run again in the warehouse. If it didn’t, nothing runs and nothing is billed.

Live queries use your warehouse’s compute, so they appear on your Snowflake or Databricks bill.

You choose per table, so most connections end up with a mix.

Choose Live for:

  • very large tables
  • data that must not leave your warehouse
  • answers that always need to be current
  • teams that already pay for warehouse compute

Keep it synced for:

  • small and medium tables. A small table is cheap to copy, and questions on it cost nothing in the warehouse.
  • heavy exploration, with lots of questions in a row
  • data you combine with many other sources
  • warehouses that are slow to wake up