I configured a query in web app builder 2.1. When the query was executed, results were drawn on the map. But when I tried to view the results in an attribute table, nothing got loaded. I got an error message saying "Error executing relation". I have other apps configured using the same version of web app builder and portal, and I was able to view the query results in a table.
Any help will be appreciated!