Skip to content

Sorting and ART indices should be supported on Big-endian platforms #9714

@barracuda156

Description

@barracuda156

What happens?

Sorting and ART indices are broken in duckdp for Big-endian platforms. The codebase has the following:

https://github.com/search?q=repo%3Aduckdb%2Fduckdb+Radix%3A%3AIsLittleEndian%28%29&type=code

P. S. This issue is not specific to any OS. So while I tested it on macOS, it affects any Unix-like OS just as well.

To Reproduce

The issue was discovered when running tests for duckplyr in R, but the cause of the problem is duckdb itself.

OS:

macOS / PowerPC

DuckDB Version:

0.9.1

DuckDB Client:

R

Full Name:

Sergey Fedorov

Affiliation:

Soochow University

Have you tried this on the latest main branch?

I have tested with a main build

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

  • Yes, I have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions