You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sbt clean assembly
[info] Loading global plugins from /Users/elizachang/.sbt/0.13/plugins
[info] Loading project definition from /Users/elizachang/oss/reference-apps/twitter_classifier/scala/project
[info] Set current project to spark-twitter-lang-classifier (in build file:/Users/elizachang/oss/reference-apps/twitter_classifier/scala/)
[success] Total time: 0 s, completed Apr 29, 2015 3:47:00 PM
[info] Updating {file:/Users/elizachang/oss/reference-apps/twitter_classifier/scala/}scala...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 4 Scala sources to /Users/elizachang/oss/reference-apps/twitter_classifier/scala/target/scala-2.10/classes...
[error] /Users/elizachang/oss/reference-apps/twitter_classifier/scala/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:51: value head is not a member of org.apache.spark.sql.Row
[error] val texts = sqlContext.sql("SELECT text from tweetTable").map(_.head.toString)
[error] ^
[error] /Users/elizachang/oss/reference-apps/twitter_classifier/scala/src/main/scala/com/databricks/apps/twitter_classifier/ExamineAndTrain.scala:62: value foreach is not a member of Array[Nothing]
[error] some_tweets.foreach { t =>
[error] ^
[error] two errors found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 14 s, completed Apr 29, 2015 3:47:15 PM
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: