Skip to content

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

Closed

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

Activity

  1. edmondop commented on May 20, 2024

    @edmondop
    Contributor

    @alamb the title here doesn't make much sense, are you saying that the min and max are not extracted as Date32/Date64?

  2. changed the title [-]DataFusion reads Date32 and Date64 parquet statistics in as [/-] [+]DataFusion reads Date32 and Date64 parquet statistics in as Int32Array[/+] on May 20, 2024
  3. alamb commented on May 20, 2024

    @alamb
    ContributorAuthor

    Thanks for pointing that out @edmondop -- yes the min/max seem to be extracted as Int32Arrays

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