Skip to content

Commit

Permalink
fix(impala): generate memtables using UNION ALL to work around sqlg…
Browse files Browse the repository at this point in the history
…lot bug
  • Loading branch information
cpcloud authored and gforsyth committed Dec 22, 2023
1 parent b9d3234 commit 399a5ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ibis/backends/impala/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ class ImpalaCompiler(Compiler):
translator_class = ImpalaExprTranslator
table_set_formatter_class = ImpalaTableSetFormatter
rewrites = Compiler.rewrites | rewrite_sample

# impala supports this but sqlglot fails to parse the aliasing in
# (VALUES (a AS b))
support_values_syntax_in_select = False

0 comments on commit 399a5ef

Please sign in to comment.