You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2015/12/01 16:50:11 UTC
[jira] [Comment Edited] (SPARK-11352) codegen.GeneratePredicate
fails due to unquoted comment
[ https://issues.apache.org/jira/browse/SPARK-11352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15033911#comment-15033911 ]
Yin Huai edited comment on SPARK-11352 at 12/1/15 3:49 PM:
-----------------------------------------------------------
Comments are pretty helpful for debugging purpose. I guess if we have a /* or */ in a predicate on a string column, the code-gen may break. Let me try it later.
was (Author: yhuai):
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org