mustafasrepo commented on code in PR #9273:
URL: https://github.com/apache/arrow-datafusion/pull/9273#discussion_r1495393129
##########
datafusion/physical-expr/src/expressions/cast.rs:
##########
@@ -76,6 +76,26 @@ impl CastExpr {
pub fn cast_options(&self) -> &CastOptions<'static> {
&self.cast_options
}
+ pub fn is_bigger_cast(&self, src: DataType) -> bool {
Review Comment:
I can imagine this util would be useful in another context.
##########
datafusion/physical-expr/src/expressions/cast.rs:
##########
@@ -76,6 +76,26 @@ impl CastExpr {
pub fn cast_options(&self) -> &CastOptions<'static> {
&self.cast_options
}
+ pub fn is_bigger_cast(&self, src: DataType) -> bool {
Review Comment:
I can imagine this util would be useful in another contexts.
--
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]