表达式运算
运算符
运算符优先级
!
- (unary minus), ~ (unary bit inversion)
^
*, /, DIV, %, MOD
-, +
<<, >>
&
|
= (comparison), <=>, >=, >, <=, <, <>, !=, IS, LIKE, REGEXP, IN
BETWEEN, CASE, WHEN, THEN, ELSE
NOT
AND, &&
XOR
OR, ||
= (assignment), :=各类运算
1. 比较运算
操作符名
功能描述
2. 逻辑运算
操作符名
功能描述
3. 算术运算
操作符名
功能描述
4. 位运算
操作符名
Description
5. 类型运算和函数
操作符名
Description
src|dist
bool
smallint
int
float
int64
double
timestamp
date
string
赋值操作符
操作符名
功能描述
Last updated