You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/28 20:26:12 UTC

[GitHub] [arrow] asmirnov82 commented on a diff in pull request #13732: ARROW-17223: [C#] DecimalArray incorrectly appends values greater than Decimal.MaxValue / 2 and less than Decimal.MinValue / 2

asmirnov82 commented on code in PR #13732:
URL: https://github.com/apache/arrow/pull/13732#discussion_r932639316


##########
csharp/src/Apache.Arrow/DecimalUtility.cs:
##########
@@ -99,7 +99,7 @@ internal static void GetBytes(decimal value, int precision, int scale, int byteW
                 }
                 bigInt = new BigInteger(bigIntBytes);
 #else
-            byte[] bigIntBytes = new byte[12];
+            byte[] bigIntBytes = new byte[13];

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org