Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Use minus (-) symbol to negate NumericColumns #271

Closed
eruizalo opened this issue Aug 24, 2022 · 0 comments · Fixed by #276
Closed

[Feature request]: Use minus (-) symbol to negate NumericColumns #271

eruizalo opened this issue Aug 24, 2022 · 0 comments · Fixed by #276
Labels
API enhancement New feature or request spark_2.4 PR changes to spark 2.4 spark_3.0 PR changes to spark 3.0 spark_3.1 PR changes to spark 3.1 spark_3.2 PR changes to spark 3.2 spark_3.3 PR changes to spark 3.3

Comments

@eruizalo
Copy link
Collaborator

Please, check there is no other feature request like this one to avoid duplicates: see doric issues

  • It seems this feature is not requested yet:
    • YES

Expected Behavior

We should be able to use -col[Int]("myCol")

Current Behavior (if so)

We can't do that. Currently we have to do something like this: (-1).lit * col[Int]("myCol")

@eruizalo eruizalo added enhancement New feature or request spark_3.0 PR changes to spark 3.0 spark_3.1 PR changes to spark 3.1 spark_3.2 PR changes to spark 3.2 spark_2.4 PR changes to spark 2.4 API spark_3.3 PR changes to spark 3.3 labels Aug 24, 2022
eruizalo added a commit to eruizalo/doric that referenced this issue Aug 30, 2022
eruizalo added a commit to eruizalo/doric that referenced this issue Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or request spark_2.4 PR changes to spark 2.4 spark_3.0 PR changes to spark 3.0 spark_3.1 PR changes to spark 3.1 spark_3.2 PR changes to spark 3.2 spark_3.3 PR changes to spark 3.3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant