Commit 8a95dfd
authored
chore(bigframes): update the datetime_ops and isin_join in the sqlglot compiler (#16568)
This update addresses issues identified during performance testing
against Ibis golden SQL.
- `datetime_ops`: Aligned with Ibis behavior by implementing safe
parsing instead of throwing errors.
- `isin_join`: Improved performance; benchmark details are available
here: [screenshot/vmb8ACvJhDNpccp].1 parent a8fccef commit 8a95dfd
File tree
4 files changed
+21
-32
lines changed- packages/bigframes
- bigframes/core/compile/sqlglot
- expressions
- tests/unit/core/compile/sqlglot
- expressions/snapshots/test_datetime_ops/test_to_datetime
- snapshots/test_compile_isin/test_compile_isin
4 files changed
+21
-32
lines changedLines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
| 369 | + | |
373 | 370 | | |
374 | 371 | | |
375 | 372 | | |
| |||
Lines changed: 12 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | 367 | | |
370 | 368 | | |
371 | 369 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | 370 | | |
379 | 371 | | |
380 | 372 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | 373 | | |
392 | | - | |
393 | | - | |
394 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
395 | 386 | | |
396 | 387 | | |
397 | 388 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments