Commit 405e009
authored
BigQuery: Raise helpful error when loading table from dataframe with STRUCT columns (#9053)
* Issue warning if no schema when loading from DF
* Raise error if serializing DF with struct fields
* Rewrite test assertion to make coverage happy
* Make the unsupported type message more general
* Remove warning on missing schema
The warning will be added once the support for partial schemas and
automatic schema detection is implemented.1 parent dec9f69 commit 405e009
2 files changed
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
1529 | 1530 | | |
1530 | 1531 | | |
1531 | 1532 | | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1532 | 1542 | | |
1533 | 1543 | | |
1534 | 1544 | | |
| |||
1548 | 1558 | | |
1549 | 1559 | | |
1550 | 1560 | | |
| 1561 | + | |
1551 | 1562 | | |
1552 | 1563 | | |
1553 | 1564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5328 | 5328 | | |
5329 | 5329 | | |
5330 | 5330 | | |
| 5331 | + | |
| 5332 | + | |
| 5333 | + | |
| 5334 | + | |
| 5335 | + | |
| 5336 | + | |
| 5337 | + | |
| 5338 | + | |
| 5339 | + | |
| 5340 | + | |
| 5341 | + | |
| 5342 | + | |
| 5343 | + | |
| 5344 | + | |
| 5345 | + | |
| 5346 | + | |
| 5347 | + | |
| 5348 | + | |
| 5349 | + | |
| 5350 | + | |
| 5351 | + | |
| 5352 | + | |
| 5353 | + | |
| 5354 | + | |
| 5355 | + | |
| 5356 | + | |
| 5357 | + | |
| 5358 | + | |
| 5359 | + | |
| 5360 | + | |
| 5361 | + | |
| 5362 | + | |
| 5363 | + | |
| 5364 | + | |
5331 | 5365 | | |
5332 | 5366 | | |
5333 | 5367 | | |
| |||
0 commit comments