tencent cloud

Data Lake Compute

製品概要
プロダクト概要
製品の強み
適用シーン
購入ガイド
課金概要
返金説明
支払い期限切れ説明
設定調整費用の説明
クイックスタート
新規ユーザー開通フルプロセス
DLC データインポートガイド
DLCデータ分析の1分間入門
DLC権限管理の1分間入門
パーティションテーブル1分間入門
データ最適化をオンにする
クロスソース分析 EMR Hive データ
標準エンジン構成ガイド
操作ガイド
コンソール操作紹介
開発ガイド
実行環境
SparkJar ジョブ開発ガイド
PySparkジョブ開発ガイド
「クエリパフォーマンス最適化ガイド」
UDF 関数開発ガイド
システム制約
クライアントアクセス
JDBCアクセス
TDLC コマンドラインツールにアクセス
サードパーティソフトウェア連携
Python にアクセス
実践チュートリアル
DLC を Power BI に接続
テーブル作成の実践
Apache Airflowを使用してDLCエンジンのタスクをスケジュールして送信する
StarRocks は DLC 内部ストレージを直接クエリします
Spark の計算コスト最適化プラクティス
DATA + AI
ロールSSOを使用してDLCにアクセスする
SQL構文
SuperSQL構文
標準 Spark 構文概要
標準 Presto 構文の概要
予約語
API Documentation
History
Introduction
API Category
Making API Requests
Data Table APIs
Task APIs
Metadata APIs
Service Configuration APIs
Permission Management APIs
Database APIs
Data Source Connection APIs
Data Optimization APIs
Data Engine APIs
Resource Group for the Standard Engine APIs
Data Types
Error Codes
一般クラスリファレンス
エラーコード
クォータと制限
サードパーティソフトウェアでDLCに接続する操作ガイド
よくあるご質問
権限に関するよくあるご質問
エンジン類のよくある質問
機能に関するよくあるご質問
Sparkジョブクラスに関するよくある質問
DLC ポリシー
プライバシーポリシー
データプライバシーとセキュリティ契約
お問い合わせ

統一関数の概要

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-12-25 12:00:07
データレイクコンピューティング DLC は、統一関数を介して異なるカーネルで使用することをサポートし、Spark や Presto とも互換性があります。具体的な関数とサポートされているカーネルについては、以下の表を参照してください。 データレイクコンピューティング DLC は、Presto の組み込み関数もサポートしています。サポートリストと有効化方法については、Presto 組み込み関数を参照してください。
関数
Spark
Presto
ABS
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:入力パラメータと一致
出参:double
ACOS
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
ACOSH
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
ADD_MONTHS
入参:date|timestamp|string, int
入参:date|timestamp|string, int
出参:date
出参:date
AES_DECRYPT
-
入参:(binary, string|binary)
出参:binary
AES_ENCRYPT
-
入参:(string|binary, string|binary)
出参:binary
AND
入参:boolean AND boolean
boolean AND boolean
出参:boolean
出参:boolean
ANY
入参:boolean
入参:boolean
出参:boolean
出参:boolean
ANY_MATCH
入参:(array<T>, lambda function)
-
出参:boolean
APPROX_COUNT_DISTINCT
入参:(bigint|double|decimal|date|timestamp)
-
double|array<double>[, bigint])
出参:2番目の入力パラメータと同じ
APPROX_PERCENTILE
入参:(bigint|double|decimal|, array<double>|double[, int])
入参:(bigint|double|decimal, double[, int])
出参:double|array
出参:double|array
ARG_MAX
入参:(col1, col2 | expr(col2))
-
出参:col2またはexpr(col2)のタイプ
ARG_MIN
入参:(col1, col2 | expr(col2))

