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

Stack overflow in query parser when there is too many where

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0, 1.3.1
    • 2.0.0
    • SQL
    • None

    Description

      A while ago we ran into a stack overflow in the parsing with one our query. It's still an issue (tested this morning) so we decided to report it as a bug.

      If run the query in attachment you get a stack overflow error probably because there to many where. Granted, this query isn't pretty, but still the parser shouldn't stack overflow.

      FYI, the where clause where used for partition pruning.

      Attachments: https://gist.github.com/anonymous/9aa852b7796b3918013c

      Attachments

        1. longSql.txt
          20 kB
          Dongjoon Hyun

        Activity

          People

            Unassigned Unassigned
            LabOctoCat Olivier Toupin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: