srowen commented on a change in pull request #24472: [SPARK-27578][SQL]Add 
support for "interval '23:59:59' hour to second"
URL: https://github.com/apache/spark/pull/24472#discussion_r286669906
 
 

 ##########
 File path: 
common/unsafe/src/main/java/org/apache/spark/unsafe/types/CalendarInterval.java
 ##########
 @@ -164,6 +167,37 @@ public static CalendarInterval fromDayTimeString(String 
s) throws IllegalArgumen
     return result;
   }
 
+  /**
+   * Parse dayTime string in form: HH:mm:ss.nnnnnnnnn
+   *
+   */
+  public static CalendarInterval fromHourTimeString(String s) throws 
IllegalArgumentException {
+    CalendarInterval result;
 
 Review comment:
   result is really superfluous here

----------------------------------------------------------------
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]

Reply via email to