yan-hic commented on issue #28303:
URL: https://github.com/apache/arrow/issues/28303#issuecomment-1520728373

   > ```python
   > timestamp_parsers
   > ```
   
   I don't understand. The language is irrelevant. One passes the 
`timestamp_parsers` to parse from string, and arrow could be smart enough to 
cast to `date32` instead if applicable i.e. if destination field is defined as 
such in the schema.
   As @jorisvandenbossche wrote earlier, casting from string to date is (still) 
not possible today, which is in effect what the `read_csv` does.
   
   Until then, it's a 2 step process: `read_csv` which parses to timestamp, and 
then cast all relevant columns to `date32` (`date64` not used in parquet)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to