Merging upstream version 25.26.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
9138e4b92a
commit
829a709061
117 changed files with 49296 additions and 47316 deletions
122
tests/fixtures/optimizer/annotate_functions.sql
vendored
122
tests/fixtures/optimizer/annotate_functions.sql
vendored
|
@ -186,4 +186,124 @@ DOUBLE;
|
|||
|
||||
# dialect: bigquery
|
||||
EXP(tbl.bignum_col);
|
||||
BIGDECIMAL;
|
||||
BIGDECIMAL;
|
||||
|
||||
# dialect: bigquery
|
||||
CONCAT(tbl.str_col, tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
CONCAT(tbl.bin_col, tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
LEFT(tbl.str_col, 1);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
LEFT(tbl.bin_col, 1);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
RIGHT(tbl.str_col, 1);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
RIGHT(tbl.bin_col, 1);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
LOWER(tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
LOWER(tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
UPPER(tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
UPPER(tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
LPAD(tbl.str_col, 1, tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
LPAD(tbl.bin_col, 1, tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
RPAD(tbl.str_col, 1, tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
RPAD(tbl.bin_col, 1, tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
LTRIM(tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
LTRIM(tbl.bin_col, tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
RTRIM(tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
RTRIM(tbl.bin_col, tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
TRIM(tbl.str_col);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
TRIM(tbl.bin_col, tbl.bin_col);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
REGEXP_EXTRACT(tbl.str_col, pattern);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
REGEXP_EXTRACT(tbl.bin_col, pattern);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
REGEXP_REPLACE(tbl.str_col, pattern, replacement);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
REGEXP_REPLACE(tbl.bin_col, pattern, replacement);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
REPEAT(tbl.str_col, 1);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
REPEAT(tbl.bin_col, 1);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
SUBSTRING(tbl.str_col, 1);
|
||||
STRING;
|
||||
|
||||
# dialect: bigquery
|
||||
SUBSTRING(tbl.bin_col, 1);
|
||||
BINARY;
|
||||
|
||||
# dialect: bigquery
|
||||
SPLIT(tbl.str_col, delim);
|
||||
ARRAY<STRING>;
|
||||
|
||||
# dialect: bigquery
|
||||
SPLIT(tbl.bin_col, delim);
|
||||
ARRAY<BINARY>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue