[ https://issues.apache.org/jira/browse/ARROW-13119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Cook resolved ARROW-13119. ------------------------------ Resolution: Fixed Resolved by https://github.com/apache/arrow/pull/10563 > [R] Set empty schema in scalar Expressions > ------------------------------------------ > > Key: ARROW-13119 > URL: https://issues.apache.org/jira/browse/ARROW-13119 > Project: Apache Arrow > Issue Type: Improvement > Components: R > Reporter: Ian Cook > Assignee: Ian Cook > Priority: Major > Fix For: 5.0.0 > > > Closely related to ARROW-13117 is the problem of {{type()}} and {{type_id()}} > not working for scalar expressions. For example, currently this happens: > {code:r}> Expression$scalar("foo")$type() > Error: !is.null(schema) is not TRUE > > Expression$scalar(42L)$type() > Error: !is.null(schema) is not TRUE{code} > This is what we want to happen: > {code:r}> Expression$scalar("foo")$type() > Utf8 > string > > Expression$scalar(42L)$type() > Int32 > int32{code} > This is simple to solve; we just need to set {{schema}} to an empty schema > for all scalar expressions. -- This message was sent by Atlassian Jira (v8.3.4#803005)