Commit ed91f6f
### Rationale for this change
Please see #47441 and #41476.
The `ArrowWriterProperties.write_time_adjusted_to_utc` flag is available in C++, yet isn't accessible from Python. This PR introduces the said flag to Python API as well.
### What changes are included in this PR?
Exposure of `use_time_adjusted_to_utc` boolean argument in Python's API.
### Are these changes tested?
Yes, roundtrip parquet tests for all combinations of time types and their respective time units.
### Are there any user-facing changes?
The users will be able to adjust the said flag directly from Python API.
* GitHub Issue: #47441
Lead-authored-by: Bogdan Romenskii <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
1 parent 0f311e1 commit ed91f6f
File tree
5 files changed
+59
-2
lines changed- python/pyarrow
- includes
- parquet
- tests/parquet
5 files changed
+59
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2202 | 2202 | | |
2203 | 2203 | | |
2204 | 2204 | | |
2205 | | - | |
| 2205 | + | |
| 2206 | + | |
2206 | 2207 | | |
2207 | 2208 | | |
2208 | 2209 | | |
| |||
2251 | 2252 | | |
2252 | 2253 | | |
2253 | 2254 | | |
| 2255 | + | |
| 2256 | + | |
2254 | 2257 | | |
2255 | 2258 | | |
2256 | 2259 | | |
| |||
2312 | 2315 | | |
2313 | 2316 | | |
2314 | 2317 | | |
2315 | | - | |
| 2318 | + | |
| 2319 | + | |
2316 | 2320 | | |
2317 | 2321 | | |
2318 | 2322 | | |
| |||
2356 | 2360 | | |
2357 | 2361 | | |
2358 | 2362 | | |
| 2363 | + | |
2359 | 2364 | | |
2360 | 2365 | | |
2361 | 2366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
522 | 523 | | |
523 | 524 | | |
524 | 525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
942 | 948 | | |
943 | 949 | | |
944 | 950 | | |
| |||
1035 | 1041 | | |
1036 | 1042 | | |
1037 | 1043 | | |
| 1044 | + | |
1038 | 1045 | | |
1039 | 1046 | | |
1040 | 1047 | | |
| |||
1088 | 1095 | | |
1089 | 1096 | | |
1090 | 1097 | | |
| 1098 | + | |
1091 | 1099 | | |
1092 | 1100 | | |
1093 | 1101 | | |
| |||
1949 | 1957 | | |
1950 | 1958 | | |
1951 | 1959 | | |
| 1960 | + | |
1952 | 1961 | | |
1953 | 1962 | | |
1954 | 1963 | | |
| |||
1980 | 1989 | | |
1981 | 1990 | | |
1982 | 1991 | | |
| 1992 | + | |
1983 | 1993 | | |
1984 | 1994 | | |
1985 | 1995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
0 commit comments