andy-hf-kwok opened a new pull request, #2588: URL: https://github.com/apache/datafusion-comet/pull/2588
## Which issue does this PR close? This PR aims to address the `-Wnumeric-widen` warning in the codebase. As the overall scope of strict-warning compliance is quite large, this change focuses on resolving this specific warning type as a first step. Future PRs will continue addressing other warning incrementally. Partially closes #. https://github.com/apache/datafusion-comet/issues/2255 ## Rationale for this change To clean up the code as per static check with the hope to resolve all warning and promote the restrict warning profile for the default CI build to uphold Scala code quality. ## What changes are included in this PR? To perform explicit type conversion instead of relying on runtime implicit cast. ## How are these changes tested? * Code can now compile with `-Wnumeric-widen` option on. * CI continue to pass -- 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]
