asfimport opened a new issue, #91:
URL: https://github.com/apache/arrow-js/issues/91

   Current timestamp types are all the same. They have the same representation. 
And also the same precision.
   
   For example, `TimestampSecond` and `TimestampMillisecond` return the values 
as `1652118180000`. Instead, I would expect the `TimestampSecond` to drop the 3 
zeros when returning a value, e.g. `1652118180`. Also, the representation 
underneath is still an `int32` array. Even though for `TimestampSecond` every 
second value is `0`, the array still has double the amount of integers.
   
   I also got an error when trying to read a `Date` as `TimestampNanosecond` - 
`TypeError: can't convert 1652118180000 to BigInt`.
   
   **Reporter**: [Teodor 
Kostov](https://issues.apache.org/jira/browse/ARROW-16543)
   
   <sub>**Note**: *This issue was originally created as 
[ARROW-16543](https://issues.apache.org/jira/browse/ARROW-16543). Please see 
the [migration documentation](https://github.com/apache/arrow/issues/14542) for 
further details.*</sub>


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to