Skip to content

Commit

Permalink
[vdsql-] use get_current_expr to build query for scoop
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Jul 10, 2023
1 parent 1182db0 commit 35a963a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion visidata/apps/vdsql/_ibis.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ def select_equal_cell(sheet, col, typedval):
if sheet.isNullFunc()(typedval):
expr = col.ibis_col.isnull()
else:
ibis_col = col.get_ibis_col(sheet.query, typed=False)
q = sheet.get_current_expr(typed=True)
ibis_col = col.get_ibis_col(q, typed=True)
expr = (ibis_col == typedval)

sheet.ibis_selection.append(expr)
Expand Down

0 comments on commit 35a963a

Please sign in to comment.