Support Questions
Find answers, ask questions, and share your expertise

how can i write exception handling in spark sql using python???

sqlDF = spark.sql("SELECT * FROM people")
sqlDF.show() 
before executing this query i have to use try catch block if table doesn't  exists it should say throw       exception while executing spark action

please help me how to do this  ??

Thanks in advances
swathi 
0 REPLIES 0