Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27764 Feature Parity between PostgreSQL and Spark
  3. SPARK-23264

Support interval values without INTERVAL clauses

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Later
    • 2.2.1
    • 3.0.0
    • SQL
    • None

    Description

      The master currently cannot parse a SQL query below;

      SELECT cast('2017-08-04' as date) + 1 days;
      

      Since other dbms-like systems support this syntax (e.g., hive and mysql), it might help to support in spark.

      Attachments

        Activity

          People

            maropu Takeshi Yamamuro
            maropu Takeshi Yamamuro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: