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

Single column uses quoted to construct UnresolvedAttribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.2.0
    • 3.2.2, 3.3.1, 3.4.0
    • SQL
    • None

    Description

       

      select * from (select '2022-06-01' as c1 ) a where c1 in (select date_add('2022-06-01',0)); 
      Error in query:
      mismatched input '(' expecting {<EOF>, '.', '-'}(line 1, pos 8)
      == SQL ==
      date_add(2022-06-01, 0)
      --------^^^ 

       

      Attachments

        Activity

          People

            dzcxzl dzcxzl
            dzcxzl dzcxzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: