I have a table in Hive as below.
spark.sql("select * from custom_log where custm_id = \'9012457WXR\'").show(100,False) +----------+---------------------