You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2026/07/15 06:46:30 UTC

[I] c/driver/postgresql: test NUMERIC with property-based testing [arrow-adbc]

lidavidm opened a new issue, #4528:
URL: https://github.com/apache/arrow-adbc/issues/4528

   ### What feature or improvement would you like to see?
   
   We should use something like https://hegel.dev/ or https://hypothesis.works/ to drive round-trip tests of NUMERIC values, testing different combinations of precision and scale, ideally testing both the fast and slow 128-bit implementations, to make sure things are well-tested. (For example, we should check scales that are negative, 0, less than precision, equal to precision.)
   
   Perhaps instead of integrating a new test framework, we could use one of them to simply generate data and include that as fixtures in our tests. Also I think if we choose small precisions, we can simply test every single value. 
   
   For the fast/slow 128-bit implementations, we could add a (undocumented) option to disable the fast implementation, so that we get full coverage even on platforms that do not need the fallback.


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

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


Re: [I] c/driver/postgresql: test NUMERIC with property-based testing [arrow-adbc]

Posted by "Mandukhai-Alimaa (via GitHub)" <gi...@apache.org>.
Mandukhai-Alimaa commented on issue #4528:
URL: https://github.com/apache/arrow-adbc/issues/4528#issuecomment-4983928696

   take


-- 
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] c/driver/postgresql: test NUMERIC with property-based testing [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #4528:
URL: https://github.com/apache/arrow-adbc/issues/4528#issuecomment-4977685194

   CC @Mandukhai-Alimaa 


-- 
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] c/driver/postgresql: test NUMERIC with property-based testing [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #4528: c/driver/postgresql: test NUMERIC with property-based testing
URL: https://github.com/apache/arrow-adbc/issues/4528


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

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