pow

Description

Returns a number ‘base’ raised to the specified power ‘exponent’.

Return type

numeric

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

pow( base, exponent )

Argument

Type

Required

Multiple

base

numeric

Required

Only one

exponent

numeric

Required

Only one

Examples

make_col power:pow(@.x, @.y)

Create a column ‘power’ with the result of column ‘base’ to the power of column ‘exponent’