Skip to content

Parse identifiers function #805

Closed

Description

@Jefffrey

Activity

  1. AugustoFKL commented on Feb 25, 2023

    @AugustoFKL
    Contributor

    @Jefffrey, can you please give an example (s) of what queries you're running, what you're trying to do, the problem, and what you expect to achieve?

    Sorry, but going through data fusion code isn't on my immediate plans. But it seems simple, so once I understand it, I could do it (or you could do it as well if you feel like it).

  2. Jefffrey commented on Feb 26, 2023

    @Jefffrey
    ContributorAuthor

    Yeah this is simple upstreaming of function from DataFusion to here, where it's more appropriate. It's mainly for parsing identifiers, especially for taking into consideration quoting, e.g. parse catalog."data.""base"."TABLE" into a list of Idents

    Can see the unit tests for some example usages:

    https://github.com/apache/arrow-datafusion/blob/d5077b55ef39e5376ace93d4e9068b94b678e7f1/datafusion/common/src/table_reference.rs#L305-L322

    I've been meaning do to it since I did write that original function in DataFusion, but just haven't gotten around to it yet.

    @AugustoFKL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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