You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Abdi-29 (via GitHub)" <gi...@apache.org> on 2024/04/02 13:17:33 UTC

[I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Abdi-29 opened a new issue, #5581:
URL: https://github.com/apache/arrow-rs/issues/5581

   **Describe the bug**
   When executing a query with a timestamp outside the supported range in the arrow cast, users receive a confusing error message about nanosecond overflow. This error message does not clearly explain the limitation of timestamp queries in Datafusion, confusing users.
   
   **To Reproduce**
   1. Execute a query with a timestamp outside the supported range (e.g., SELECT * FROM t WHERE a < '1650-01-01 01:01:01'::timestamp).
   
   **Expected behaviour**
   I expected to receive a clear error message that explains the limitation of timestamp queries in Datafusion (1677 to 2262) and suggests using timestamps within this range.
   
   **Additional context**
   This issue affects users who query timestamps outside the supported range in the arrow-cast. Improving the error message handling to provide clearer guidance would enhance user experience and reduce confusion.
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #5581:
URL: https://github.com/apache/arrow-rs/issues/5581#issuecomment-2144828129

   `label_issue.py` automatically added labels {'object-store'} from #1


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #5581:
URL: https://github.com/apache/arrow-rs/issues/5581#issuecomment-2741681826

   Migrating from arrow-rs issue [#5581](https://github.com/apache/arrow-rs/issues/5581)


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #5581:
URL: https://github.com/apache/arrow-rs/issues/5581#issuecomment-2144827820

   `label_issue.py` automatically added labels {'arrow'} from #5730


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #5581: Improve Error Message for Timestamps Outside Supported Range
URL: https://github.com/apache/arrow-rs/issues/5581


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #5581:
URL: https://github.com/apache/arrow-rs/issues/5581#issuecomment-2144828014

   `label_issue.py` automatically added labels {'parquet'} from #1


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #5581:
URL: https://github.com/apache/arrow-rs/issues/5581#issuecomment-2144827921

   `label_issue.py` automatically added labels {'arrow-flight'} from #1


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] Improve Error Message for Timestamps Outside Supported Range [arrow-rs]

Posted by "Abdi-29 (via GitHub)" <gi...@apache.org>.
Abdi-29 commented on issue #5581:
URL: https://github.com/apache/arrow-rs/issues/5581#issuecomment-2032023224

   I did some investigation and the error message is coming from [here](https://github.com/apache/arrow-rs/blob/77a3132bbd27ebb3cef0d79f24a9a839f125343c/arrow-cast/src/cast/mod.rs#L2114). I'll be happy working on this issue


-- 
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: github-unsubscribe@arrow.apache.org

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