maropu commented on a change in pull request #26190: [SPARK-29532][SQL]
simplify interval string parsing
URL: https://github.com/apache/spark/pull/26190#discussion_r338061100
##########
File path:
common/unsafe/src/main/java/org/apache/spark/unsafe/types/CalendarInterval.java
##########
@@ -242,72 +159,59 @@ public static CalendarInterval fromDayTimeString(String
s, String from, String t
return result;
}
- public static CalendarInterval fromSingleUnitString(String unit, String s)
+ public static CalendarInterval fromUnitString(String[] units, String[]
values)
Review comment:
nit: `fromUnitStrings`?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]