You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
atSystem.Number.ThrowOverflowException(TypeCodetype)
at System.Decimal.DecCalc.ScaleResult(Buf24*bufRes,UInt32hiRes,Int32scale)
at System.Decimal.DecCalc.VarDecMul(DecCalc&d1,DecCalc&d2)
at System.Decimal.op_Multiply(Decimald1,Decimald2)
at ClickHouse.Client.Utility.MathUtils.ToPower(Decimalvalue,Int32power)inD:\a\ClickHouse.Client\ClickHouse.Client\ClickHouse.Client\Utility\MathUtils.cs:line 40
ClickHouse.Client.dll!ClickHouse.Client.Utility.MathUtils.ToPower(decimalvalue,intpower) Line 40
ClickHouse.Client.dll!ClickHouse.Client.Types.DecimalType.Scale.set(intvalue) Line 26
ClickHouse.Client.dll!ClickHouse.Client.Types.DecimalType.Parse(ClickHouse.Client.Types.Grammar.SyntaxTreeNodenode,System.Func<ClickHouse.Client.Types.Grammar.SyntaxTreeNode,ClickHouse.Client.Types.ClickHouseType>parseClickHouseTypeFunc,ClickHouse.Client.TypeSettingssettings) Line 62
ClickHouse.Client.dll!ClickHouse.Client.Types.TypeConverter.ParseClickHouseType(ClickHouse.Client.Types.Grammar.SyntaxTreeNodenode,ClickHouse.Client.TypeSettingssettings) Line 131
ClickHouse.Client.dll!ClickHouse.Client.Types.TypeConverter.ParseClickHouseType(stringtype,ClickHouse.Client.TypeSettingssettings) Line 119
ClickHouse.Client.dll!ClickHouse.Client.ADO.Readers.ClickHouseDataReader.ReadHeaders() Line 215ClickHouse.Client.dll!ClickHouse.Client.ADO.Readers.ClickHouseDataReader.ClickHouseDataReader(System.Net.Http.HttpResponseMessagehttpResponse,ClickHouse.Client.TypeSettingssettings) Line 35ClickHouse.Client.dll!ClickHouse.Client.ADO.ClickHouseCommand.ExecuteDbDataReaderAsync(System.Data.CommandBehaviorbehavior,System.Threading.CancellationTokencancellationToken) Line 142
The text was updated successfully, but these errors were encountered:
Sample type
Decimal(38, 29)
Exponent calculated using
decimal
type and fails with overflow here: https://github.com/DarkWanderer/ClickHouse.Client/blob/master/ClickHouse.Client/Types/DecimalType.cs#L26The text was updated successfully, but these errors were encountered: