You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2023/05/25 08:06:11 UTC

[incubator-paimon] 17/20: [doc] Fix sql syntax in append-only-table(#1209)

This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch release-0.4
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git

commit 82019b6fbed6b6a0ad8ded5ecced6d36ac9f87ee
Author: sqdgtq <49...@users.noreply.github.com>
AuthorDate: Tue May 23 17:15:34 2023 +0800

    [doc] Fix sql syntax in append-only-table(#1209)
---
 docs/content/concepts/append-only-table.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/content/concepts/append-only-table.md b/docs/content/concepts/append-only-table.md
index 2e483acee..fd6ea6d82 100644
--- a/docs/content/concepts/append-only-table.md
+++ b/docs/content/concepts/append-only-table.md
@@ -107,7 +107,7 @@ CREATE TABLE T (
 ) WITH (...);
 
 -- launch a bounded streaming job to read paimon_table
-SELECT window_start, window_end, SUM(f0) FROM
+SELECT window_start, window_end, COUNT(`user`) FROM TABLE(
  TUMBLE(TABLE T, DESCRIPTOR(order_time), INTERVAL '10' MINUTES)) GROUP BY window_start, window_end;
 ```