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:

Date and time functions

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

Hash functions

Function
Function
FARM_FINGERPRINT()
SHA256()
MD5()
SHA512()
SHA1()
-

Mathematical functions

Function
Function
Function
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()

String, conversion, and utility functions

Function
Function
Function
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()
FROM_BASE32()
PARSE_NUMERIC()
SUBSTRING()
FROM_BASE64()
REGEXP_EXTRACT()
TO_BASE32()
FROM_HEX()
REGEXP_INSTR()
TO_BASE64()
GENERATE_UUID()
REGEXP_REPLACE()
TO_HEX()
IF()
REGEXP_SUBSTR()
TRANSLATE()
INITCAP()
REPEAT()
TRIM()
INSTR()
REPLACE()
UNICODE()
LEFT()
REVERSE()
UPPER()
For more information on functions and expression syntax, see SQL function reference in the
Google BigQuery
documentation.

0 COMMENTS

We’d like to hear from you!