Table of Contents

Search

  1. Preface
  2. Part 1: Introduction to Google BigQuery connectors
  3. Part 2: Data Integration with Google BigQuery V2 Connector
  4. Part 3: Data Integration with Google BigQuery Connector

Google BigQuery Connectors

Google BigQuery Connectors

Functions in mappings in SQL ELT mode

Functions in mappings in SQL ELT mode

When you create expressions within a mapping in SQL ELT mode, you must use the functions and expression syntax of
Google BigQuery
and not Informatica functions and expression syntax.
You can use the following functions in a mapping in SQL ELT mode:

Aggregate functions

CORR()
STDDEV_SAMP()
COVAR_POP()
VAR_POP()
COVAR_SAMP()
VAR_SAMP()
STDDEV()
VARIANCE()
STDDEV_POP()

Conditional expressions

COALESCE()
IFNULL()
IF()
NULLIF()

Date and time functions

CURRENT_TIMESTAMP()
TIMESTAMP_MILLIS()
FORMAT_TIMESTAMP()
TIMESTAMP_SECONDS()
PARSE_TIMESTAMP()
UNIX_MICROS()
STRING()
UNIX_MILLIS()
TIMESTAMP()
UNIX_SECONDS()
TIMESTAMP_MICROS()

Hash functions

FARM_FINGERPRINT()
SHA256()
MD5()
SHA512()
SHA1()

String, conversion, and utility functions

ASCII()
LENGTH()
RIGHT()
BYTE_LENGTH()
LOWER()
RPAD()
CHAR_LENGTH()
LPAD()
RTRIM()
CHARACTER_LENGTH()
LTRIM()
SAFE_CONVERT_BYTES_TO_STRING()
CHR()
NORMALIZE()
SOUNDEX()
COLLATE()
NORMALIZE_AND_CASEFOLD()
STRPOS()
CONCAT()
OCTET_LENGTH()
SUBSTR()
ERROR()
PARSE_NUMERIC()
SUBSTRING()
FROM_BASE32()
REGEXP_EXTRACT()
TO_BASE32()
FROM_BASE64()
REGEXP_INSTR()
TO_BASE64()
FROM_HEX()
REGEXP_REPLACE()
TO_HEX()
GENERATE_UUID()
REGEXP_SUBSTR()
TRANSLATE()
INITCAP()
REPEAT()
TRIM()
INSTR()
REPLACE()
UNICODE()
LEFT()
REVERSE()
UPPER()

Mathematical functions

ABS()
CSC()
ROUND()
ACOS()
CSCH()
SAFE_ADD()
ACOSH()
DIV()
SAFE_DIVIDE()
ASIN()
EXP()
SAFE_MULTIPLY()
ASINH()
FLOOR()
SAFE_NEGATE()
ATAN()
GREATEST()
SAFE_SUBTRACT()
ATAN2()
IEEE_DIVIDE()
SEC()
ATANH()
LEAST()
SECH()
CBRT()
LN()
SIGN()
CEIL()
LOG()
SIN()
CEILING()
LOG10()
SINH()
COS()
MOD()
SQRT()
COSH()
POW()
TAN()
COT()
POWER()
TANH()
COTH()
RAND()
TRUNC()

Net functions

NET_HOST()
NET_IPV4_FROM_INT64()
NET_IP_FROM_STRING()
NET_IPV4_TO_INT64()
NET_IP_NET_MASK()
NET_PUBLIC_SUFFIX()
NET_IP_TO_STRING()
NET_REG_DOMAIN()
NET_IP_TRUNC()
NET_SAFE_IP_FROM_STRING()

Authenticated Encryption with Associated Data (AEAD) functions

AEAD_DECRYPT_BYTES()
KEYS_KEYSET_FROM_JSON()
AEAD_DECRYPT_STRING()
KEYS_KEYSET_LENGTH()
AEAD_ENCRYPT()
KEYS_KEYSET_TO_JSON()
DETERMINISTIC_DECRYPT_BYTES()
KEYS_NEW_KEYSET()
DETERMINISTIC_DECRYPT_STRING()
KEYS_NEW_WRAPPED_KEYSET()
DETERMINISTIC_ENCRYPT()
KEYS_ROTATE_KEYSET()
KEYS_ADD_KEY_FROM_RAW_BYTES()

Security and bit functions

BIT_COUNT()
SESSION_USER()

Window functions

ANY_VALUE()
LAST_VALUE()
ROW_NUMBER()
AVG()
LEAD()
STDDEV()
CORR()
MAX()
STDDEV_POP()
COUNT()
MIN()
STDDEV_SAMP()
COVAR_POP()
NTH_VALUE()
STRING_AGG()
COVAR_SAMP()
NTILE()
SUM()
CUME_DIST()
PERCENT_RANK()
VAR_POP()
DENSE_RANK()
PERCENTILE_CONT()
VAR_SAMP()
FIRST_VALUE()
PERCENTILE_DISC()
VARIANCE()
LAG()
RANK()
For more information on functions and their expression syntax, see SQL function reference in the
Google BigQuery
documentation.

0 COMMENTS

We’d like to hear from you!