Skip to content

Registering custom udf in datafusion-cli could be easier #23386

Description

@ratmice

Is your feature request related to a problem or challenge?

It would be nice if we could essentially call geodatafusion::register(...), and reuse
the basic datafusion-cli without a lot of copy/paste code or maintenance burden.

datafusion-contrib/geodatafusion#84

Describe the solution you'd like

I intend to post a PR where we export most of the current main_inner function, from the binary
into the datafusion-cli lib, that allows people customizing datafusion-cli with a default CliSessionContext to just call into the library for most of the configuration/argument parsing.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions