Yuvraj-cyborg commented on PR #19369: URL: https://github.com/apache/datafusion/pull/19369#issuecomment-3673770614
> I do wonder, with how many different paths we're introducing here to account for all edge cases, how other systems handle doing power for numeric/decimals 🤔 > > Do they just cast to float anyway or they have similar complexity of checks In PostgreSQL they cast decimal to float64, compute pow(), cast back. They accept the precision loss. Also in MySQL same approach - converts DECIMAL to DOUBLE for POW(). -- 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]
