mcdull-zhang opened a new issue, #6127:
URL: https://github.com/apache/incubator-gluten/issues/6127

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   **empty character**
   ```txt
   Expression:  split('abc','')
   Spark: ["a","b","c",""]
   Gluten: Reason: (0 vs. 1) split only supports only single-character pattern
   ```
   
   **non-ASCII character**
   ```txt
   Expression:  split('a,b,c',',')
   Spark: ["a","b","c"]
   Gluten: Reason: (3 vs. 1) split only supports only single-character pattern
   ```
   
   ### Spark version
   
   Spark-3.2.x
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   java.lang.RuntimeException: Exception: VeloxRuntimeError
   Error Source: RUNTIME
   Error Code: INVALID_STATE
   Reason: (0 vs. 1) split only supports only single-character pattern
   Retriable: False
   Expression: patternString.size() == 1
   Context: split(n0_0, :VARCHAR)
   Top-Level Context: Same as context.
   Function: apply
   File: 
ep/build-velox/build/velox_ep/velox/functions/sparksql/SplitFunctions.cpp
   ```
   


-- 
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