kou commented on PR #38555: URL: https://github.com/apache/arrow/pull/38555#issuecomment-1790063434
It may cause an issue. We use the value in https://github.com/apache/arrow-site/blob/69bcbde1906af9e1b463484cdb1528986210ca89/arrow.rdf#L65 . It uses the value as-is for now. So both of `"2023-11-01"` (string) and `2023-11-01` (date) work. But if want to change output format, we can't do it with a string. We need a date value for it. FYI: If we quote, the value is processed as a string: ```console $ ruby -r date -r yaml -e 'pp YAML.safe_load("date: \"2023-11-01\"", permitted_classes: [Date])' {"date"=>"2023-11-01"} ``` If we don't quote, the value is processed as a date: ```console $ ruby -r date -r yaml -e 'pp YAML.safe_load("date: 2023-11-01", permitted_classes: [Date])' {"date"=>#<Date: 2023-11-01 ((2460250j,0s,0n),+0s,-Infj)>} ``` -- 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. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org