Commit bebd5e1
committed
### What changes were proposed in this pull request?
This PR aims to support `binary` type in `show` and `collect`.
### Why are the changes needed?
Like the other client, binary type values shows in an array style.
```python
$ bin/pyspark --remote sc://localhost:15002
>>> sql("SELECT binary('abc')").show()
+----------+
| abc|
+----------+
|[61 62 63]|
+----------+
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #26 from dongjoon-hyun/SPARK-51572.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent b70eeb7 commit bebd5e1
File tree
3 files changed
+8
-0
lines changed- Sources/SparkConnect
- Tests/SparkConnectTests/Resources/queries
3 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
204 | 210 | | |
205 | 211 | | |
206 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments