Description
when enable `spark.sql.codegen.comments`, there will be multiple comment lines. However, CodeFormatter can not handle multi comment lines currently:
Generated code:
/* 001 */ public Object generate(Object[] references)
/* 004 */
/* 005 / /*
* Codegend pipeline for stage (id=1)
* *(1) Project (id#0L + 1) AS (id + 1)#3L
* +- *(1) Filter (id#0L = 1)
* +- *(1) Range (0, 10, step=1, splits=4)
*/
/* 006 */ // codegenStageId=1
/* 007 */ final class GeneratedIteratorForCodegenStage1 extends org.apache.spark.sql.execution.BufferedRowIterator {
Attachments
Issue Links
- links to