出参:col2またはexpr(col2)のタイプ
ARRAY
入参:(T, ...)
入参:(T, ...)
出参:array<T>
出参:array<T>
ARRAYS_OVERLAP
入参:(array<T>, array<T>)
入参:(array<T>, array<T>)
出参:boolean
出参:boolean
ARRAYS_ZIP
入参:(array<T>, array<U>, ...)
-
出参:array<struct<T, U, ...>>
ARRAY_CONTAINS
入参:(array<T>, T)
入参:(array<T>, T)
出参:boolean
出参:boolean
ARRAY_DISTINCT
入参:array<T>
入参:array<T>
出参:array<T>
出参:array<T>
ARRAY_EXCEPT
入参:(array<T>, array<T>)
入参:(array<T>, array<T>)
出参:array<T>
出参:array<T>
ARRAY_INTERSECT
入参:(array<T>, array<T>)
入参:(array<T>, array<T>)
出参:array<T>
出参:array<T>
ARRAY_JOIN
入参:(array<T>, string[, string])
入参:(array<T>, string[, string])
出参:string
出参:string
ARRAY_MAX
入参:array<bigint|double|decimal>
入参:array<bigint|double|decimal>
出参:bigint|double|decimal
出参:bigint|double|decimal
ARRAY_MIN
入参:array<bigint|double|decimal>
入参:array<bigint|double|decimal>
出参:bigint|double|decimal
出参:bigint|double|decimal
ARRAY_POSITION
入参:(array<T>, bigint)
入参:(array<T>, bigint)
出参:bigint
出参:bigint
ARRAY_REMOVE
入参:(array<T>, T)
入参:(array<T>, T)
出参:array<T>
出参:array<T>
ARRAY_REPEAT
入参:(array<T>, bigint)
入参:(array<T>, bigint)
出参:array<T>
出参:array<T>
ARRAY_SORT
入参:(array<T>, function(T, T)->integer)
入参:(array<T>)
出参:array<T>
出参:array<T>
ARRAY_UNION
入参:(array<T>, array<T>)
入参:(array<T>, array<T>)
出参:array<T>
出参:array<T>
ASCII
入参:string
入参:string
出参:int
出参:int
ASIN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
ASINH
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
ASSERT_TRUE
入参:boolean
入参:boolean
出参:null|例外をスロー
出参:null|例外をスロー
ATAN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
ATAN2
入参:(bigint|double|decimal, bigint|double|decimal)
入参:(bigint|double|decimal, bigint|double|decimal)
出参:double
出参:double
ATANH
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
AVG
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
BASE64
入参:string|binary
入参:binary
出参:string
出参:string
BIGINT
強制型変換をbigintに
強制型変換をbigintに
BIN
入参:bigint
入参:bigint
出参:string
出参:string
BINARY
binary への強制型変換
binary への強制型変換
BIT_AND
入参:int
入参:int
出参:int
出参:int
BIT_COUNT
入参:int|boolean
入参:int|boolean
出参:int
出参:int
BIT_GET
入参:(int, int)
入参:(int, int)
出参:int
出参:int
BIT_LENGTH
入参:string
入参:string
出参:int
出参:int
BIT_OR
入参:int
入参:int
出参:int
出参:int
BIT_XOR
入参:int
入参:int
出参:int
出参:int
BOOLEAN
boolean への強制型変換
boolean への強制型変換
BOOL_AND
入参:boolean
入参:boolean
出参:boolean
出参:boolean
BOOL_OR
入参:boolean
入参:boolean
出参:boolean
出参:boolean
BROUND
入参:(bigint|double|decimal, int)
入参:(bigint|double|decimal, int)
出参:int
出参:int
BTRIM
入参:(string[, string])
入参:(string[, string])
出参:string
出参:string
CARDINALITY
入参:(array|map)
入参:(array|map)
出参:int
出参:int
CAST
入参:(<expr> AS T)
入参:(<expr> AS T)
出参:T
出参:T
CBRT
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
CEIL
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:bigint
出参:bigint
CEILING
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:bigint
出参:bigint
CHAR
入参:int
入参:int
出参:string
出参:string
CHARACTER_LENGTH
入参:string|binary
入参:string
出参:int
出参:int
CHAR_LENGTH
入参:string|binary
入参:string
出参:int
出参:int
CHR
入参:int|double
入参:int|double
出参:string
出参:string
CLUSTER_SAMPLE
入参:(bigint [, bigint])
-
出参:boolean
COALESCE
入参:(T, T, ...)
入参:(T, T, ...)
出参:T
出参:T
COLLECT_LIST
入参:T
入参:T
出参:array<T>
出参:array<T>
COLLECT_SET
入参:T
入参:T
出参:array<T>
出参:array<T>
CONCAT
入参:string|array
入参:(string|binary, string|binary, ...)
出参:入力パラメータと一致
出参:string
CONCAT_WS
入参:(string, [string | array<string>]+)
入参:(string, [string | array<string>]+)
出参:string
出参:string
CONTEXT_NGRAMS
-
入参:(array<array<string>>, array<string>, int, int)
出参:array<struct<string, double>>
CONV
入参:(bigint|double|decimal|string, int, int)
入参:(bigint|double|decimal|string, int, int)
出参:文字列
出参:文字列
CORR
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
出参:double

COS
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
COSH
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
COT
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
COUNT
入参:T
入参:T
出参:bigint
出参:bigint
COUNT_IF
入参:boolean
-
出参:int
COUNT_MIN_SKETCH
入参:(int|binary|string, double, double, int)
-
出参:binary
COVAR_POP
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
COVAR_SAMP
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
CRC32
入参:string|binary
入参:string|binary
出参:bigint
出参:bigint
CUME_DIST
入参:なし
入参:なし
出参:double
出参:double
CURRENT_CATALOG
入参:なし
-
出参:文字列
CURRENT_DATABASE
入参:なし
-
出参:文字列
CURRENT_DATE
入参:なし
入参:なし
出参:date
出参:date
CURRENT_TIMESTAMP
入参:なし
入参:なし
出参:timestamp
出参:timestamp
CURRENT_TIMEZONE
入参:なし
入参:なし
出参:文字列
出参:文字列
CURRENT_USER
入参:なし
入参:なし
出参:文字列
出参:文字列
DATE
入参:string
入参:string
出参:date
出参:date
DATEDIFF
入参:(string|timestamp|date, string|timestamp|date)
入参:(string|timestamp|date, string|timestamp|date)
出参:int
出参:int
DATE_ADD
入参:(string|date|timestamp, int)
入参:(string|date|timestamp, int)
出参:date
出参:date
DATEADD
入参:(date/timestamp, int, string)
-
出参:timestamp
DATE_FORMAT
入参:(string|date|timestamp, string)
入参:(string|date|timestamp, string)
出参:文字列
出参:文字列
DATE_FROM_UNIX_DATE
入参:int
入参:int
出参:date
出参:date
DATE_PART
入参:(string, string|date|timestamp)
入参:(string, string|date|timestamp)
出参:bigint|double|decimal
出参:bigint|double|decimal
DATE_SUB
入参:(string|date|timestamp)
入参:(string|date|timestamp)
出参:date
出参:date
DATE_TRUNC
入参:(string, string)
入参:(string, string)
出参:timestamp
出参:timestamp
DAY
入参:string|timestamp|date
入参:string|timestamp|date
出参:int
出参:int
DAYOFMONTH
入参:string|timestamp|date
入参:string|timestamp|date
出参:int
出参:int
DAYOFWEEK
入参:string|timestamp|date
string|timestamp|date
出参:int
出参:int
DAYOFYEAR
入参:string|timestamp|date
string|timestamp|date
出参:int
出参:int
DECIMAL
cast as decimal
cast as decimal
DECODE
入参:(binary, string) | (int, int, string[, int, string]...[, default])
入参:(binary, string)
出参:int
出参:文字列
DEGREES
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
DENSE_RANK
入参:なし
入参:なし
出参:int
出参:int
DIV
入参:bigint|double|decimal
-
出参:int
DOUBLE
cast as double
cast as double
E
入参:なし
入参:なし
出参:double
出参:double
ELEMENT_AT
入参:(array|map, int)
入参:(array, int)
出参:array要素|map valueと一致
出参:array要素と一致
ELT
入参:(int, T, U,...)
入参:(int, string, string, ...)
出参:入力に依存
出参:文字列
ENCODE
入参:(string|binary, string)
入参:(string, string)
出参:binary
出参:binary
EVERY
入参:T
入参:T
出参:boolean
出参:boolean
EXP
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
EXPLODE
入参:array<T>
-
出参:T
EXPLODE_OUTER
入参:array<T>
-
出参:T
EXPM1
入参:bigint|double|decimal
-
出参:double
FACTORIAL
入参:int
入参:int
出参:bigint
出参:bigint
FIELD
-
入参:(T, T, T, ...)
出参:int
FIND_IN_SET
入参:(string, string)
入参:(string, string)
出参:int
出参:int
FIRST_VALUE
入参:(T[, boolean])
-
出参:T
FLATTEN
入参:array<array<T>>
入参:array<array<T>>
出参:array<T>
出参:array<T>
FLOAT
cast as float
cast as float
FLOOR
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:bigint
出参:bigint
FORMAT_NUMBER
入参:(bigint|double|decimal, int|string)
入参:(bigint|double|decimal, int)
出参:文字列
出参:文字列
FORMAT_STRING
入参:(string, T, ...)
入参:(string, T, ...)
出参:文字列
出参:文字列
FROM_CSV
入参:(string, string[, map])
-
出参:struct
FROM_JSON
入参:(string, string[, map])
-
出参:struct
FROM_UNIXTIME
入参:(bigint[, string])
入参:(bigint[, string])
出参:文字列
出参:文字列
FROM_UTC_TIMESTAMP
入参:(string, string)
入参:(bigint|double|decimal|timestamp|date|string, string)
出参:timestamp
出参:timestamp
GETBIT
入参:(int, int)
入参:(int, int)
出参:int
出参:int
GET_IDCARD_AGE
入参:string
-
出参:int
GET_IDCARD_BIRTHDAY
入参:string
-
出参:date
GET_IDCARD_SEX
入参:string
-
出参:文字列
GREATEST
入参:(bigint|double|decimal, bigint|double|decimal, ...)
入参:(bigint|double|decimal, bigint|double|decimal, ...)
出参:入力と一致
出参:入力と一致
GROUPING
入参:T
T
出参:int
出参:int
GROUPING_ID
入参:[T[, T...]]
-
出参:int
HASH
入参:(T, T,...)
入参:(T, T,...)
出参:int
出参:int
HEX
入参:int|string|binary
入参:int|string|binary
出参:文字列
出参:文字列
HISTOGRAM_NUMERIC
-
入参:bigint|double|decimal
出参:array<struct<'x', 'y'>>
HOUR
入参:string|timestamp
入参:string|timestamp
出参:int
出参:int
HYPOT
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
IF
入参:(boolean, T, T)
入参:(boolean, T, T)
出参:T
出参:T
IFNULL
入参:(T, U)
-
出参:T|U
IN
入参:(T, T,...)
入参:(T, T,...)
出参:boolean
出参:boolean
INITCAP
入参:string
入参:string
出参:文字列
出参:文字列
INLINE
入参:array
-
出参:table
INLINE_OUTER
入参:array
-
出参:table
INPUT_FILE_BLOCK_LENGTH
入参:なし
-
出参:int
INPUT_FILE_BLOCK_START
入参:なし
-
出参:int
INPUT_FILE_NAME
入参:なし
-
出参:文字列
INSTR
入参:(string, string)
入参:(string, string)
出参:int
出参:int
INT
int への強制型変換
int への強制型変換
ISNAN
入参:T
入参:T
出参:boolean
出参:boolean
ISNOTNULL
入参:T
入参:T
出参:boolean
出参:boolean
ISNULL
入参:T
入参:T
出参:boolean
出参:boolean
JSON_ARRAY_LENGTH
入参:string
入参:string
出参:int
出参:int
JSON_OBJECT_KEYS
入参:string
入参:string
出参:array
出参:array
JSON_TUPLE
入参:(string, ..., string)
-
出参:string...string
KEYVALUE
入参:(string [, string, string], string)

