[
https://issues.apache.org/jira/browse/SPARK-10863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004442#comment-15004442
]
Felix Cheung commented on SPARK-10863:
--------------------------------------
I understand but I think this is problematic in several ways:
1. As I've stated, it creates inconsistency with some in R types and some in
Scala/JVM type names
2. I think it is confusing to call things "map" since this doesn't exist in R
3. It breaks reversibility with coltypes<-
{code}
coltypes(df) <- coltypes(df) # this doesn't work if map<string,string> is
returned, and I don't think we should expect user to know map<>
{code}
This is why I have suggested originally to add a show.atomic.type parameter to
coltypes().
> Method coltypes() to return the R column types of a DataFrame
> -------------------------------------------------------------
>
> Key: SPARK-10863
> URL: https://issues.apache.org/jira/browse/SPARK-10863
> Project: Spark
> Issue Type: Sub-task
> Components: SparkR
> Affects Versions: 1.5.0
> Reporter: Oscar D. Lara Yejas
> Assignee: Oscar D. Lara Yejas
> Fix For: 1.6.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]