HI All,
Currently using Spark 1.4.0 version, I have a requirement to add a column
having Sequential Numbering to an existing DataFrame
I understand Window Function "rowNumber" serves my purpose
hence I have below import statements to include the same

import org.apache.spark.sql.expressions.Window
import org.apache.spark.sql.functions.rowNumber

But I am getting an error at the import statement itself such as
"object expressions is not a member of package org.apache.spark.sql"

"value rowNumber is not a member of object org.apache.spark.sql.functions"

Could anybody throw some light if any to fix the issue

Regards,
Satish Chandra

Reply via email to