Skip to content

Commit

Permalink
Improve documentation for Strong
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 authored and macroguo-ghy committed Mar 8, 2024
1 parent d16b082 commit 9324298
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/main/java/org/apache/calcite/plan/Strong.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

/** Utilities for strong predicates.
*
* <p>A predicate is strong (or null-rejecting) with regards to selected subset of inputs
* <p>A predicate is strong (or null-rejecting) with regard to selected subset of inputs
* if it is UNKNOWN if all inputs in selected subset are UNKNOWN.
*
* <p>By the way, UNKNOWN is just the boolean form of NULL.
Expand All @@ -53,8 +53,6 @@
* <li>{@code p1 AND p2} is strong in [p1, p2] (definitely null if either p1
* is null or p2 is null)
* <li>{@code p1 OR p2} is strong if p1 and p2 are strong
* <li>{@code c1 = 1 OR c2 IS NULL} is strong in [c1] (definitely null if c1
* is null)
* </ul>
*/
public class Strong {
Expand Down

0 comments on commit 9324298

Please sign in to comment.