Skip to content

Add extension plugin to parse SQL into logical plan / user defined SQL parser  #533

@jorgecarleitao

Description

@jorgecarleitao

As a user of DataFusion, I would like to be able to install custom parsing rules of SQL to DataFusion, so that I can plan custom nodes from SQL.

This would allow me to extend datafusions' core capabilities beyond its supported SQL.

Examples:

  • OPTIMIZE, VACUUM
  • select * from t version as of n (delta lake)

I would like support for 3 main cases:

  • Parse entire SQL statements (e.g. select * from t version as of n) into a logical node
  • Parse single SQL expressions (e.g. my_custom_expr in select my_custom_expr(t) from table1) a custom logical expression
  • parse a table format into a Custom Table Provider logical node

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