Skip to content

Conversation

@yuancu
Copy link

@yuancu yuancu commented Jun 26, 2025

Description

... so that we don't have to use NULL type for IP.

Related Issues

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.


@Override
public String getAllowedSignatures() {
// Will be merged with the allowed signatures of comparable type checker,
Copy link

@qianheng-aws qianheng-aws Jun 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get the point. Where will the signature merged?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LESS operator will have a signature of [COMPARABLE_TYPE,COMPARABLE_TYPE]. So, I left the signature of LESS FOR IP blank. In this way, when you compare IP and a double, it will still prompt acceptable signatures as [COMPARABLE_TYPE,COMPARABLE_TYPE], the same at LESS.

@yuancu yuancu closed this Jul 10, 2025
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.

2 participants