[ https://issues.apache.org/jira/browse/SPARK-38583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-38583: ------------------------------------ Assignee: (was: Apache Spark) > to_timestamp should allow numeric types > --------------------------------------- > > Key: SPARK-38583 > URL: https://issues.apache.org/jira/browse/SPARK-38583 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.3.0 > Reporter: Hyukjin Kwon > Priority: Major > > SPARK-38240 mistakenly disallowed numeric type at to_timestamp. We should > allow it back: > {code} > spark.range(1).selectExpr("to_timestamp(id)").show() > {code} > *Before* > {code} > +-------------------+ > | to_timestamp(id)| > +-------------------+ > |1970-01-01 09:00:00| > +-------------------+ > {code} > *After* > {code} > +-----------------+ > | to_timestamp(id)| > +-----------------+ > | null| > +-----------------+ > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org