出参:文字列
KURTOSIS
入参:bigint|double|decimal
-
出参:double
LAG
入参:(T[, int[, string]])
入参:(T[, int[, string]])
出参:T
出参:T
LAST_DAY
入参:string|date|timestamp
入参:string|date|timestamp
出参:文字列
出参:文字列
LAST_VALUE
入参:(T[, boolean])
-
出参:T
LCASE
入参:string
入参:string
出参:文字列
出参:文字列
LEAD
入参:(T[, int[, string]])
入参:(T[, int[, string]])
出参:T
出参:T
LEAST
入参:(bigint|double|decimal, bigint|double|decimal, ...)
(bigint|double|decimal, bigint|double|decimal, ...)
出参:入力と一致
出参:入力と一致
LEFT
入参:(string, int)
入参:(string, int)
出参:文字列
出参:文字列
LENGTH
入参:string
入参:string
出参:int
出参:int
LEVENSHTEIN
入参:(string, string)
入参:(string, string)
出参:int
出参:int
LIKE
入参:(string, string) | string LIKE string ESCAPE string
入参:(string, string)
出参:boolean
出参:boolean
LN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
LOCATE
入参:(string, string[, int])
入参:(string, string[, int])
出参:int
出参:int
LOG
入参:(bigint|double|decimal, bigint|double|decimal)
入参:(bigint|double|decimal, bigint|double|decimal)
出参:double
出参:double
LOG10
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
LOG1P
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
LOG2
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
LOWER
入参:string
入参:string
出参:文字列
出参:文字列
LPAD
入参:(string, int[, string])
入参:(string, int, string)
出参:文字列
出参:文字列
LTRIM
入参:string
入参:string
出参:文字列
出参:文字列
MAKE_DATE
入参:(int, int, int)
入参:(int, int, int)
出参:date
出参:date
MAKE_TIMESTAMP
入参:(int, int, int, int, int, int[, string])
入参:(int, int, int, int, int, int[, string])
出参:timestamp
出参:timestamp
MAP
入参:(K1, V1, K2, V2,...)
入参:(array<K>, array<V>)
出参:map
出参:map
MAP_CONCAT
入参:(map, ...)
入参:(map, ...)
出参:map
出参:map
MAP_ENTRIES
入参:map
入参:map
出参:array
出参:array
MAP_FROM_ARRAYS
入参:(array, array)
入参:(array, array)
出参:map
出参:map
MAP_FROM_ENTRIES
入参:array
入参:array
出参:map
出参:map
MAP_KEYS
入参:map
入参:map
出参:array
出参:array
MAP_UINON_SUM
入参:map
-
出参:map
MAP_VALUES
入参:map
入参:map
出参:array
出参:array
MAX
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:入力パラメータと一致
出参:double
MAX_BY
入参:T, bigint|double|decimal
入参:T, bigint|double|decimal
出参:T
出参:T
MAX_PT
入参:const string
-
出参:string
MD5
入参:string|binary
入参:string|binary
出参:文字列
出参:string
MEAN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
MIN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:入力パラメータと一致
出参:double
MINUTE
入参:(文字列|タイムスタンプ)
入参:(文字列|タイムスタンプ)
出参:int
出参:int
MIN_BY
入参:(T, bigint|double|decimal)
入参:(T, bigint|double|decimal)
出参:T
出参:T
MOD
入参:(bigint|double|decimal, bigint|double|decimal) | bigint|double|decimal MOD bigint|double|decimal
入参:(bigint|double|decimal, bigint|double|decimal)
出参:int|double
出参:int|double
MONOTONICALLY_INCREASING_ID
入参:なし
-
出参:bigint
MONTH
入参:date|timestamp|string
入参:date|timestamp|string
出参:int
出参:int
MONTHS_BETWEEN
入参:(date|timestamp|string, date|timestamp|string[, boolean])
入参:(date|timestamp|string, date|timestamp|string)
出参:double
出参:double
NAMED_STRUCT
入参:(K1, V1, K2, V2, ...)
-
出参:struct
NANVL
入参:(bigint|double|decimal, bigint|double|decimal)
入参:(bigint|double|decimal, bigint|double|decimal)
出参:double
出参:double
NEGATIVE
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:bigint|double|decimal
出参:int|double
NEXT_DAY
入参:(string|date|timestamp, string)
入参:(string|date|timestamp, string)
出参:date
出参:文字列
NGRAMS
-
入参:(array<array<string>>, int, int, int)
出参:array<struct<string, double>>
NOW
入参:なし
入参:なし
出参:timestamp
出参:timestamp
NTH_VALUE
入参:(T[, int])
入参:(T[, int])
出参:T
出参:T
NTILE
入参:int
入参:int
出参:int
出参:int
NULLIF
入参:(T, T)
入参:(T, T)
出参:T
出参:T
NVL
入参:(T, T)
入参:(T, T)
出参:T
出参:T
NVL2
入参:(T, T, T)
入参:(T, T, T)
出参:T
出参:T
OCTET_LENGTH
入参:string
入参:string
出参:int
出参:int
OR
入参:expr1 OR expr2
入参:expr1 OR expr2
出参:boolean
出参:boolean
OVERLAY
入参:(string PLACING string FROM int[ FOR int])
-
出参:int
PARSE_URL
入参:(string, string[, string])
入参:(string, string[, string])
出参:string
出参:string
PERCENTILE
入参:(bigint|double|decimal, bigint|double|decimal|array, int)
入参:(bigint|double|decimal, bigint|double|decimal|array, int)
出参:bigint|double|decimal|array
出参:double|array
PERCENTILE_APPROX
入参:(bigint|double|decimal, bigint|double|decimal|array[, int])
入参:(bigint|double|decimal, bigint|double|decimal[, int])
出参:double|array
出参:double|array
PERCENT_RANK
入参:なし
入参:なし
出参:double
出参:double
PI
入参:なし
入参:なし
出参:double
出参:double
PMOD
入参:(bigint|double|decimal, bigint|double|decimal)
入参:(bigint|double|decimal, bigint|double|decimal)
出参:入力パラメータと一致
出参:入力パラメータと一致
POSITION
入参:(string, string[, int]) | (string IN string)
入参:(string, string[, int]) | (string IN string)
出参:int
出参:int
POSITIVE
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:入力パラメータと一致
出参:入力パラメータと一致
POSEXPLODE
入参:array
-
出参:table
POSEXPLODE_OUTER
入参:array
-
出参:table
POW
入参:(bigint|double|decimal, bigint|double|decimal)
入参:(bigint|double|decimal, bigint|double|decimal)
出参:double
出参:double
POWER
入参:(bigint|double|decimal, bigint|double|decimal)
入参:(bigint|double|decimal, bigint|double|decimal)
出参:double
出参:double
PRINTF
入参:(string, T, ...)
入参:(string, T, ...)
出参:string
出参:string
QUARTER
入参:string|date|timestamp
入参:string|date|timestamp
出参:int
出参:int
RADIANS
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
RAISE_ERROR
入参:string
入参:string
出参:例外をスロー
出参:例外をスロー
RAND
入参:[int]
入参:[int]
出参:double
出参:double
RANDN
入参:[int]
入参:[long]
出参:double
出参:double
RANDOM
入参:[int]
入参:[int]
出参:double
出参:double
RANK
入参:なし
入参:なし
出参:int
出参:int
REGEXP
入参:(string, string)
入参:(string, string)
出参:boolean
出参:boolean
REGEXP_COUNT
入参:(string, string)
-
出参:int
REGEXP_EXTRACT
入参:(string, string[, int])
入参:(string, string, int)
出参:int
出参:int
REGEXP_EXTRACT_ALL
入参:(string, string[, int])
入参:(string, string[, int])
出参:array
出参:array
REGEXP_LIKE
入参:(string, string)
入参:(string, string)
出参:boolean
出参:boolean
REGEXP_REPLACE
入参:(string, string, string[, int])
入参:(string, string, string)
出参:string
出参:string
REGEXP_SUBSTR
入参:(string, string)
-
出参:string
REPEAT
入参:(string, int)
入参:(string, int)
出参:string
出参:string
REPLACE
入参:(string, string[, string])
入参:(string, string, string)
出参:string
出参:string
REVERSE
入参:string | array
入参:string
出参:string
出参:string
RIGHT
入参:(string, int)
入参:(string, int)
出参:string
出参:string
RINT
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
RLIKE
入参:(string, string)
入参:(string, string)
出参:boolean
出参:boolean
ROUND
入参:(double, int)
入参:(double, int)
出参:double
出参:double
ROW_NUMBER
入参:なし
入参:なし
出参:int
出参:int
RPAD
入参:(string, int[, string])
入参:(string, int, string)
出参:string
出参:string
RTRIM
入参:string
入参:string
出参:string
出参:string
SAMPLE
入参:(long [, long [, cols...]])
-
出参:boolean
SCHEMA_OF_CSV
入参:(string[, map])

