IsImpure returns whether the function application is impure, meaning that it potentially returns a different value when called in the same statement with the same parameters.
()
| 1317 | // potentially returns a different value when called in the same statement with |
| 1318 | // the same parameters. |
| 1319 | func (node *FuncExpr) IsImpure() bool { |
| 1320 | return node.fnProps != nil && node.fnProps.Impure |
| 1321 | } |
| 1322 | |
| 1323 | // IsDistSQLBlacklist returns whether the function is not supported by DistSQL. |
| 1324 | func (node *FuncExpr) IsDistSQLBlacklist() bool { |