You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Kazuaki Ishizaki (Jira)" <ji...@apache.org> on 2020/05/12 18:12:00 UTC

[jira] [Created] (ARROW-8778) [C++][gandiva] SelectionVector related test failed on big-endian platforms

Kazuaki Ishizaki created ARROW-8778:
---------------------------------------

             Summary: [C++][gandiva] SelectionVector related test failed on big-endian platforms
                 Key: ARROW-8778
                 URL: https://issues.apache.org/jira/browse/ARROW-8778
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++ - Gandiva
            Reporter: Kazuaki Ishizaki


These test failures in gandiva tests occur on big-endian platforms

{code}
...
[----------] 11 tests from TestSelectionVector
[ RUN      ] TestSelectionVector.TestInt16Make
[       OK ] TestSelectionVector.TestInt16Make (0 ms)
[ RUN      ] TestSelectionVector.TestInt16MakeNegative
[       OK ] TestSelectionVector.TestInt16MakeNegative (1 ms)
[ RUN      ] TestSelectionVector.TestInt16Set
[       OK ] TestSelectionVector.TestInt16Set (0 ms)
[ RUN      ] TestSelectionVector.TestInt16PopulateFromBitMap
/arrow/cpp/src/gandiva/selection_vector_test.cc:116: Failure
Expected equality of these values:
  selection->GetIndex(0)
    Which is: 56
  0
/arrow/cpp/src/gandiva/selection_vector_test.cc:117: Failure
Expected equality of these values:
  selection->GetIndex(1)
    Which is: 61
  5
/arrow/cpp/src/gandiva/selection_vector_test.cc:118: Failure
Expected equality of these values:
  selection->GetIndex(2)
    Which is: 65
  121
[  FAILED  ] TestSelectionVector.TestInt16PopulateFromBitMap (0 ms)
[ RUN      ] TestSelectionVector.TestInt16PopulateFromBitMapNegative
/arrow/cpp/src/gandiva/selection_vector_test.cc:137: Failure
Expected equality of these values:
  status.IsInvalid()
    Which is: false
  true
[  FAILED  ] TestSelectionVector.TestInt16PopulateFromBitMapNegative (0 ms)
[ RUN      ] TestSelectionVector.TestInt32Set
[       OK ] TestSelectionVector.TestInt32Set (0 ms)
[ RUN      ] TestSelectionVector.TestInt32PopulateFromBitMap
/arrow/cpp/src/gandiva/selection_vector_test.cc:187: Failure
Expected equality of these values:
  selection->GetIndex(0)
    Which is: 56
  0
/arrow/cpp/src/gandiva/selection_vector_test.cc:188: Failure
Expected equality of these values:
  selection->GetIndex(1)
    Which is: 61
  5
/arrow/cpp/src/gandiva/selection_vector_test.cc:189: Failure
Expected equality of these values:
  selection->GetIndex(2)
    Which is: 65
  121
[  FAILED  ] TestSelectionVector.TestInt32PopulateFromBitMap (0 ms)
[ RUN      ] TestSelectionVector.TestInt32MakeNegative
[       OK ] TestSelectionVector.TestInt32MakeNegative (0 ms)
[ RUN      ] TestSelectionVector.TestInt64Set
[       OK ] TestSelectionVector.TestInt64Set (0 ms)
[ RUN      ] TestSelectionVector.TestInt64PopulateFromBitMap
/arrow/cpp/src/gandiva/selection_vector_test.cc:252: Failure
Expected equality of these values:
  selection->GetIndex(0)
    Which is: 56
  0
/arrow/cpp/src/gandiva/selection_vector_test.cc:253: Failure
Expected equality of these values:
  selection->GetIndex(1)
    Which is: 61
  5
/arrow/cpp/src/gandiva/selection_vector_test.cc:254: Failure
Expected equality of these values:
  selection->GetIndex(2)
    Which is: 65
  121
