andygrove opened a new issue, #462:
URL: https://github.com/apache/datafusion-comet/issues/462

   ### Describe the bug
   
   Repro test case for `CometExpressionSuite`:
   
   ```scala
     test("like with custom escape") {
       val names = Seq("", "a_b", "d_e_f")
       withTempDir { dir =>
         val filename = "/tmp/percent.parquet"
         names.toDF("a").write.mode(SaveMode.Overwrite).parquet(filename)
         spark.read.parquet(filename).coalesce(1).createOrReplaceTempView("t")
         val query = sql("select a from t where a like '%$_%' escape '$'")
         checkSparkAnswerAndOperator(query)
       }
     }
   ```
   
   Output:
   
   ```
   == Results ==
   !== Correct Answer - 2 ==   == Spark Answer - 0 ==
   !struct<a:string>           struct<>
   ![a_b]                      
   ![d_e_f]   
   ```
   
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to