llama90 opened a new issue, #39050:
URL: https://github.com/apache/arrow/issues/39050

   ### Describe the enhancement requested
   
   This is a sub-issue of the issue mentioned below.
   
   * #35560 
   
   As we can see in the parent issue, we can find tables organizing the related 
functions.
   
   | file name         | code snippet                                           
                                    |
   
|-------------------|--------------------------------------------------------------------------------------------|
   | scalar_test.cc    | `TimestampScalar(value, 
timestamp(in)).CastTo(timestamp(out)).ValueOrDie();`               | 2    |
   | scalar_test.cc    | `TimestampScalar(1024, 
timestamp(TimeUnit::MILLI)).CastTo(utf8()));`                       |
   | scalar_test.cc    | `TimestampScalar(1024, 
timestamp(TimeUnit::MILLI)).CastTo(int64()));`                      |
   | scalar_test.cc    | `.CastTo(date64()));`                                  
                                    |
   
   > The functions require handling "ValueOrDie called on an error: Invalid: 
Casting from timestamp[ns] to timestamp[us] would lose data: 1234" error.
   
   We need to implement casting between different `Timestamp` types.
   
   
   ### Component(s)
   
   C++


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