Commit e3724b6
authored
I introduced a subtle bug that caused some cases of `__init__` to not
respect `AutoSwitchBackend.disable()` here:
https://github.com/modin-project/modin/blob/44ee0178b6ed66553fdc8bc43e4cc9e31c8cf92d/modin/core/storage_formats/pandas/query_compiler_caster.py#L1056
That should be `< 2` as it was before; otherwise `__init__` from a
non-modin input (e.g. the dict in this case) will auto-switch regardless
of the value of `AutoSwitchBackend`.
Resolves #7640
Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@snowflake.com>
1 parent 44ee017 commit e3724b6
File tree
2 files changed
+24
-2
lines changed- modin
- core/storage_formats/pandas
- tests/pandas/native_df_interoperability
2 files changed
+24
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | | - | |
| 1053 | + | |
1054 | 1054 | | |
1055 | 1055 | | |
1056 | | - | |
| 1056 | + | |
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1416 | 1416 | | |
1417 | 1417 | | |
1418 | 1418 | | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1419 | 1441 | | |
1420 | 1442 | | |
1421 | 1443 | | |
| |||
0 commit comments