Skip to content

Commit c66c1fe

Browse files
authored
docs: Add limitation infomation to the document of Snowflak offline st… (feast-dev#4243)
* doc: Add limitation infomation to the document of Snowflak offline storage. Signed-off-by: Shuchu Han <shuchu.han@gmail.com> * doc: Add dollar sign information for snowflake. Signed-off-by: Shuchu Han <shuchu.han@gmail.com> --------- Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
1 parent da3e768 commit c66c1fe

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

docs/reference/offline-stores/snowflake.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,21 @@ offline_store:
3434
3535
The full set of configuration options is available in [SnowflakeOfflineStoreConfig](https://rtd.feast.dev/en/latest/#feast.infra.offline_stores.snowflake.SnowflakeOfflineStoreConfig).
3636
37+
38+
## Limitation
39+
Please be aware that here is a restriction/limitation for using SQL query string in Feast with Snowflake. Try to avoid the usage of single quote in SQL query string. For example, the following query string will fail:
40+
```
41+
SELECT
42+
some_column
43+
FROM
44+
some_table
45+
WHERE
46+
other_column = 'value'
47+
```
48+
That 'value' will fail in Snowflake. Instead, please use pairs of dollar signs like `$$value$$` as [mentioned in Snowflake document](https://docs.snowflake.com/en/sql-reference/data-types-text#label-dollar-quoted-string-constants).
49+
50+
51+
3752
## Functionality Matrix
3853

3954
The set of functionality supported by offline stores is described in detail [here](overview.md#functionality).

0 commit comments

Comments
 (0)