Closed thotwielder closed 4 years ago
I think this query would benefit from having this implemented https://github.com/prestodb/presto/issues/6385 and automatic rewrite the below to IN
operator:
...
R (("custom_sql_query"."center_code" = 'BEA') AND ("custom_sql_query"."center_name" = 'Bekasi'))
OR (("custom_sql_query"."center_code" = 'BEB') AND ("custom_sql_query"."center_name" = 'Cikarang'))
OR (("custom_sql_query"."center_code" = 'GRA') AND ("custom_sql_query"."center_name" = 'Gresik'))
OR (("custom_sql_query"."center_code" = 'JMR') AND ("custom_sql_query"."center_name" = 'Sby Jemursari'))
OR (("custom_sql_query"."center_code" = 'JRA') AND ("custom_sql_query"."center_name" = 'Jember'))
OR (("custom_sql_query"."center_code" = 'KPG') AND ("custom_sql_query"."center_name" = 'Kupang'))
OR (("custom_sql_query"."center_code" = 'MED') AND ("custom_sql_query"."center_name" = 'Medan'))
OR (("custom_sql_query"."center_code" = 'MLA') AND ("custom_sql_query"."center_name" = 'Malang 1 Ijen'))
OR (("custom_sql_query"."center_code" = 'PTA') AND ("custom_sql_query"."center_name" = 'Pontianak'))
OR (("custom_sql_query"."center_code" = 'SBY') AND ("custom_sql_query"."center_name" = 'Sby PTC'))
OR (("custom_sql_query"."center_code" = 'SDA') AND ("custom_sql_query"."center_name" = 'Sidoarjo'))
OR (("custom_sql_query"."center_code" = 'SLA') AND ("custom_sql_query"."center_name" = 'Solo'))
OR (("custom_sql_query"."center_code" = 'SUA') AND ("custom_sql_query"."center_name" = 'Sby Kayun'))
...
It's automatically generated by tableau workbook.
This looks the same as #2568
This issue has been automatically marked as stale because it has not had any activity in the last 2 years. If you feel that this issue is important, just comment and the stale tag will be removed; otherwise it will be closed in 7 days. This is an attempt to ensure that our open issues remain valuable and relevant so that we can keep track of what needs to be done and prioritize the right things.
I got this error in sql workbench running a query generated by tableau work sheet.
• [Simba][Presto] (1060) Presto Query Error: Compiler failed and interpreter is disabled (65543)
I found it's caused by too long where clause because if I shorten the where clause then it runs fine.
The query: