how to automate below scenarios using spark with scala
Scenarios:
File(JSON/CSV) data Vs hive table data
Hive to hive tables
other databases (ex mysq