diegs commented on issue #13197:
URL: https://github.com/apache/pinot/issues/13197#issuecomment-2123164214

   Note: the workaround we used was to invert the transformation function as 
follows:
   
   ```
   bytesToBigDecimal(hexToBytes(case when length(columnName) = 64 then 
concat('0000', columnName) else concat('000000', columnName) end))
   ```
   
   Then the case statement never fails when evaluating both branches, and the 
correct value is passed to hexToBytes/bytesToBigDecimal.


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