[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org