Skip to content

Fixed issue in comparison. #23

Open
sagarzemosolabs wants to merge 1 commit into
spark-examples:masterfrom
sagarzemosolabs:patch-1
Open

Fixed issue in comparison. #23
sagarzemosolabs wants to merge 1 commit into
spark-examples:masterfrom
sagarzemosolabs:patch-1

Conversation

@sagarzemosolabs
Copy link
Copy Markdown

In PySpark, the logical operators & and | have higher precedence than comparison operators like >= and <=. As a result, the expression is being evaluated incorrectly.

@sagarzemosolabs
Copy link
Copy Markdown
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant