MaxGekk commented on issue #26283: [SPARK-29622][SQL] do not allow leading 
'interval' in the interval string format
URL: https://github.com/apache/spark/pull/26283#issuecomment-546980726
 
 
   If we don't allow `'interval'` in an input strings, shouldn't we output it 
too: 
https://github.com/apache/spark/blob/cdea520ff8954cf415fd98d034d9b674d6ca4f67/common/unsafe/src/main/java/org/apache/spark/unsafe/types/CalendarInterval.java#L282
   
   Just in case, could you write a round trip test if such test doesn't exist. 
Otherwise it looks strange that Spark cannot parse back its output. 

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