Skip to content

Information Schema Queries fail if distributed is enabledΒ #191

@marc-pydantic

Description

@marc-pydantic

If an information schema query (e.g. SHOW COLUMNS FROM records) is ran with datafusion-distributed enabled, the resulting query fails due to no serialization support for StreamingTableExec, a similar problem of missing serialization like the one that was fixed in #17200..

Our initial attempt to solve that in a similar manner, i.e. by adding the missing serialization quickly turned out to be a rather large change. A more pragmatic approach was to detect if an information schema query was performed --- our first implementation does so checking if there is a table scan on a table named "information_schema" --- and simply disable distributed execution in this case.

This could potentially be lowered, i.e. made part of datafusion(-distributed), to not distribute these kinds of queries in the first place.

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