HashCode creates the hashcode for expression which can be used to identify itself from other expression. It generated as the following: Constant: ConstantFlag+encoded value Column: ColumnFlag+encoded value ScalarFunction: SFFlag+encoded function name + encoded arg_1 + encoded arg_2 + ...
()
| 250 | // Column: ColumnFlag+encoded value |
| 251 | // ScalarFunction: SFFlag+encoded function name + encoded arg_1 + encoded arg_2 + ... |
| 252 | HashCode() []byte |
| 253 | |
| 254 | // CanonicalHashCode creates the canonical hashcode for expression. |
| 255 | // Different with `HashCode`, this method will produce the same hashcode for expressions with the same semantic. |
no outgoing calls