eerhardt commented on pull request #7654:
URL: https://github.com/apache/arrow/pull/7654#issuecomment-656832270


   Can we just introduce new `Append(DateTime value)` and 
`GetDateAsDateTime(int index)` APIs instead of making a breaking change?
   
   In general, DateTimeOffset is the preferred type to use when talking about 
dates and times. The reasoning is because exactly what you point out in the 
JIRA issue - DateTime.Kind is very confusing and can cause a lot of problems. 
So we generally recommend users to use DateTimeOffset unless they have a strong 
reason to use DateTime.
   
   So I'd suggest to keep the existing code (the builder is based on 
DateTimeOffset), but to also add new `Append(DateTime value)` overloads to 
solve the issue you logged.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to