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

codegen.GeneratePredicate fails due to unquoted comment

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.3, 1.6.0
    • Component/s: SQL
    • Labels:

      Description

      Somehow the code being generated ends up having comments with comment-terminators unquoted, eg.:

      /* ((input[35, StringType] <= text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8) && (text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 <= input[36, StringType])) */

      with emphasis on ... =0.9,*/...

      This leads to a org.codehaus.commons.compiler.CompileException

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yhuai Yin Huai
                Reporter:
                mrares Rares Mirica
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: