SNOW-1565789: Column.isin()
fails with empty list
#1999
Labels
bug
Something isn't working
status-triage_done
Initial triage done, will be further handled by the driver team
What version of Python are you using?
Python 3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0]
What operating system and processor architecture are you using?
Linux-5.19.0-46-generic-x86_64-with-glibc2.35
What are the component versions in the environment (
pip freeze
)?What did you do?
Create a dataframe and a apply
filter()
with anisin()
subquery (whose result was empty).This problem does not occurr in local testing mode.
What did you expect to see?
An empty dataframe (since the intersection of any set with an empty set is again the empty set).
Can you set logging to DEBUG and collect the logs?
This is the output from the Python worksheet run in the web console (without the additional debug logs):
The failing generated SQL query was:
With the empty brackets after the
IN
at the end being the problem.The text was updated successfully, but these errors were encountered: