xumingming opened a new issue, #5757:
URL: https://github.com/apache/incubator-gluten/issues/5757

   ### Description
   
   For the following test case:
   
   ```scala
     test("test explode1") {
       withTempView("t1") {
         sql(
           """select * from values (array(1)), (array(2)), (array(3)), 
(array(4))
             |as tbl(a)
        """.stripMargin).createOrReplaceTempView("t1")
         runQueryAndCompare(
           s"""
              |SELECT explode(a) from t1;
              |""".stripMargin) {
           checkGlutenOperatorMatch[GenerateExecTransformer]
         }
       }
     }
   ```
   
   The input of `explode` is already an Attribute, while current implementation 
would still plug in a new ProjectExec, which seems not necessary?
   
   ```
   Generate explode(a#122), false, [col#128]
   +- Project [a#122, a#122]
      +- RewrittenNodeWall Filter (size(a#122, true) > 0)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@gluten.apache.org
For additional commands, e-mail: commits-h...@gluten.apache.org

Reply via email to