Skip to content

Commit

Permalink
Merge pull request #3 from ksilin/patch-4
Browse files Browse the repository at this point in the history
Fix TIMESTAMPDIFF typo in 08_current_watermark.md
  • Loading branch information
knaufk authored Dec 19, 2024
2 parents 8132dff + b2e34c9 commit c4c829c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 08_current_watermark.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ watermarking in action.
SELECT
$rowtime,
CURRENT_WATERMARK($rowtime) AS wm,
TIMESTAMPDIFF($rowtime, CURRENT_WATERMARK(`$rowtime`), SECONDS) AS watermark_lag
TIMESTAMPDIFF(SECOND, $rowtime, CURRENT_WATERMARK(`$rowtime`)) AS watermark_lag
FROM clicks;
```

Expand Down

0 comments on commit c4c829c

Please sign in to comment.