We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b456fca commit f32c825Copy full SHA for f32c825
src/snowflake/snowpark/_internal/analyzer/select_statement.py
@@ -861,7 +861,9 @@ def has_projection(self) -> bool:
861
- select columns
862
- exclude columns
863
"""
864
- return self.projection is not None or self.exclude_cols is not None
+ return (
865
+ self.projection is None and len(self.projection) > 0
866
+ ) or self.exclude_cols is not None
867
868
@property
869
def projection_in_str(self) -> str:
0 commit comments