You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by "Yi.Zhang" <zh...@yahoo.com> on 2015/05/16 05:55:55 UTC

[spark sql] $ and === can't be recognised in IntelliJ

Hi all,

I wanted to join the data frame based on spark sql in IntelliJ, and wrote
these code lines as below:
df1.as('first).join(df2.as('second), $"first._1" === $"second._1")

IntelliJ reported the error for $ and === in red colour.

I found $ and === are defined as implicit conversion in
org.apache.spark.sql.catalyst.dsl.ExpressionConversions and
org.apache.spark.sql.catalyst.dsl.ImplicitOperators, so I was trying to
import them to solve the issue, however, it doesn't work.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/spark-sql-and-can-t-be-recognised-in-IntelliJ-tp22910.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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