From b274d9e4290074a9c50f5597b4ce0654f2a641ff Mon Sep 17 00:00:00 2001 From: Phillip LeBlanc Date: Fri, 26 Apr 2024 17:06:09 +0900 Subject: [PATCH] Adds warning for zero results --- spiceaidocs/docs/data-accelerators/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spiceaidocs/docs/data-accelerators/index.md b/spiceaidocs/docs/data-accelerators/index.md index 0fe51602a..4254ab776 100644 --- a/spiceaidocs/docs/data-accelerators/index.md +++ b/spiceaidocs/docs/data-accelerators/index.md @@ -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';