HyukjinKwon opened a new pull request #33877:
URL: https://github.com/apache/spark/pull/33877
### What changes were proposed in this pull request?
This PR adds the support of `TimestampNTZType` in pandas API on Spark. They
are handled identically with `TimestampType` for now. In fact, we don't support
`datetime` with timezone yet.
This PR is dependent on #33876 and #33875.
### Why are the changes needed?
To complete `TimestampNTZ` support.
### Does this PR introduce _any_ user-facing change?
Yes, now pandas API on Spark can handle `TimestampNTZType`.
```python
import datetime
spark.createDataFrame([(datetime.datetime.now(),)], schema="dt
timestamp_ntz").to_pandas_on_spark()
```
```
dt
0 2021-08-31 19:58:55.024410
```
### How was this patch tested?
Unittests were added.
--
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]