From 81be04a1ad1199a05ba206835ffab771b0f397cc Mon Sep 17 00:00:00 2001 From: Minh Vu Date: Sun, 26 Jul 2026 18:02:47 +0200 Subject: [PATCH] [hotfix][docs] Fix temporal table function expression examples Generated-by: OpenAI API --- .../concepts/sql-table-concepts/temporal_table_function.md | 4 ++-- .../concepts/sql-table-concepts/temporal_table_function.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content.zh/docs/concepts/sql-table-concepts/temporal_table_function.md b/docs/content.zh/docs/concepts/sql-table-concepts/temporal_table_function.md index c0ef280ff06ac2..b4fb97d0800143 100644 --- a/docs/content.zh/docs/concepts/sql-table-concepts/temporal_table_function.md +++ b/docs/content.zh/docs/concepts/sql-table-concepts/temporal_table_function.md @@ -121,14 +121,14 @@ WHERE ```java Table result = orders .joinLateral(call("rates", $("o_proctime")), $("o_currency").isEqual($("r_currency"))) - .select($("(o_amount").times($("r_rate")).sum().as("amount")); + .select($("o_amount").times($("r_rate")).sum().as("amount")); ``` {{< /tab >}} {{< tab "Scala" >}} ```scala val result = orders .joinLateral($"rates(order_time)", $"orders.currency = rates.currency") - .select($"(o_amount * r_rate).sum as amount")) + .select($"(o_amount * r_rate).sum as amount") ``` {{< /tab >}} {{< tab "Python" >}} diff --git a/docs/content/docs/concepts/sql-table-concepts/temporal_table_function.md b/docs/content/docs/concepts/sql-table-concepts/temporal_table_function.md index 90ae717f988cf7..9e2fc5ec27cc25 100644 --- a/docs/content/docs/concepts/sql-table-concepts/temporal_table_function.md +++ b/docs/content/docs/concepts/sql-table-concepts/temporal_table_function.md @@ -121,14 +121,14 @@ WHERE ```java Table result = orders .joinLateral(call("rates", $("o_proctime")), $("o_currency").isEqual($("r_currency"))) - .select($("(o_amount").times($("r_rate")).sum().as("amount")); + .select($("o_amount").times($("r_rate")).sum().as("amount")); ``` {{< /tab >}} {{< tab "Scala" >}} ```scala val result = orders .joinLateral($"rates(order_time)", $"orders.currency = rates.currency") - .select($"(o_amount * r_rate).sum as amount")) + .select($"(o_amount * r_rate).sum as amount") ``` {{< /tab >}} {{< tab "Python" >}}