View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

AND - Boolean Algebra

Combines the two parameters with the Boolean AND operation.

Details

This function can also be written as infix notation <lhs> && <rhs>.

Input parameters

Name Type Optional Description
lhs Bool False  
rhs Bool False  

Output

Bool: <lhs> && <rhs>

Usage

AND(<lhs>, <rhs>)

Examples

Example 1

Query

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

Result

false

Example 2

Query

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

Result

true