One of my tables in Metabase has been giving this error when attempting to access or use the data:
Invalid output: ["distinct"]
Only when I attempt to count all rows does it gives the correct response (simple row count result). Any attempt to access the actual data results in the error. Nothing has changed to the actual data since it was working in the past. We are currently using Metabase 0.48.0
Also, if I try to access my data directly outside of Metabase it works perfectly. We are using Amazon Athena for this tables data source. I have refreshed the table and there is no use of distinct in the view definition.