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

   
   ### What changes were proposed in this pull request?
   
   1, Enable `DateType` and `TimeType`  in `convert_numpy`
   2, Remove `date_as_object=True` from `convert_numpy`
   
   
   ### Why are the changes needed?
   1, to replace `convert_legacy` step by step;
   
   2, `date_as_object=True` is used in `pa.Array.to_pandas`, however, at least 
since pyarrow 2.0, the default value is already True 
   
   see 
https://arrow.apache.org/docs/2.0/python/generated/pyarrow.Array.html?highlight=to_pandas#pyarrow.Array.to_pandas
   
   We don't have to explicitly set it since the minimum version is now 18.0
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   ci
   
   ### 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: [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