View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

EQUAL - Comparison

Checks if the given parameters have the same values.

Details

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

Input parameters

Name Type Optional Description
lhs String/Number/Bool/Object/Array False  
rhs String/Number/Bool/Object/Array False  

Output

Bool: True if the parameters have the same values

Usage

EQUAL(<lhs>, <rhs>)

Examples

Example 1

Query

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

Result

true

Example 2

Query

LOAD tmp
AS ('': EQUAL(5, 2))

Result

false