We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Привет!
В BinaryStreamWriter.cs https://github.com/DarkWanderer/ClickHouse.Client/blob/master/ClickHouse.Client/Formats/BinaryStreamWriter.cs#L61
Не верно записывает отрицательные decimal значения (они становятся положительные и не верные)
Исправил по аналогии, как в нативной реализации https://github.com/killwort/ClickHouse-Net/blob/master/ClickHouse.Ado/Impl/ColumnTypes/DecimalColumnType.cs#L52
Стало нормально.
The text was updated successfully, but these errors were encountered:
Привет
https://github.com/killwort/ClickHouse-Net/blob/master/ClickHouse.Ado/Impl/ColumnTypes/DecimalColumnType.cs#L52 - это не нативная реализация, только копия :) Там кстати та же ошибка для Decimal128
Decimal128
Ошибку нашел, спасибо за репорт, исправлю
Sorry, something went wrong.
Fixed serialization of small negative decimals #33
108de12
Пофикшено в релизе 1.3
DarkWanderer
No branches or pull requests
Привет!
В BinaryStreamWriter.cs
https://github.com/DarkWanderer/ClickHouse.Client/blob/master/ClickHouse.Client/Formats/BinaryStreamWriter.cs#L61
Не верно записывает отрицательные decimal значения (они становятся положительные и не верные)
Исправил по аналогии, как в нативной реализации
https://github.com/killwort/ClickHouse-Net/blob/master/ClickHouse.Ado/Impl/ColumnTypes/DecimalColumnType.cs#L52
Стало нормально.
The text was updated successfully, but these errors were encountered: