Skip to content

DataFusion reads Date32 and Date64 parquet statistics in as Int32Array #10587

@alamb

Description

@alamb

Describe the bug

When reading a Date32 or Date64 column from a parquet file, DataFusion currently returns an Int32 array

To Reproduce

You can see the issue in #10537

  • test_dates_32_diff_rg_sizes
  • test_dates_64_diff_rg_sizes

Expected behavior

I expect a

  1. Date32 column to be read as Date32Array
  2. Date64 column to be read as Date64Array

Additional context

No response

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