Skip to content

Commit

Permalink
Fixing default engine reading bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgSkv committed Feb 9, 2025
1 parent 3f5a00e commit f47fadd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions compiler/universe.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,7 @@ def UnfoldRecursion(self, rules):
# for p in depth_map:
# # DuckDB struggles with long querries.
# depth_map[p]['iterative'] = True
quacks_like_a_duck = (
annotations.annotations.get(
'@Engine', {}).get('duckdb', None) is not None)
quacks_like_a_duck = (annotations.Engine() == "duckdb")
default_iterative = False
default_depth = 8
if quacks_like_a_duck:
Expand Down

0 comments on commit f47fadd

Please sign in to comment.