出参:struct
SCHEMA_OF_JSON
入参:(string[, map])
-
出参:int
SECOND
入参:string|timestamp
入参:string|timestamp
出参:int
出参:int
SENTENCES
(string[, string, string])
入参:(string[, string, string])
出参:array<array<string>>
出参:array<array<string>>
SEQUENCE
入参:(int|bigint|date|timestamp, int|bigint|date|timestamp, int)
入参:(int|bigint|date|timestamp, int|bigint|date|timestamp, int)
出参:入力パラメータと一致
出参:入力パラメータと一致
SHA
入参:string|binary
入参:string|binary
出参:string
出参:string
SHA1
入参:string|binary
入参:string|binary
出参:string
出参:string
SHA2
入参:(string, int)
入参:(string, int)
出参:string
出参:string
SHIFTLEFT
入参:(int|bigint, int)
引数:(int|bigint, int)
出参:int|bigint
出参:int|bigint
SHIFTRIGHT
入参:(int|bigint, int)
入参:(int|bigint, int)
出参:int|bigint
出参:int|bigint
SHIFTRIGHTUNSIGNED
入参:(int|bigint, int)
入参:(int|bigint, int)
出参:int|bigint
出参:int|bigint
SHUFFLE
入参:array
入参:array
出参:array
出参:array
SIGN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
SIGNUM
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
SIN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
SINH
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
SIZE
入参:array | map
入参:array | map
出参:int
出参:int
SKEWNESS
入参:bigint|double|decimal
-
出参:double
SLICE
入参:(array, int, int)
入参:(array, int, int)
出参:array
出参:array
SMALLINT
cast as smallint
cast as smallint
SOME
入参:boolean
入参:boolean
出参:boolean
出参:boolean
SORT_ARRAY
入参:(array[, boolean])
入参:array
出参:array
出参:array
SOUNDEX
入参:string
入参:string
出参:string
出参:string
SPACE
入参:文字列
入参:文字列
出参:文字列
出参:文字列
SPARK_PARTITION_ID
入参:なし
-
出参:int
SPLIT
入参:(string, string, int)
入参:(string, string)
出参:文字列
出参:文字列
SQRT
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
STACK
入参:(T, U, ...)
-
出参:table
STD
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
STDDEV
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
STDDEV_POP
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
STDDEV_SAMP
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
STRING
cast as string
cast as string
STRUCT
入参:(T, U, ...)
入参:(T, U, ...)
出参:struct
出参:struct
STR_TO_MAP
入参:(string[, string[, string]])
入参:(string[, string, string])
出参:map
出参:map
SUBSTR
入参:(string, int[, int]) | (string FROM int [FOR int])
入参:(string|binary, int[, int]) | (string|binary FROM int [FOR int])
出参:文字列
出参:string
SUBSTRING
入参:(string, int[, int]) | (string FROM int [FOR int])
入参:(string|binary, int[, int]) | (string|binary FROM int [FOR int])
出参:文字列
出参:string
SUBSTRING_INDEX
入参:(string, string, int)
入参:(string, string, int)
出参:文字列
出参:文字列
SUM
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:入力と一致
出参:double
TAN
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
TANH
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
TIMESTAMP
入参:文字列
入参:文字列
出参:timestamp
出参:timestamp
TIMESTAMP_ADD
入参:(date/timestamp, int, string)


出参:timestamp

TIMESTAMP_MICROS
入参:bigint
入参:bigint
出参:timestamp
出参:timestamp
TIMESTAMP_MILLIS
入参:bigint
入参:bigint
出参:timestamp
出参:timestamp
TIMESTAMP_SECONDS
入参:bigint
入参:bigint
出参:timestamp
出参:timestamp
TIMEZONE_HOUR
入参:文字列
-
出参:int
TIMEZONE_MINUTE
入参:文字列
-
出参:int
TINYINT
cast as tinyint
cast as tinyint
TO_CHAR
入参:(boolean|int|long|double|decimal [, string])


出参:文字列

TO_CSV
入参:(struct[, map])
-
出参:文字列
TO_DATE
入参:(string[, string])
入参:文字列
出参:date
出参:date
TO_JSON
入参:(string[, map])
-
出参:文字列
TO_TIMESTAMP
入参:(string[, string])
入参:(string)
出参:timestamp
出参:timestamp
TO_UNIX_TIMESTAMP
入参:(string[, string])
入参:(string[, string])
出参:timestamp
出参:timestamp
TO_UTC_TIMESTAMP
入参:(string[, string])
入参:(bigint|double|decimal|date|timestamp|string, string)
出参:timestamp
出参:timestamp
TRANS_ARRAY
入参:(int, string, cols...)
-
出参:colsと同じタイプ
TRANS_COLS
入参:(int, cols...)

