summaryrefslogtreecommitdiffstats
path: root/yql/essentials/docs/en
diff options
context:
space:
mode:
authorvitya-smirnov <[email protected]>2025-07-07 08:56:02 +0300
committervitya-smirnov <[email protected]>2025-07-07 09:11:45 +0300
commit9bc214ba075c1e778ab6e2c93e0a9108109a963a (patch)
tree72d092bcd010c5c7d08964229a48ec2bb39f6370 /yql/essentials/docs/en
parent0385586cde43db06e964b32710195166c2b9b835 (diff)
YQL-20093: Change DateTime::IntervalFromSeconds signature
As `DateTime::ToSeconds(Interval)` returns `Int64` since `2025.03`, then a reverse function should be changed as well. Also added support for block `UDF`s at `TLangForked`. commit_hash:24fdaa28ef016ee10b9c5772aa8d4e8ba28ee6c4
Diffstat (limited to 'yql/essentials/docs/en')
-rw-r--r--yql/essentials/docs/en/changelog/2025.03.md3
-rw-r--r--yql/essentials/docs/en/udf/list/datetime.md3
2 files changed, 4 insertions, 2 deletions
diff --git a/yql/essentials/docs/en/changelog/2025.03.md b/yql/essentials/docs/en/changelog/2025.03.md
index b9712298ed3..bc80623cfb8 100644
--- a/yql/essentials/docs/en/changelog/2025.03.md
+++ b/yql/essentials/docs/en/changelog/2025.03.md
@@ -8,7 +8,8 @@
## Changes in DateTime module {#datetime-module}
-* Changed a return type of the `DateTime::ToSeconds(Interval)` to `Int64` intead of `Int32`.
+* Changed a return type of the `DateTime::ToSeconds(Interval)` to `Int64` instead of `Int32`.
+* Changed an argument type of the `DateTime::IntervalFromSeconds` to `Int64` instead of `Int32`.
## Changes in SELECT syntax
diff --git a/yql/essentials/docs/en/udf/list/datetime.md b/yql/essentials/docs/en/udf/list/datetime.md
index 6d09cf42bb3..1d6b94a39ee 100644
--- a/yql/essentials/docs/en/udf/list/datetime.md
+++ b/yql/essentials/docs/en/udf/list/datetime.md
@@ -185,7 +185,8 @@ Conversions between `Interval` and various time units.
* `DateTime::Interval64FromHours(Int64{Flags:AutoMap}) -> Interval64`
* `DateTime::IntervalFromMinutes(Int32{Flags:AutoMap}) -> Interval`
* `DateTime::Interval64FromMinutes(Int64{Flags:AutoMap}) -> Interval64`
-* `DateTime::IntervalFromSeconds(Int32{Flags:AutoMap}) -> Interval`
+* `DateTime::IntervalFromSeconds(Int32{Flags:AutoMap}) -> Interval` Until [2025.03](../../changelog/2025.03.md)
+* `DateTime::IntervalFromSeconds(Int64{Flags:AutoMap}) -> Interval` Since [2025.03](../../changelog/2025.03.md)
* `DateTime::Interval64FromSeconds(Int64{Flags:AutoMap}) -> Interval64`
* `DateTime::IntervalFromMilliseconds(Int64{Flags:AutoMap}) -> Interval`
* `DateTime::Interval64FromMilliseconds(Int64{Flags:AutoMap}) -> Interval64`