Repository navigation
Commit 2a1439e
Fix append to a table partitioned by bucket on a time column (#4343)
* Fix append to a table partitioned by bucket on a time column
The bucket transform returns an int, but the time partition representation
only accepted datetime.time, so every append raised AttributeError. Accept
the int, as the date, timestamp and uuid handlers already do.
Co-authored-by: Isaac <no-reply@databricks.com>
* Retrigger CI
Co-authored-by: Isaac <no-reply@databricks.com>
* Retrigger CI
Co-authored-by: Isaac <no-reply@databricks.com>
* Retrigger CI
Co-authored-by: Isaac <no-reply@databricks.com>
---------
Co-authored-by: Isaac <no-reply@databricks.com>1 parent aeaddb1 commit 2a1439e
3 files changed
Lines changed: 41 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
553 | | - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
554 | 561 | | |
555 | 562 | | |
556 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
3524 | 3524 | | |
3525 | 3525 | | |
3526 | 3526 | | |
| 3527 | + | |
| 3528 | + | |
| 3529 | + | |
| 3530 | + | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
| 3534 | + | |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
3527 | 3548 | | |
3528 | 3549 | | |
3529 | 3550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
1664 | 1671 | | |
1665 | 1672 | | |
1666 | 1673 | | |
1667 | 1674 | | |
1668 | 1675 | | |
| 1676 | + | |
| 1677 | + | |
1669 | 1678 | | |
1670 | 1679 | | |
1671 | 1680 | | |
| |||
0 commit comments