37425/error-while-using-spark-sql-filter-api
I have tried filtering the Specified row info of Dataframe using Filter command. What my issue is that when I tried with "> 1" it works fine, but when comes with "==1" it is throwing me an error message.
You have to use "===" instead of "==" and it should work fine. Have a look at the syntax attached below for your reference.
df.filter(df("state")==="TX").show()
Seems like you have not started the ...READ MORE
DataFrames and SparkSQL performed almost about the ...READ MORE
Both 'filter' and 'where' in Spark SQL ...READ MORE
I guess you need provide this kafka.bootstrap.servers ...READ MORE
Instead of spliting on '\n'. You should ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
For avro, you need to download and ...READ MORE
You have forgotten to mention the case ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.