dongjoon-hyun commented on a change in pull request #25022: [SPARK-24695][SQL]:
To expose Calendar interval type, so that same can be returned from the UDF.
URL: https://github.com/apache/spark/pull/25022#discussion_r302221034
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/types/CalendarInterval.java
##########
@@ -103,8 +103,7 @@ public static CalendarInterval
fromCaseInsensitiveString(String s) {
throw new IllegalArgumentException("Interval cannot be null or blank.");
}
String sInLowerCase = s.trim().toLowerCase(Locale.ROOT);
- String interval =
- sInLowerCase.startsWith("interval ") ? sInLowerCase : "interval " +
sInLowerCase;
+ String interval = sInLowerCase.startsWith("interval ") ? sInLowerCase :
"interval " + sInLowerCase;
Review comment:
Please don't include this kind of style change.
----------------------------------------------------------------
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]