View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

ACOS - Mathematical

Calculates the arccosine of the given number

Input parameters

Name Type Optional Description
x Number False Input Number in the range [-1,1]

Output

Number: ACOS(x)

Usage

ACOS(<x>)

Examples

Example 1

Query

LOAD tmp
AS ('': ACOS(-0.9))

Result

2.6905658417935308

Example 2

Query

LOAD tmp
AS ('': ACOS(0.3))

Result

1.2661036727794992