MaxGekk commented on issue #26327: [WIP][SPARK-29669][SQL] Refactor 
IntervalUtils.fromDayTimeString()
URL: https://github.com/apache/spark/pull/26327#issuecomment-548102964
 
 
   The build https://github.com/apache/spark/pull/26327#issuecomment-548087401 
fails on: `'1 2:03' day to hour` because groups in the regexp are floating:
   1. hour can be bound to group 5 
https://github.com/apache/spark/blob/dc987f0c8b864208cd1e157f84b997b6c43b68cd/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/IntervalUtils.scala#L210
   2. or to group 6: 
https://github.com/apache/spark/blob/dc987f0c8b864208cd1e157f84b997b6c43b68cd/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/IntervalUtils.scala#L217
   The is a weird regexp :-E 

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