Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17750

Cannot create view which includes interval arithmetic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.2, 2.1.0
    • SQL
    • None

    Description

      Given table

      create table dates (ts timestamp)

      the following view creation SQL failes with Failed to analyze the canonicalized SQL. It is possible there is a bug in Spark.

      create view test_dates as select ts + interval 1 day from dates

      Attachments

        Activity

          People

            dongjoon Dongjoon Hyun
            andreasdamm Andreas Damm
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: