View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

IMPLICATION - Boolean Algebra

Combines the two parameters with the Boolean implication (->) operation.

Input parameters

Name Type Optional Description
lhs Bool False  
rhs Bool False  

Output

Bool: <lhs> -> <rhs>

Usage

IMPLICATION(<lhs>, <rhs>)

Examples

Example 1

Query

LOAD tmp
AS ('': IMPLICATION(true, false))

Result

false

Example 2

Query

LOAD tmp
AS ('': IMPLICATION(true, true))

Result

true