int64

Description

Generate an integer representation of the argument value.

Float values are rounded to the nearest integer, and timestamps are converted to nanosecond epoch values.

Return type

int64

Domain

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

Categories

Usage

int64(value)

Argument

Type

Optional

Repeatable

Restrictions

value

bool, numeric, or string

no

no

none

Examples

make_col int:int64(remote_addr)

This makes a column named int containing an INT64 numeric representation of an IPv4 address.