This is an automated email from the ASF dual-hosted git repository.

zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new ab7784455b MINOR: [Go] use `Decimal256Type` in 
`TestSwapEndianPrimitiveArrayData` (#35999)
ab7784455b is described below

commit ab7784455bd938f0190c139a906760d88647a6c3
Author: Igor Izvekov <izvei...@gmail.com>
AuthorDate: Tue Jun 13 00:18:46 2023 +0300

    MINOR: [Go] use `Decimal256Type` in `TestSwapEndianPrimitiveArrayData` 
(#35999)
    
    
    
    ### Rationale for this change
    Like `Decimal128Type`
    
    ### What changes are included in this PR?
    
    ### Are these changes tested?
    
    ### Are there any user-facing changes?
    
    Authored-by: izveigor <izvei...@gmail.com>
    Signed-off-by: Matt Topol <zotthewiz...@gmail.com>
---
 go/arrow/ipc/endian_swap_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/go/arrow/ipc/endian_swap_test.go b/go/arrow/ipc/endian_swap_test.go
index c431f2f4d4..719da6b4d7 100644
--- a/go/arrow/ipc/endian_swap_test.go
+++ b/go/arrow/ipc/endian_swap_test.go
@@ -56,6 +56,7 @@ func TestSwapEndianPrimitiveArrayData(t *testing.T) {
                {arrow.PrimitiveTypes.Int32, 2, "01234567", "32107654"},
                {arrow.PrimitiveTypes.Uint64, 1, "01234567", "76543210"},
                {&arrow.Decimal128Type{Precision: 38, Scale: 10}, 1, 
"0123456789abcdef", "fedcba9876543210"},
+               {&arrow.Decimal256Type{Precision: 72, Scale: 10}, 1, 
"0123456789abcdef0123456789abcdef", "fedcba9876543210fedcba9876543210"},
                {arrow.PrimitiveTypes.Float32, 2, "01200560", "02100650"},
                {arrow.PrimitiveTypes.Float64, 1, "01200560", "06500210"},
        }

Reply via email to