spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From premdass <premdas...@yahoo.co.in>
Subject SparkSQL registerAsTable - No TypeTag available Error
Date Sat, 14 Jun 2014 12:03:48 GMT
Hi,

I am trying to run the spark sql example provided on the example
https://spark.apache.org/docs/latest/sql-programming-guide.html  as a
standalone program.

When i try to run the compile the program, i am getting the below error

 Done updating.
 Compiling 1 Scala source to
C:\Work\Dev\scala\workspace\SmartDataSBT\smartdata\target\scala-2.10\classes...
]
C:\Work\Dev\scala\workspace\SmartDataSBT\smartdata\src\main\scala\com\test\WordCount.scala:21:
No TypeTag available for Person
]     people.registerAsTable("people")
]     ^
] one error found
] (smartdata/compile:compile) Compilation failed
] Total time: 3 s, completed 14-Jun-2014 12:49:41



Since i am just running the example provided, i am not sure what is the
mistake i made. Any advice would be appreciated.

Thanks,
Prem



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SparkSQL-registerAsTable-No-TypeTag-available-Error-tp7623.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Mime
View raw message