[
https://issues.apache.org/jira/browse/METRON-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515090#comment-16515090
]
ASF GitHub Bot commented on METRON-1619:
----------------------------------------
Github user ottobackwards commented on a diff in the pull request:
https://github.com/apache/metron/pull/1064#discussion_r195931024
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -54,6 +54,12 @@ The Stellar language supports the following:
* The ability to have parenthesis to make order of operations explicit
* User defined functions, including Lambda expressions
+### Boolean Expressions
+
+Similar to python and javascript, empty collections (e.g. `[]` and
--- End diff --
Missing variables vs. NULL variables... this may be confusing. What this
is saying is
we support
- boolean with true or false
- variables that are present but explicitly null or empty
- variables that are NOT present
> Stellar empty collections should be considered false in boolean expressions
> ---------------------------------------------------------------------------
>
> Key: METRON-1619
> URL: https://issues.apache.org/jira/browse/METRON-1619
> Project: Metron
> Issue Type: Improvement
> Reporter: Casey Stella
> Priority: Major
>
> Similar to METRON-1618, we should follow the example of python and javascript
> and make empty collections evaluate to false in boolean expressions.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)