You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jesse Lord (JIRA)" <ji...@apache.org> on 2016/08/01 16:27:20 UTC

[jira] [Created] (SPARK-16836) Hive date/time function error

Jesse Lord created SPARK-16836:
----------------------------------

             Summary: Hive date/time function error
                 Key: SPARK-16836
                 URL: https://issues.apache.org/jira/browse/SPARK-16836
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.0.0
            Reporter: Jesse Lord
            Priority: Minor


Previously available hive functions for date/time are not available in Spark 2.0 (e.g. current_date, current_timestamp). These functions work in Spark 1.6.2 with HiveContext.

Example (from spark-session):

spark.sql("select current_date")
org.apache.spark.sql.AnalysisException: cannot resolve '`current_date`' given input columns: []; line 1 pos 7




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org