ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS sqlState

Previous SQL writing:

"SELECT * FROM " + table + " LIMIT "

Change to the current wording:

SELECT * FROM " + schema +"." + table + " LIMIT "

Add the schema when querying

 

Read More: