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

Suppress invalid ErrorProne warnings related to calling getNano metho… #2999

Closed
wants to merge 2 commits into from

Conversation

kbendick
Copy link
Contributor

@kbendick kbendick commented Aug 19, 2021

…ds without nearby getSeconds calls

As we set nanos specifically in a field, these warning do not apply. Remove them from the logs.

Also removed one instance of it in hive3/src/main/java/org/apache/iceberg/mr/hive/serde/objectinspector/IcebergTimestampObjectInspectorHive3.#getPrimitiveJavaObject. I checked manually in a scala shell with the hive classes in it (placing the Iceberg jar on the classpath) that the call to getNanos is correct.

@github-actions github-actions bot added the hive label Aug 20, 2021
@kbendick kbendick closed this Aug 16, 2022
@kbendick kbendick deleted the add-get-nano-suppressions branch August 16, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant