Commit c5c78b2
refactor: add try_to_proto to HashTableLookupExpr
Part of #22435. Adds try_to_proto to HashTableLookupExpr so it
participates in the expression-local serialization pattern introduced
in #21929.
HashTableLookupExpr holds a runtime Arc<Map> that cannot be serialized,
so try_to_proto replaces it with lit(true). This is safe because the
filter is a performance optimisation only — lit(true) passes all rows
and the join produces correct results either way.
The centralized arm in to_proto.rs remains as a fallback for now.1 parent 077f08a commit c5c78b2
1 file changed
Lines changed: 34 additions & 0 deletions
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
245 | 247 | | |
246 | 248 | | |
247 | 249 | | |
| |||
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
292 | 326 | | |
293 | 327 | | |
294 | 328 | | |
| |||
0 commit comments