Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
parkervg committed Jun 23, 2024
1 parent ced72d0 commit 36fee0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions blendsql/parse/_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ def abstracted_table_selects(self) -> Generator[Tuple[str, str], None, None]:
if self.node.find(exp.Case):
return
# Special condition: If...
# 1) We have a `JOIN` clause
# 2) We *only* have an ingredient in the top-level `SELECT` clause
# 3) Our ingredients *only* call a single table
# 1) We *only* have an ingredient in the top-level `SELECT` clause
# ... then we should execute entire rest of SQL first and assign to temporary session table.
# Example: """SELECT w.title, w."designer ( s )", {{LLMMap('How many animals are in this image?', 'images::title')}}
# FROM images JOIN w ON w.title = images.title
Expand Down

0 comments on commit 36fee0a

Please sign in to comment.