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

   ### What changes were proposed in this pull request?
   
   Refactor case matching for Spark types by introducing physical types. Since 
multiple logical types match to the same physical type (for e.g. `DateType` and 
`YearMonthIntervalType` are both implemented using an integer), we can case 
match on their physical types rather than listing all possible logical types.
   
   ### Why are the changes needed?
   
   These changes simplify the Spark type system.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Since this code is a refactor of existing code, we rely on existing tests.


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