I have saved a remote DB table in Hive using saveAsTable method, now when i try to access the Hive table data using CLI command select * from table_name>
saveAsTable
select * from table_name>
I had a similar error, in my case i was missing the default constructor