Skip to content

Input utilities for creating SqlTable instance from a file like source #395

@jdye64

Description

@jdye64

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
In order to register a "table" with DataFusion information must be known about the underlying data. When a user is using DataFusion as both a logical and physical engine this is already handled. However, if the user would like to use DataFusion for just the logical side it is the burden of the user to create the SqlTable instance and register it with DataFusion.

In order to prevent duplicate code and further expand adoption we should offer utilities that allow for popular data sources to be examined and then a SqlTable instance generated so the consuming library doesn't have to do that.

Describe the solution you'd like
Python module that accepts a filepath. Reads the file. Parquet and CSV for now. And generates the SqlTable instance as part of the CreateTable() method call.

Describe alternatives you've considered
None

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions