Skip to content

[Python] read_row_group fails with Nested data conversions not implemented for chunked array outputs #21526

Open

Description

@asfimport

Hey, I'm trying to concatenate two files and to avoid reading everything to memory at once, I wanted to use read_row_group for my solution, but it fails.

 

I think it's due to fields like these:

pyarrow.Field<to: list<item: string>>

 

But I'm not sure. Is this a duplicate? The issue linked in the code is resolved

// ARROW-3762(wesm): If inout_array is a chunked array, we reject as this is

 

Stacktrace is

 

  File "/data/teftel/teftel-data/teftel_data/parquet_stream.py", line 163, in read_batches
    table = pf.read_row_group(ix, columns=self._columns)
  File "/home/kuba/.local/share/virtualenvs/teftel-o6G5iH_l/lib/python3.6/site-packages/pyarrow/parquet.py", line 186, in read_row_group
    use_threads=use_threads)
  File "pyarrow/_parquet.pyx", line 695, in pyarrow._parquet.ParquetReader.read_row_group
  File "pyarrow/error.pxi", line 89, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs

Reporter: Jakub Okoński

Related issues:

Note: This issue was originally created as ARROW-5030. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Mar 28, 2019

    @asfimport
    Author

    Wes McKinney / @wesm:
    I fixed some cases where this occurs in ARROW-4688, but it is still possible to hit this error for very large row groups (> 2GB of string data in a row group). I didn't see a follow up JIRA to this or ARROW-3762 so we can use this one for the issue

    https://github.com/apache/arrow/blob/master/cpp/src/parquet/arrow/reader.cc#L915

  2. asfimport commented on Apr 27, 2022

    @asfimport
    Author

    Judah:
    [~wesm_impala_7e40] I'm also running into this issue. Is this likely to be fixed / easy to fix? I'd be happy to give it a go but not really sure where to start.

  3. Maxl94 commented on May 22, 2024

    @Maxl94

    In case someone wants to load a pandas dataframe I want to share my workaround.

    For me installing fastparquet and specifying the eninge='fastparquet' argument in the load_parquet function worked.

  4. yuxi-liu-wired commented on Sep 14, 2024

    @yuxi-liu-wired

    In case someone wants to load a pandas dataframe I want to share my workaround.

    For me installing fastparquet and specifying the eninge='fastparquet' argument in the load_parquet function worked.

    Concurring. If the parquet file contains a dictionary/list/struct, then the following

    import pandas as pd
    df = pd.read_parquet(parquet_path)

    throws an error "ArrowNotImplementedError: Nested data conversions not implemented for chunked array outputs"

    But only if the parquet file is over 1 GB. If it is under 1 GB, then it loads with no problems.

  5. sudarsun commented on Oct 30, 2025

    @sudarsun

    df = pd.read_parquet(parquet_path, engine='fastparquet') should do the magic.
    Please ensure you have the fastparquet package installed already.

  6. thisisnic commented on Oct 23, 2026

    @thisisnic
    Member

    Still reproduces in 26.0.0

  7. added
    Status: needs championHigh impact issues which aren't being worked on but require a volunteer to move the task forward.
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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