Hi, Rohit!
To solve the error above In python, try this:
intead of:
salesforce_df = spark.sql(f"select Id,IsDeleted FROM $VarA")
display(salesforce_df)
do this:
salesforce_df = spark.sql(f"select Id,IsDeleted FROM {VarA}")
display(salesforce_df)
To call a variable in a f-string, in python, you have to use {}. Furthermore, you can use a normal string and .format(), like below: \
salesforce_df = spark.sql("select Id,IsDeleted FROM {}".format(VarA)) \
display(salesforce_df)
Hope it Helps!