Skip to content

[R] Add a schema method for arrow_dplyr_query #31450

@asfimport

Description

@asfimport

we have implicit_schema() which can generate the final schema for a query, though it's not exported. Maybe we "just" export that for people to be able to get what the schema of the resulting query will be.

Alternatively we could make a schema (S3) method that would return the (implicit) schema with schema(query_obj). Though this might be overloading schema since that is not how we retrieve schemas elsewhere (e.g. schema(arrow_table(mtcars)) does not currently work).

One use case: duckdb/duckdb#3299

Reporter: Jonathan Keane / @jonkeane

Note: This issue was originally created as ARROW-16030. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions