MaxGekk edited a comment on issue #25230: [SPARK-28471][SQL] Replace `yyyy` by 
`uuuu` in date-timestamp patterns without era
URL: https://github.com/apache/spark/pull/25230#issuecomment-515736653
 
 
   > Could you elaborate a little bit more about the criteria of replacement?
   
   @dongjoon-hyun Everything with the `yyyy-` pattern except of:
   1. `Test`, `Suite` & `Benchmark`. Existing tests must work as is.
   2. `SimpleDateFormat` because it doesn't support the `uuuu` pattern.
   3. Comments and examples (except comments related to already replaced 
patterns).
   
   For `*.scala`:
   ```shell
   find . -type f -name "*.scala" -print0|xargs -0 grep -n 'yyyy-'|grep -v -i 
SimpleDateFormat|grep -v '> SELECT _FUNC_'|grep -v '\*'|grep -v '//'|grep -v 
Suite|grep -v Benchmark|grep -v Test
   ```

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