MaxGekk opened a new pull request, #50251:
URL: https://github.com/apache/spark/pull/50251

   ### What changes were proposed in this pull request?
   In the PR, I propose to re-use the method `dateTimeUtilsCls()` instead of 
`org.apache.spark.sql.catalyst.util.DateTimeUtils` in the `Cast` expression.
   
   ### Why are the changes needed?
   1. To make code consistent: in some places we use `dateTimeUtilsCls()`, but 
in others `org.apache.spark.sql.catalyst.util.DateTimeUtils`.
   2. To improve code maintenance:  `DateTimeUtils` can be moved to another 
package w/o changing the code generation in `Cast`.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   By existing GAs.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.
   


-- 
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: reviews-unsubscr...@spark.apache.org

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


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

Reply via email to