出参:(int, cols)

TRANSLATE
入参:(string, string, string)
-
出参:文字列
TRIM
入参:文字列
入参:文字列
出参:文字列
出参:string
TRUNC
入参:(string|date|timestamp, string)
入参:(string|date|timestamp, string)
出参:文字列
出参:string
TRY_ADD
入参:(bigint|double|decimal|date|timestamp|, bigint|double|decimal|date|timestamp)
入参:(bigint|double|decimal, bigint|double|decimal)
出参:入力パラメータと一致
出参:入力パラメータと一致
TRY_DIVIDE
入参:(bigint|double|decimal, bigint|double|decimal)
-
出参:double
TYPEOF
入参:T
入参:T
出参:文字列
出参:文字列
UCASE
入参:文字列
入参:文字列
出参:文字列
出参:文字列
UNBASE64
入参:文字列
入参:文字列
出参:文字列
出参:文字列
UNHEX
入参:文字列
入参:文字列
出参:binary
出参:binary
UNIX_DATE
入参:string|timestamp|date
入参:string|timestamp|date
出参:int
出参:int
UNIX_MICROS
入参:timestamp
入参:timestamp
出参:bigint
出参:bigint
UNIX_MILLIS
入参:timestamp
入参:timestamp
出参:bigint
出参:bigint
UNIX_SECONDS
入参:timestamp
入参:timestamp
出参:bigint
出参:bigint
UNIX_TIMESTAMP
入参:[date|timestamp|string[, string]]
入参:(date|timestamp|string[, string])
出参:bigint
出参:bigint
UPPER
入参:文字列
入参:文字列
出参:文字列
出参:文字列
URL_DECODE
入参:文字列
-
出参:文字列
UUID
入参:なし
入参:なし
出参:文字列
出参:文字列
VARIANCE
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
VAR_POP
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
VAR_SAMP
入参:bigint|double|decimal
入参:bigint|double|decimal
出参:double
出参:double
VERSION
入参:なし
入参:なし
出参:文字列
出参:文字列
WEEKDAY
入参:date|timestamp|string
入参:date|timestamp|string
出参:int
出参:int
WEEKOFYEAR
入参:date|timestamp|string
入参:date|timestamp|string
出参:int
出参:int
WIDTH_BUCKET
入参:(bigint|double|decimal, bigint|double|decimal, bigint|double|decimal, int)
入参:(bigint|double|decimal, bigint|double|decimal, bigint|double|decimal, int)
出参:int
出参:int
WINDOW
入参:(date|timestamp, string[, string[, string]])
-
出参:table
XPATH
入参:(string, string)
入参:(string, string)
出参:array
出参:array
XPATH_BOOLEAN
入参:(string, string)
入参:(string, string)
出参:boolean
出参:boolean
XPATH_DOUBLE
入参:(string, string)
入参:(string, string)
出参:double
出参:double
XPATH_FLOAT
入参:(string, string)
入参:(string, string)
出参:float
出参:float
XPATH_INT
入参:(string, string)
入参:(string, string)
出参:int
出参:int
XPATH_LONG
入参:(string, string)
入参:(string, string)
出参:bigint
出参:bigint
XPATH_NUMBER
入参:(string, string)
入参:(string, string)
出参:double
出参:double
XPATH_STRING
入参:(string, string)
入参:(string, string)
出参:文字列
出参:文字列
XXHASH64
入参:(T, U, ...)
入参:(T, U, ...)
出参:bigint
出参:bigint
YEAR
入参:date|timestamp|string
入参:date|timestamp|string
出参:int
出参:int


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック