Commit 6e6ec7f
authored
[BABEL] Added BBF hook to simplify const expressions during planning (babelfish-for-postgresql#701)
This commit adds eval_const_expressions_in_preprocess_hook to evaluate
expressions that can be substituted by a Const node during planning.
Task: BABEL-3756
Extension PR: babelfish-for-postgresql/babelfish_extensions#4425
Authored by: Saurav Samantaray <sauravay@amazon.com>1 parent 4c767f6 commit 6e6ec7f
2 files changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
1213 | 1215 | | |
1214 | 1216 | | |
1215 | 1217 | | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | | - | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
1221 | 1224 | | |
1222 | 1225 | | |
1223 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
0 commit comments