Skip to content

Commit 9f0ffc8

Browse files
Update content/integrate/redis-data-integration/data-pipelines/transform-examples/redis-sql-case-example.md
Co-authored-by: andy-stark-redis <[email protected]>
1 parent c5b3842 commit 9f0ffc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/integrate/redis-data-integration/data-pipelines/transform-examples/redis-sql-case-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ transform:
4242
4343
## Using SQL CASE to filter data
4444
45-
You can also use the `CASE` statement to filter data based on specific conditions. The example below demonstrates how to filter the `Invoice` table to include only invoices from the USA and Canada, with total above country specific thresholds.
45+
You can also use the `CASE` statement to filter data based on specific conditions. The example below demonstrates how to filter the `Invoice` table to include only invoices from the USA and Canada that have a `Total` value above their country-specific threshold.
4646

4747
Due to the `Total` field being a Decimal in the source table, it represented as string in Debezium and needs to be cast to `REAL` type for comparison in the `CASE` statement.
4848
Not casting it will result in an incorrect comparison results and incorrect filtering.

0 commit comments

Comments
 (0)