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" >}}