[
https://issues.apache.org/jira/browse/SPARK-22749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-22749.
-------------------------------
Resolution: Invalid
> 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
> .na().fill(0) that doesn't support it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]