Repository navigation
Commit 2e4ddb4
Fix scalafmt in sql/api and test zero at the old fast-fail boundary
Use the 2-space continuation indent and wrap the Javadoc within maxColumn = 98, as scalafmt
requires for sql/api. Scope the Javadoc's note on the conf to this helper, since Decimal.set
still reads it for an in-range value with a negative scale. Also test '0e38', the smallest
exponent master rejected, and '0e37', which used to get precision 38.
Co-authored-by: Isaac <[email protected]>1 parent e7dd3a4 commit 2e4ddb4
3 files changed
Lines changed: 11 additions & 10 deletions
File tree
- sql
- api/src/main/scala/org/apache/spark/sql/types
- catalyst/src/test/scala/org/apache/spark/sql
- catalyst/expressions
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
653 | 653 | | |
654 | | - | |
655 | | - | |
| 654 | + | |
| 655 | + | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| |||
0 commit comments