dongjoon-hyun commented on a change in pull request #24619: [SPARK-27735][SS]
Parsing interval string should be case-insensitive in SS
URL: https://github.com/apache/spark/pull/24619#discussion_r284794625
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/streaming/ProcessingTime.scala
##########
@@ -76,18 +76,7 @@ object ProcessingTime {
*/
@deprecated("use Trigger.ProcessingTime(interval)", "2.2.0")
def apply(interval: String): ProcessingTime = {
- if (StringUtils.isBlank(interval)) {
Review comment:
ditto. Please remove the unused import, too.
```
import org.apache.commons.lang3.StringUtils
```
----------------------------------------------------------------
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]