-
Notifications
You must be signed in to change notification settings - Fork 10
feat: support decimal #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,369
−162
Merged
Changes from 9 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
dc15bfb
feat: support decimal
RaphDal c186a73
refactor: remove unused constant for decimal type code
RaphDal 6c3459f
docs: clarify comment on NewScaledDecimal regarding nil/empty unscale…
RaphDal f486bab
refactor: simplify protocol version handling in integration tests
RaphDal 100bba6
fix: update error message for decimal value size limit
RaphDal 5a3e29b
fix: improve validation for decimal text exponent handling
RaphDal b2e697e
fix: handle null decimals and improve error reporting in DecimalColumn
RaphDal a1c3981
fix: remove unnecessary check for mantissa digits in decimal validation
RaphDal d2b6670
refactor: rework decimal integration to conform to other types
RaphDal a7f4c07
fix: handle null decimals in DecimalColumn methods to prevent writing…
RaphDal b6e5de3
fix: adjust twos complement return value for zero in bigIntToTwosComp…
RaphDal f3222af
fix: correct method name in LineSender interface documentation
RaphDal 8405773
fix: rename IsNull method to isNull for consistency in ScaledDecimal
RaphDal 8e4947f
Add decimal serialization benchmark
puzpuzpuz 0f8349b
refactor: cleanup decimal method names
RaphDal 4746449
refactor: rename ScaledDecimal to Decimal for consistency across the …
RaphDal e777a3b
Merge branch 'rd_decimal' of github.com:questdb/go-questdb-client int…
RaphDal 36d7070
fix: improve bigIntToTwosComplement to handle large values and normal…
RaphDal 2d84a90
refactor: update decimal column methods in benchmark for consistency
RaphDal a2c068d
refactor: update decimal column type from ScaledDecimal to Decimal fo…
RaphDal 6677246
refactor: rename DecimalColumn method to DecimalColumnFromString for …
RaphDal 7ebdb94
test: add unit tests for NewDecimalUnsafe function to validate behavior
RaphDal e8d4fa1
fix: use allocation-free conversion of negative big.Int to two's comp…
RaphDal 04d4bdc
refactor: simplify bigIntToTwosComplement by removing redundant sign …
RaphDal d7e05d5
Update container version
puzpuzpuz cf9cfb7
Fix null element type code
puzpuzpuz f3762c6
Improve tests
puzpuzpuz 187208f
Fix more tests
puzpuzpuz 60fb338
Remove null array serialization and skip the column instead
puzpuzpuz e7e5545
Relax validation
puzpuzpuz 788eb0b
More fixes
puzpuzpuz 21e47e2
Speed up integration test
puzpuzpuz be59b9a
Pre-create decimal columns
puzpuzpuz f5d1d9e
Add missing nils
puzpuzpuz c222868
Add missing column definition
puzpuzpuz d620051
More test fixes
puzpuzpuz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.