Modify createFloat32BinDataVector to handle endianness

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The createFloat32BinDataVector helper in expression_vector_similarity_test.cpp writes float bytes in native endianness rather than little-endian, causing EvaluateDotProductWithFloat32BinDataVectors to fail on big-endian platforms (s390x).

      We should ensure floats are serialized in little-endian format per the BSON Vector specification.

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: