Skip to content

Commit

Permalink
fix(docs): fix null check
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <[email protected]>
  • Loading branch information
ngjaying committed Dec 6, 2024
1 parent fd9ee57 commit c55a661
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/en_US/edgex/edgex_rule_engine_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"id": "rule2",
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE int8 != nil GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE isNull(int8) = false GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"actions": [
{
"rest": {
Expand All @@ -278,7 +278,7 @@ The procedure is the same as the previous step. Use the following configuration

```shell
{
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE int8 != nil GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE isNull(int8) = false GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"actions": [
{
"mqtt": {
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/edgex/edgex_rule_engine_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ curl -X POST \
-H 'Content-Type: application/json' \
-d '{
"id": "rule2",
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE int8 != nil GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE isNull(int8) = false GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"actions": [
{
"rest": {
Expand All @@ -241,7 +241,7 @@ curl -X POST \

```shell
{
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE int8 != nil GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"sql": "SELECT avg(int8) AS avg_int8 FROM demo WHERE isNull(int8) = false GROUP BY TUMBLINGWINDOW(ss, 20) HAVING avg(int8) > 0",
"actions": [
{
"mqtt": {
Expand Down

0 comments on commit c55a661

Please sign in to comment.