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

zhengruifeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 926b27e55f4e [MINOR][SQL][DOC] Correct version metadata for nanos 
timestamp types
926b27e55f4e is described below

commit 926b27e55f4e04590fb2029f3042c8f37d284939
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Fri Oct 23 20:16:00 2026 +0800

    [MINOR][SQL][DOC] Correct version metadata for nanos timestamp types
    
    ### What changes were proposed in this pull request?
    
    Correct the `since` metadata for `TimestampLTZNanosType` and
    `TimestampNTZNanosType` from 4.2.0 to 4.3.0.
    
    This should be backported to `branch-4.x` and `branch-4.3`.
    
    ### Why are the changes needed?
    
    The two public types were added by SPARK-56876 after `branch-4.2` was cut. 
They
    are absent from both `v4.2.0` and the latest `branch-4.2`, and are present 
in
    the Spark 4.3 release candidates. The current 4.2.0 metadata therefore 
claims
    that the types were available one release too early.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This only corrects public API version metadata.
    
    ### How was this patch tested?
    
    Checked both declarations in the latest `master` and `branch-4.3`, verified
    that the source files are absent from `v4.2.0` and `branch-4.2`, and 
confirmed
    that SPARK-56876 first added them to the 4.x line for Spark 4.3. The patch 
also
    applies cleanly to the latest `branch-4.3`. No runtime tests were needed 
for a
    ScalaDoc-only change. `git diff --check` passes.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: OpenAI Codex (GPT-5)
    
    Closes #59745 from zhengruifeng/sql-timestamp-nanos-since.
    
    Authored-by: Ruifeng Zheng <[email protected]>
    Signed-off-by: Ruifeng Zheng <[email protected]>
---
 .../main/scala/org/apache/spark/sql/types/TimestampLTZNanosType.scala   | 2 +-
 .../main/scala/org/apache/spark/sql/types/TimestampNTZNanosType.scala   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampLTZNanosType.scala 
b/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampLTZNanosType.scala
index beca6d33b707..ae0e9b940cb5 100644
--- 
a/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampLTZNanosType.scala
+++ 
b/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampLTZNanosType.scala
@@ -31,7 +31,7 @@ import org.apache.spark.sql.errors.DataTypeErrors
  *   Number of digits of fractional seconds for this SQL type. The valid 
values are 7, 8, and 9
  *   where 9 means nanosecond precision.
  *
- * @since 4.2.0
+ * @since 4.3.0
  */
 @Unstable
 case class TimestampLTZNanosType(precision: Int) extends AnyTimestampNanoType {
diff --git 
a/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampNTZNanosType.scala 
b/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampNTZNanosType.scala
index cf89e1451964..0adff75ba191 100644
--- 
a/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampNTZNanosType.scala
+++ 
b/sql/api/src/main/scala/org/apache/spark/sql/types/TimestampNTZNanosType.scala
@@ -31,7 +31,7 @@ import org.apache.spark.sql.errors.DataTypeErrors
  *   Number of digits of fractional seconds for this SQL type. The valid 
values are 7, 8, and 9
  *   where 9 means nanosecond precision.
  *
- * @since 4.2.0
+ * @since 4.3.0
  */
 @Unstable
 case class TimestampNTZNanosType(precision: Int) extends AnyTimestampNanoType {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to