waitingkuo opened a new issue, #2917:
URL: https://github.com/apache/arrow-rs/issues/2917

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   
   ```rust
   fn main() {
       let arr = TimestampSecondArray::from_vec(vec![0], 
Some("America/New_York".to_string()));
       println!("{:?}", a);
   }
   ```
   
   this outputs followings for now
   ```bash
   PrimitiveArray<Timestamp(Second, None)>
   [
     1970-01-01 00:00:00,
   ]
   ```
   
   
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   outputs something like this
   ```bash
   PrimitiveArray<Timestamp(Second, Some("America/New_York"))>
   [
     1969-12-31 19:00:00 -05:00,
   ]
   ```
   
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   
   
   we could extends 
   
https://github.com/apache/arrow-rs/blob/22e742bc76b5db333ab2384a92c362662cca3879/arrow-array/src/array/primitive_array.rs#L554-L560
   
   by `as_datetime_with_timezone`  which will be added in #2909


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