Query response - Internal Server error

Issue Summary

when querying using Redash for a specific queries Im getting an Internal Server error.
but when taking the same query to Athena is run ok.
After any modification that makes query look differently to DB but doesn’t affect results (like adding where field is not null , or changing from field = value to field in ( value ) , or changing order in group by ), query is considered as a different one and it becomes working.
also we see forever Query in queue instead of getting any result.

Technical details:

  • Redash Version: 8.0
  • Browser/OS: win10/chrome


What do you see in your logs?