efegokdemir opened a new pull request, #4878:
URL: https://github.com/apache/arrow-adbc/pull/4878

   ## What
   
   Preserve SQLite's text representation when REAL values are converted to 
binary strings during mixed-type column inference.
   
   ## Why
   
   The current conversion used `%e` with its default precision, truncating REAL 
values when a column containing them is inferred as string.
   
   ## How
   
   Use SQLite's formatter with 17 significant digits for the binary64 value. 
The regression test covers REAL values both before and after a string value in 
the result set, comparing with SQLite's own `CAST(... AS TEXT)` output.
   
   ## Testing
   
   - Confirmed the new regression test fails before the fix (`123456789.123` 
became `1.234568e+08`).
   - Targeted SQLite reader tests passed (2/2).
   - Full SQLite test binary passed (144 run, 16 skipped, 0 failed).
   - CTest SQLite target passed (1/1).
   - Relevant clang-format, cpplint, trailing-whitespace, and `git diff 
--check` checks passed.
   
   Closes #4862
   


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