HyukjinKwon opened a new pull request #34181:
URL: https://github.com/apache/spark/pull/34181


   ### What changes were proposed in this pull request?
   
   This PR proposes to refactor typing logic for multi-index support that was 
mostly introduced in https://github.com/apache/spark/pull/34176
   
   At a high level, the below functions were introduced
   
   ```bash
   _extract_types # renamed from `extract_types`
   ```
   
   ```
   _is_named_params
   _address_named_type_hoders
   _to_tuple_of_params
   _convert_tuples_to_zip
   _address_unnamed_type_holders
   ```
   
   In this PR, they become as below with simplification:
   
   ```bash
   _to_type_holders # renamed from `_extract_types`
   ```
   
   ```
   _new_type_holders # merged from _is_named_params, etc.
   ```
   
   ### Why are the changes needed?
   
   To make the codes easier to read.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, dev-only.
   
   ### How was this patch tested?
   
   Existing tests should cover them.
   


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