[
https://issues.apache.org/jira/browse/ARROW-15748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou resolved ARROW-15748.
------------------------------------
Resolution: Fixed
Issue resolved by pull request 12507
[https://github.com/apache/arrow/pull/12507]
> [Python] Round temporal options default unit is `day` but documented as
> `second`.
> ---------------------------------------------------------------------------------
>
> Key: ARROW-15748
> URL: https://issues.apache.org/jira/browse/ARROW-15748
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 8.0.0
> Reporter: A. Coady
> Assignee: Rok Mihevc
> Priority: Minor
> Labels: pull-request-available
> Fix For: 8.0.0, 7.0.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The [python documentation for round temporal options
> |https://arrow.apache.org/docs/dev/python/generated/pyarrow.compute.RoundTemporalOptions.html]
> says the default unit is `second`, but the [actual
> behavior|https://arrow.apache.org/docs/dev/cpp/api/compute.html#classarrow_1_1compute_1_1_round_temporal_options]
> is a default of `day`.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)