You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by gu...@apache.org on 2024/03/08 11:17:16 UTC
(calcite) branch main updated: Improve documentation for Strong
This is an automated email from the ASF dual-hosted git repository.
guohongyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 93242984f8 Improve documentation for Strong
93242984f8 is described below
commit 93242984f8b2668c1baff4fcd08bc3f1e011fa74
Author: Dylan Chen <zi...@singularity-data.com>
AuthorDate: Fri Mar 1 11:33:48 2024 +0800
Improve documentation for Strong
---
core/src/main/java/org/apache/calcite/plan/Strong.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/core/src/main/java/org/apache/calcite/plan/Strong.java b/core/src/main/java/org/apache/calcite/plan/Strong.java
index 3771c21b07..3c8be238f0 100644
--- a/core/src/main/java/org/apache/calcite/plan/Strong.java
+++ b/core/src/main/java/org/apache/calcite/plan/Strong.java
@@ -38,7 +38,7 @@ import java.util.Map;
/** 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.
@@ -53,8 +53,6 @@ import java.util.Map;
* <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 {