| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Generate exact 38-place NUMBER fractions from unbiased decimal draws for both VALUE overloads. Cover the result scale and range behavior in the regression suite. Assisted-by: OpenAI:GPT-6 Percentage of AI-generated code: 100%
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configuration
Reviewing files that changed from the base of the PR and between 069766e and a67b26d. 📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 Walkthrough WalkthroughDBMS_RANDOM now builds random fractions from two 19-digit PRNG draws and uses them in both VALUE overloads. Regression tests check scale 38. The STRING printable character set adds a backslash. ChangesVALUE precision
STRING character set
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: unbridled-41 Merge Risk: ⚪ Minimal · up to a67b2 The precision change has no established merge-blocking issue. The exclusive-upper-bound edge case predates this change. Architecture SummaryArchitecture risk: 🟡 Medium · up to a67b2 The change affects 1 system. Changed systems: contrib Architecture concerns Systems and components
Before / after behavior
Reliability and maintainability
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
|
Please run the DBMS_RANDOM regression suite in a working build and add a check that digits beyond the previous precision limit vary, since scale() = 38 alone only verifies decimal scale. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes #2308.
DBMS_RANDOM.VALUE converted a float8 draw to NUMBER, limiting its random fraction to roughly 16 decimal digits. This change builds a 38-place NUMBER fraction from two unbiased 19-digit draws. Both the unit interval and range overloads use the same helper. The regression SQL checks the decimal scale, bounds, and the ordering call without parentheses.
Verification
AI assistance
Assisted-by: OpenAI:GPT-6
Percentage of AI-generated code: 100%
Summary by CodeRabbit