spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Parmar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-14325) some strange name conflicts in `group_by`
Date Mon, 18 Apr 2016 01:12:25 GMT

    [ https://issues.apache.org/jira/browse/SPARK-14325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245024#comment-15245024
] 

Vijay Parmar commented on SPARK-14325:
--------------------------------------

Hi Dmitriy,

It has been a very short time I joined the community.

Would like to look into the issue if no other member has taken it up?

Please let me know if I can go ahead?

Thanks
Vijay 

> some strange name conflicts in `group_by`
> -----------------------------------------
>
>                 Key: SPARK-14325
>                 URL: https://issues.apache.org/jira/browse/SPARK-14325
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 1.6.0, 1.6.1
>         Environment: sparkR 1.6.0
>            Reporter: Dmitriy Selivanov
>
> group_by strange behaviour when try to aggregate by column with name "x".
> consider following example
> {code}
>     df
>     # DataFrame[userId:bigint, type:string, j:int, x:int]
>     df %>%group_by(df$userId, df$type, df$j) %>% agg(x = "sum")
>     #Error in (function (classes, fdef, mtable)  : 
>     #  unable to find an inherited method for function ‘agg’ for signature ‘"character"’
> {code}
> after renaming x -> x2 works just file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message