I want add a command to add my grant statement so i can provide Select access to users to the table i have loaded using pyspark.
df.write.format("jdbc")
.option("url", "jdbc:db2:@//<host>:<port>/<srvice_name") \
.option("user", "<user>") \
.option("password", "<pass>") \
.option("dbtable", db_query) \
.option("driver", "com.ibm.db2.jcc.DB2Driver")