Skip to content

scalar::tests::size_of_scalar failed on M1 Mac #3383

Closed

Description

@HaoYang670

Describe the bug
Tested on M1 Mac:

failures:

---- scalar::tests::size_of_scalar stdout ----
thread 'scalar::tests::size_of_scalar' panicked at 'assertion failed: `(left == right)`
  left: `48`,
 right: `64`', datafusion/common/src/scalar.rs:2583:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Activity

  1. HaoYang670 commented on Sep 7, 2022

    @HaoYang670
    ContributorAuthor
  2. francis-du commented on Sep 7, 2022

    @francis-du
    Contributor

    I have a similar error with my M2 Air

  3. alamb commented on Sep 7, 2022

    @alamb
    Contributor

    According to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources:

    Hardware specification for macOS virtual machines:
    
    3-core CPU (x86_64)
    14 GB of RAM
    14 GB of SSD space
    

    Thanks for filing this issue @HaoYang670

  4. alamb commented on Sep 7, 2022

    @alamb
    Contributor

    I recommend we #cfg this test to have the different size on ARM

    Maybe with

    #[cfg(target_arch = "x86_64"))]

    For example

  5. HaoYang670 commented on Sep 7, 2022

    @HaoYang670
    ContributorAuthor

    x86_64 works on my M1 Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions