Skip to content

Conversation

@gvvinblade
Copy link
Contributor

Thank you for submitting the pull request to the Apache Ignite.

In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:

The Contribution Checklist

  • There is a single JIRA ticket related to the pull request.
  • The web-link to the pull request is attached to the JIRA ticket.
  • The JIRA ticket has the Patch Available state.
  • The pull request body describes changes that have been made.
    The description explains WHAT and WHY was made instead of HOW.
  • The pull request title is treated as the final commit message.
    The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • A reviewer has been mentioned through the JIRA comments
    (see the Maintainers list)
  • The pull request has been checked by the Teamcity Bot and
    the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.

List<RexNode> operands = RelOptUtil.disjunctions(dnf);

if (operands.size() != 2)
if (operands.size() != 2 || RexUtil.find(SqlKind.IS_NULL).anyContain(operands))
Copy link
Contributor

Choose a reason for hiding this comment

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

i suppose we don`t have any test for it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this fix isn't the best one, but we need a way to detect somehow a filter what is a result of previous rule call, otherwise we'll have infinity rule match queue. And I have no idea how we would write a specific test for it (a planer plans a query in finite number of steps, it means a condition works)

asfgit pushed a commit that referenced this pull request Oct 28, 2020
@gvvinblade gvvinblade closed this Oct 28, 2020
@gvvinblade gvvinblade deleted the calcite-new-version branch October 28, 2020 13:04

/** */
@SuppressWarnings("ClassNameSameAsAncestorName")
public interface Config extends RelRule.Config {

Choose a reason for hiding this comment

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

Our static analysis engine detects that your pull request includes a change that class name shadows simple name of interface. According to best practice, it can be exceptionally confusing, creating many situations where you have to look at import statements to resolve references, and creating many opportunities to accidentally define methods that don't override the methods in their superclasses.


/** */
@SuppressWarnings("ClassNameSameAsAncestorName")
public interface Config extends RelRule.Config {

Choose a reason for hiding this comment

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

Our static analysis engine detects that your pull request includes a change that class name shadows simple name of interface. According to best practice, it can be exceptionally confusing, creating many situations where you have to look at import statements to resolve references, and creating many opportunities to accidentally define methods that don't override the methods in their superclasses.

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.

3 participants