[  FAILED  ] TestSelectionVector.TestInt64PopulateFromBitMap (0 ms)
[ RUN      ] TestSelectionVector.TestInt64MakeNegative
[       OK ] TestSelectionVector.TestInt64MakeNegative (0 ms)
[----------] 11 tests from TestSelectionVector (1 ms total)
[----------] 2 tests from TestLruCache
[ RUN      ] TestLruCache.TestEvict
[       OK ] TestLruCache.TestEvict (0 ms)
[ RUN      ] TestLruCache.TestLruBehavior
[       OK ] TestLruCache.TestLruBehavior (0 ms)
[----------] 2 tests from TestLruCache (0 ms total)
[----------] 4 tests from TestToDateHolder
[ RUN      ] TestToDateHolder.TestSimpleDateTime
[       OK ] TestToDateHolder.TestSimpleDateTime (0 ms)
[ RUN      ] TestToDateHolder.TestSimpleDate
[       OK ] TestToDateHolder.TestSimpleDate (0 ms)
[ RUN      ] TestToDateHolder.TestSimpleDateTimeError
[       OK ] TestToDateHolder.TestSimpleDateTimeError (0 ms)
[ RUN      ] TestToDateHolder.TestSimpleDateTimeMakeError
[       OK ] TestToDateHolder.TestSimpleDateTimeMakeError (0 ms)
[----------] 4 tests from TestToDateHolder (1 ms total)
[----------] 3 tests from TestSimpleArena
[ RUN      ] TestSimpleArena.TestAlloc
[       OK ] TestSimpleArena.TestAlloc (0 ms)
[ RUN      ] TestSimpleArena.TestReset1
[       OK ] TestSimpleArena.TestReset1 (0 ms)
[ RUN      ] TestSimpleArena.TestReset2
[       OK ] TestSimpleArena.TestReset2 (0 ms)
[----------] 3 tests from TestSimpleArena (0 ms total)
[----------] 6 tests from TestLikeHolder
[ RUN      ] TestLikeHolder.TestMatchAny
[       OK ] TestLikeHolder.TestMatchAny (0 ms)
[ RUN      ] TestLikeHolder.TestMatchOne
[       OK ] TestLikeHolder.TestMatchOne (0 ms)
[ RUN      ] TestLikeHolder.TestPcreSpecial
[       OK ] TestLikeHolder.TestPcreSpecial (0 ms)
[ RUN      ] TestLikeHolder.TestRegexEscape
[       OK ] TestLikeHolder.TestRegexEscape (0 ms)
[ RUN      ] TestLikeHolder.TestDot
[       OK ] TestLikeHolder.TestDot (0 ms)
[ RUN      ] TestLikeHolder.TestOptimise
[       OK ] TestLikeHolder.TestOptimise (1 ms)
[----------] 6 tests from TestLikeHolder (1 ms total)
[----------] 1 test from DecimalResultTypes
[ RUN      ] DecimalResultTypes.Basic
[       OK ] DecimalResultTypes.Basic (0 ms)
[----------] 1 test from DecimalResultTypes (0 ms total)
[----------] 4 tests from TestRandGenHolder
[ RUN      ] TestRandGenHolder.NoSeed
[       OK ] TestRandGenHolder.NoSeed (0 ms)
[ RUN      ] TestRandGenHolder.WithValidEqualSeeds
[       OK ] TestRandGenHolder.WithValidEqualSeeds (0 ms)
[ RUN      ] TestRandGenHolder.WithValidSeeds
[       OK ] TestRandGenHolder.WithValidSeeds (0 ms)
[ RUN      ] TestRandGenHolder.WithInValidSeed
[       OK ] TestRandGenHolder.WithInValidSeed (0 ms)
[----------] 4 tests from TestRandGenHolder (0 ms total)
[----------] Global test environment tear-down
[==========] 60 tests from 17 test cases ran. (157 ms total)
[  PASSED  ] 56 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] TestSelectionVector.TestInt16PopulateFromBitMap
[  FAILED  ] TestSelectionVector.TestInt16PopulateFromBitMapNegative
[  FAILED  ] TestSelectionVector.TestInt32PopulateFromBitMap
[  FAILED  ] TestSelectionVector.TestInt64PopulateFromBitMap
 4 FAILED TESTS
...
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)