[SPARK-36257][SQL][3.2] Updated the version of TimestampNTZ related changes as 3.3.0

### What changes were proposed in this pull request?

As we decided to release TimestampNTZ type in Spark 3.3, we should update the versions of TimestampNTZ related changes as 3.3.0.

### Why are the changes needed?

Correct the versions in documentation/code comment.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Existing UT

Closes #33480 from gengliangwang/updateVersion3.2.

Authored-by: Gengliang Wang <gengliang@apache.org>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
This commit is contained in:
Gengliang Wang 2021-07-22 18:21:28 +03:00 committed by Max Gekk
parent 3ee9a0db3a
commit c5697d0f4a
3 changed files with 8 additions and 8 deletions

View file

@ -217,7 +217,7 @@ case class Now() extends CurrentTimestampLike {
2020-04-25 15:49:11.914
""",
group = "datetime_funcs",
since = "3.2.0")
since = "3.3.0")
case class LocalTimestamp(timeZoneId: Option[String] = None) extends LeafExpression
with TimeZoneAwareExpression with CodegenFallback {
@ -1096,7 +1096,7 @@ case class GetTimestamp(
2016-12-31 00:00:00
""",
group = "datetime_funcs",
since = "3.2.0")
since = "3.3.0")
// scalastyle:on line.size.limit
case class ParseToTimestampNTZ(
left: Expression,
@ -1143,7 +1143,7 @@ case class ParseToTimestampNTZ(
2016-12-31 00:00:00
""",
group = "datetime_funcs",
since = "3.2.0")
since = "3.3.0")
// scalastyle:on line.size.limit
case class ParseToTimestampLTZ(
left: Expression,
@ -2381,7 +2381,7 @@ case class MakeDate(
NULL
""",
group = "datetime_funcs",
since = "3.2.0")
since = "3.3.0")
// scalastyle:on line.size.limit
case class MakeTimestampNTZ(
year: Expression,
@ -2440,7 +2440,7 @@ case class MakeTimestampNTZ(
NULL
""",
group = "datetime_funcs",
since = "3.2.0")
since = "3.3.0")
// scalastyle:on line.size.limit
case class MakeTimestampLTZ(
year: Expression,

View file

@ -29,7 +29,7 @@ import org.apache.spark.annotation.Unstable
* To represent an absolute point in time, use `TimestampType` instead.
*
* Please use the singleton `DataTypes.TimestampNTZType` to refer the type.
* @since 3.2.0
* @since 3.3.0
*/
@Unstable
class TimestampNTZType private() extends AtomicType {
@ -59,7 +59,7 @@ class TimestampNTZType private() extends AtomicType {
* "TimestampNTZType" in byte code. Defined with a private constructor so the companion
* object is the only possible instantiation.
*
* @since 3.2.0
* @since 3.3.0
*/
@Unstable
case object TimestampNTZType extends TimestampNTZType

View file

@ -2980,7 +2980,7 @@ object functions {
* All calls of localtimestamp within the same query return the same value.
*
* @group datetime_funcs
* @since 3.2.0
* @since 3.3.0
*/
def localtimestamp(): Column = withExpr { LocalTimestamp() }