Skip to content

Commit f32c825

Browse files
committed
address comments
1 parent b456fca commit f32c825

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/snowflake/snowpark/_internal/analyzer/select_statement.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,9 @@ def has_projection(self) -> bool:
861861
- select columns
862862
- exclude columns
863863
"""
864-
return self.projection is not None or self.exclude_cols is not None
864+
return (
865+
self.projection is None and len(self.projection) > 0
866+
) or self.exclude_cols is not None
865867

866868
@property
867869
def projection_in_str(self) -> str:

0 commit comments

Comments
 (0)