This repository was archived by the owner on May 7, 2026. It is now read-only.
Commit 3d8b17f
authored
fix: support results with STRUCT and ARRAY columns containing JSON subfields in
* Correctly display DataFrames with JSON columns in anywidget
* Improve JSON type handling for to_gbq and to_pandas_batches
* Revert "Correctly display DataFrames with JSON columns in anywidget"
This reverts commit 8c34512.
* Remove unnecessary comment
* code refactor
* testcase update
* Fix testcase
* function call updated in
bigframes/core/blocks.py, unused function removed from bigframes/dtypes.py
* revert the code refactor in loader.py, I will use a seperate pr for this refactor
* replace the manual
construction of the empty DataFrame with the more robust try...except block
that leverages to_pyarrow and empty_table
* fix testcase
* existing arrow_to_pandas() helper that properly handles dtype conversion
* testcase update
* refactor testcase
* Add pyarrow id to commentsto_pandas_batches() (#2216)1 parent 94c8b3c commit 3d8b17fCopy full SHA for 3d8b17f
2 files changed
+96-6Lines changed: 96 additions & 6 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- bigframes/core
- tests/system/small
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+10-6Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
68 | 68 | |
69 | 69 | |
70 | 70 | |
| 71 | + |
71 | 72 | |
72 | 73 | |
73 | 74 | |
| ||
711 | 712 | |
712 | 713 | |
713 | 714 | |
714 | | - |
715 | | - |
716 | | - |
717 | | - |
718 | | - |
719 | | - |
| 715 | + |
| 716 | + |
| 717 | + |
| 718 | + |
| 719 | + |
| 720 | + |
| 721 | + |
| 722 | + |
| 723 | + |
720 | 724 | |
721 | 725 | |
722 | 726 | |
|
Collapse file
tests/system/small/test_dataframe_io.py
Copy file name to clipboardExpand all lines: tests/system/small/test_dataframe_io.py+86Lines changed: 86 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
376 | 376 | |
377 | 377 | |
378 | 378 | |
| 379 | + |
| 380 | + |
| 381 | + |
| 382 | + |
| 383 | + |
| 384 | + |
| 385 | + |
| 386 | + |
| 387 | + |
| 388 | + |
| 389 | + |
| 390 | + |
| 391 | + |
| 392 | + |
| 393 | + |
| 394 | + |
| 395 | + |
| 396 | + |
| 397 | + |
| 398 | + |
| 399 | + |
| 400 | + |
| 401 | + |
| 402 | + |
| 403 | + |
| 404 | + |
| 405 | + |
| 406 | + |
| 407 | + |
| 408 | + |
| 409 | + |
| 410 | + |
| 411 | + |
| 412 | + |
| 413 | + |
| 414 | + |
| 415 | + |
| 416 | + |
| 417 | + |
| 418 | + |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
| 423 | + |
| 424 | + |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
| 429 | + |
| 430 | + |
| 431 | + |
| 432 | + |
| 433 | + |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
| 438 | + |
| 439 | + |
| 440 | + |
| 441 | + |
| 442 | + |
| 443 | + |
| 444 | + |
| 445 | + |
| 446 | + |
| 447 | + |
| 448 | + |
| 449 | + |
| 450 | + |
| 451 | + |
| 452 | + |
| 453 | + |
| 454 | + |
| 455 | + |
| 456 | + |
| 457 | + |
| 458 | + |
| 459 | + |
| 460 | + |
| 461 | + |
| 462 | + |
| 463 | + |
| 464 | + |
379 | 465 | |
380 | 466 | |
381 | 467 | |
|
0 commit comments