Commit 0b087ee
committed
### What changes were proposed in this pull request?
This PR aims to support `printSchema` for `DataFrame`.
### Why are the changes needed?
For feature parity.
### Does this PR introduce _any_ user-facing change?
No, this is a new addition to the unreleased version.
### How was this patch tested?
Pass the CIs and do the manual check from the log. Or, manually.
```
$ swift test --filter DataFrameTests.printSchema
...
Test printSchema() started.
root
|-- struct(1, 2): struct (nullable = false)
| |-- col1: integer (nullable = false)
| |-- col2: integer (nullable = false)
root
|-- struct(1, 2): struct (nullable = false)
Test printSchema() passed after 0.044 seconds.
Suite DataFrameTests passed after 0.044 seconds.
Test run with 1 test passed after 0.044 seconds.
```
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #35 from dongjoon-hyun/SPARK-51676.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 0436211 commit 0b087ee
File tree
3 files changed
+40
-0
lines changed- Sources/SparkConnect
- Tests/SparkConnectTests
3 files changed
+40
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
358 | 378 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
297 | 309 | | |
298 | 310 | | |
299 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| |||
0 commit comments