[
https://issues.apache.org/jira/browse/SPARK-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15033911#comment-15033911
]
Yin Huai commented on SPARK-11352:
----------------------------------
Comments are pretty helpful for debugging purpose. I guess if we have a {{/*}
of {{*/}} in a predicate of string, the code-gen may break. Let me try it later.
> codegen.GeneratePredicate fails due to unquoted comment
> -------------------------------------------------------
>
> Key: SPARK-11352
> URL: https://issues.apache.org/jira/browse/SPARK-11352
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.5.1
> Reporter: Rares Mirica
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]