Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AstRewrite ¶
AstRewrite do sql rewrite before plan build. todo: function just for some case we can not deal in compute-engine now. Such as ` filter condition is not a logical expression`.
we should delete these codes if we can deal it in compute-engine next time.
deal with such case: case 1: rewrite normal expression in where clause to be logical expression. (1) rewrite `select ... where expr` to `select ... where expr != 0` (2) rewrite `select ... where not expr` to `select ... where expr == 0` case 2: normal view sql rewrite work ( not Materialized View) Tips: expr contains castExpr, unresolvedName, constant
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.