Skip to content

Commit

Permalink
Adds warning for zero results
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipleblanc committed Apr 26, 2024
1 parent d68465b commit b274d9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spiceaidocs/docs/data-accelerators/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ datasets:

In this example a query against `accelerated_dataset` within Spice like `SELECT * FROM accelerated_dataset WHERE city = 'Portland'` would initially query against the accelerated data, see that it returns zero results and then fallback to querying against the federated table in Databricks.

:::warning
It is possible that even though the accelerated table returns some results, it may not contain all the data that would be returned by the federated table. `on_zero_results` only controls the behavior in the simple case where no data is returned by the acceleration for a given query.
:::

## Data Accelerator Docs

import DocCardList from '@theme/DocCardList';
Expand Down

0 comments on commit b274d9e

Please sign in to comment.