Skip to content

PyArrow conversion fails in load_as_pandas(use_delta_format=True) #746

@vucenovic

Description

@vucenovic

When running:

df = delta_sharing.load_as_pandas(table_url, use_delta_format=True)

I am getting:

pyarrow.lib.ArrowInvalid: External error: Invalid argument error: Incorrect datatype. Expected string, got Utf8View

The schema I am trying to read has multiple string datatypes, and reading the parquet file directly from PyArrow works aswell.

Combined with #745 I do not see any way to use this library to load pandas dataframes from a Delta Table at the moment if the table has string and timestamp_ntz types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions