Skip to content

Implement qualified wildcard #1994

@doki23

Description

@doki23

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently, df does not implement qualified_wildcard, e.g. "select a.* from a", and I would like to contribute this patch.

Describe the solution you'd like
Support the following sql:
select a.*, b.id from a, b;
select a_alias.*, b.id from a as a_alias, b;

I have some idea about it:

  1. add qualifier field for Expr::Wildcard, like Wildcard{ relation: Option<String/Vec<String>> }
  2. expand these wildcard with schema of the relation when creating select exprs

Any suggestions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions