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

batch: compile warning that check a long for null #1408

Closed
vagetablechicken opened this issue Mar 10, 2022 · 2 comments · Fixed by #1870
Closed

batch: compile warning that check a long for null #1408

vagetablechicken opened this issue Mar 10, 2022 · 2 comments · Fixed by #1870
Assignees
Labels
good first issue Good for newcomers

Comments

@vagetablechicken
Copy link
Collaborator

vagetablechicken commented Mar 10, 2022

[WARNING] /Users/tobe/code/4pd/OpenMLDB/java/openmldb-batch/src/main/scala/com/_4paradigm/openmldb/batch/nodes/WindowAggPlan.scala:530: warning: com
paring values of types Long and Null using `==' will always yield false
[WARNING]     if (key == null) {
[WARNING]             ^

You can reproduce the issue by compiling java modules with mvn clean package.

@lumianph
Copy link
Collaborator

this issue belongs to our Contributor Challenges program, you can redeem your rewards after your PR is merged.
#1344

@Ivyee17
Copy link
Contributor

Ivyee17 commented May 20, 2022

I want to help this!WeOpen Star

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants