I am learning Data Science form your wonderful academy, your magnificent videos and you amazing technology. Sincerely I do not have enough words to say thank you, because of this, I am trying to reach a new job on this great new world of Data Science.
Well, the thing is that I am very happy that for once in life, all software and everything needed I do not have to install it and this is great.
Because of this I need to ask you guys for a couple of little errors when I try to replicate the exercises from the video.
and I am trying to do this:
highgearcars <- sql(sqlContext, "Select gear from cars where cyl >= 4 And cyl <=9")
And the result is:
> registerTempTable(sdf, "cars")
'registerTempTable' is deprecated.
Use 'createOrReplaceTempView' instead.
> highgearcars <- sql(sqlContext, "Select gear from cars where cyl >= 4 And cyl <=9")
'sql(sqlContext...)' is deprecated.
Use 'sql(sqlQuery)' instead.
By the way, or its me or the results of the SELECT are wrong?
PD: Sorry for my english, it is not my mother language.