You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/12/10 13:33:00 UTC
[jira] [Commented] (SPARK-22749) df.na().fill(0) over an unnamed
FIRST() fails the query
[ https://issues.apache.org/jira/browse/SPARK-22749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285243#comment-16285243 ]
Sean Owen commented on SPARK-22749:
-----------------------------------
It's not at all clear what you're describing - specific reproduction please.
> df.na().fill(0) over an unnamed FIRST() fails the query
> -------------------------------------------------------
>
> Key: SPARK-22749
> URL: https://issues.apache.org/jira/browse/SPARK-22749
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.2.1
> Reporter: Efrat
>
> When I created a query with FIRST() and didn't renamed the field I queried over - applying .na().fill(0) created a syntax that failed the query. Renaming the field using AS solved it, but I guess it's a bug in fillNA that doesn't support it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org