XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Later
    • 1.6.0
    • None
    • SQL
    • None

    Description

      The current SQLContext allows the following query, which is copied from a test case in SQLQuerySuite:

           checkAnswer(sql(
             """
               |select key from ((select * from testData limit 1)
               |  union all (select * from testData limit 1)) x limit 1
             """.stripMargin),
             Row(1)
           )
      

      However, it is rejected in the Hive parser.

      Attachments

        Activity

          People

            Unassigned Unassigned
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: