abhioncbr opened a new issue, #11743:
URL: https://github.com/apache/pinot/issues/11743

   `ScalarTransformFunctionWrapper` throws an exception for any transformation 
function with `Object` return type. for example, `casewhen` or `cast`
   
   Here is one such stack trace:
   ```bash
   java.lang.IllegalStateException: Cannot convert ColumnDataType: OBJECT to 
DataType
   
        at 
org.apache.pinot.common.utils.DataSchema$ColumnDataType.toDataType(DataSchema.java:311)
        at 
org.apache.pinot.core.operator.transform.function.ScalarTransformFunctionWrapper.<init>(ScalarTransformFunctionWrapper.java:69)
        at 
org.apache.pinot.core.operator.transform.function.TransformFunctionFactory.get(TransformFunctionFactory.java:316)
        at 
org.apache.pinot.core.operator.transform.function.TransformFunctionFactory.get(TransformFunctionFactory.java:347)
   
   ```
   this was introduced with the 
[PR](https://github.com/apache/pinot/pull/11453), [specific code 
change](https://github.com/apache/pinot/commit/6c69be463fea9ba9c0fe0103215f47581d41f8d4#diff-689152b23aca017e750b7828a4f12e3dad5e5deb523e423bb53a3b933aca77c2R68)


-- 
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...@pinot.apache.org.apache.org

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


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

Reply via email to