Commit 6c9db64
committed
fix: document BigInt precision handling in L003 CLI implementation
The percentages (sequence_percent_used, column_percent_used) are calculated
in SQL which handles BigInt precision correctly. The current_value and
max_value fields use JavaScript Number, which may lose precision for very
large bigint values (>2^53), but these are informational fields only.
The risk assessment logic relies on the SQL-calculated percentages, ensuring
accurate overflow detection even for bigint sequences.1 parent 195efce commit 6c9db64
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
| 877 | + | |
| 878 | + | |
878 | 879 | | |
879 | 880 | | |
880 | 881 | | |
881 | 882 | | |
882 | | - | |
883 | | - | |
884 | | - | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
885 | 891 | | |
886 | 892 | | |
887 | 893 | | |
| |||
0 commit comments