spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shailesh Kini (JIRA)" <>
Subject [jira] [Updated] (SPARK-21853) Getting an exception while calling the except method on the dataframe
Date Tue, 29 Aug 2017 03:43:00 GMT


Shailesh Kini updated SPARK-21853:
    Issue Type: Bug  (was: Question)

> Getting an exception while calling the except method on the dataframe
> ---------------------------------------------------------------------
>                 Key: SPARK-21853
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Shell
>    Affects Versions: 2.1.1
>            Reporter: Shailesh Kini
>         Attachments: SparkException.txt
> I am getting an exception while calling except on the Dataset.
> org.apache.spark.sql.AnalysisException: resolved attribute(s) SVC_BILLING_PERIOD#37723
missing from
> I read 2 csv files into datasets DS1 and DS2, which I join (full outer) to create DS3.
DS3 has some rows which are similar with the exception of one column. I need to isolate those
rows and remove the similar rows. I use groupBy with the count > 1 on a few columns in
DS3 to get those similar rows - dataset DS4. DS4 has only a few columns and not all so I join
it back with DS3 on the aggregate columns to get a new dataset DS5 which has the same columns
as DS3. To get a clean dataset without any of those similar rows, I am calling DS3.except(DS5)
which throws the exception. The attribute is one of the filtering criteria I use which creating
> Attaching the exception to this ticket.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message