You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jonathan Keane (Jira)" <ji...@apache.org> on 2022/03/25 16:46:00 UTC

[jira] [Created] (ARROW-16030) [R] Add a schema method for arrow_dplyr_query

Jonathan Keane created ARROW-16030:
--------------------------------------

             Summary: [R] Add a schema method for arrow_dplyr_query
                 Key: ARROW-16030
                 URL: https://issues.apache.org/jira/browse/ARROW-16030
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
            Reporter: Jonathan Keane


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: https://github.com/duckdb/duckdb/pull/3299



--
This message was sent by Atlassian Jira
(v8.20.1#820001)