Skip to content

Commit 4db8c48

Browse files
authored
[hotfix][docs] Fix broken tabs and PTF example argument errors
This closes #26406.
1 parent a80d71f commit 4db8c48

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

docs/content.zh/docs/dev/table/functions/ptfs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ Once an `on_time` argument is provided, timers can be used. The following motiva
787787
public static class PingLaterFunction extends ProcessTableFunction<String> {
788788
public void eval(
789789
Context ctx,
790-
@ArgumentHint({ArgumentTrait.TABLE_AS_SET, ArgumentTrait.REQUIRE_ON_TIME}) Row event
790+
@ArgumentHint({ArgumentTrait.TABLE_AS_SET, ArgumentTrait.REQUIRE_ON_TIME}) Row input
791791
) {
792792
TimeContext<Instant> timeCtx = ctx.timeContext(Instant.class);
793793
// Replaces an existing timer and thus potentially resets the minute if necessary
@@ -1153,6 +1153,7 @@ notification queue, while the checkout process would be finalized by a separate
11531153
```sql
11541154
CREATE VIEW Checkouts AS SELECT * FROM CheckoutProcessor(
11551155
events => TABLE Events PARTITION BY `user`,
1156+
on_time => DESCRIPTOR(ts),
11561157
reminderInterval => INTERVAL '1' DAY,
11571158
timeoutInterval => INTERVAL '2' DAY, uid => 'cart-processor'
11581159
)

docs/content.zh/docs/dev/table/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ return types of this type.
13951395

13961396
**Declaration**
13971397

1398-
{{< tabs "8dfc33fb-c7e5-43c4-ade0-bfc197d46aef" >}}
1398+
{{< tabs "25c30432-8460-441d-a036-9416d8202882" >}}
13991399
{{< tab "SQL" >}}
14001400
```text
14011401
DESCRIPTOR

docs/content/docs/dev/table/functions/ptfs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ Once an `on_time` argument is provided, timers can be used. The following motiva
787787
public static class PingLaterFunction extends ProcessTableFunction<String> {
788788
public void eval(
789789
Context ctx,
790-
@ArgumentHint({ArgumentTrait.TABLE_AS_SET, ArgumentTrait.REQUIRE_ON_TIME}) Row event
790+
@ArgumentHint({ArgumentTrait.TABLE_AS_SET, ArgumentTrait.REQUIRE_ON_TIME}) Row input
791791
) {
792792
TimeContext<Instant> timeCtx = ctx.timeContext(Instant.class);
793793
// Replaces an existing timer and thus potentially resets the minute if necessary
@@ -1153,6 +1153,7 @@ notification queue, while the checkout process would be finalized by a separate
11531153
```sql
11541154
CREATE VIEW Checkouts AS SELECT * FROM CheckoutProcessor(
11551155
events => TABLE Events PARTITION BY `user`,
1156+
on_time => DESCRIPTOR(ts),
11561157
reminderInterval => INTERVAL '1' DAY,
11571158
timeoutInterval => INTERVAL '2' DAY, uid => 'cart-processor'
11581159
)

docs/content/docs/dev/table/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ return types of this type.
14041404

14051405
**Declaration**
14061406

1407-
{{< tabs "8dfc33fb-c7e5-43c4-ade0-bfc197d46aef" >}}
1407+
{{< tabs "25c30432-8460-441d-a036-9416d8202882" >}}
14081408
{{< tab "SQL" >}}
14091409
```text
14101410
DESCRIPTOR

0 commit comments

Comments
 (0)