Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read deltatables with binary columns: Binary is not supported by JSON #2302

Closed
johnnyg opened this issue Mar 19, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@johnnyg
Copy link

johnnyg commented Mar 19, 2024

Environment

Delta-rs version: 0.16.1

Binding: Python

Environment:

  • Cloud provider: AWS
  • OS: Linux

Bug

What happened:

Tried to read a deltatable with binary columns but get the following error:

  File "/home/user/mamba/envs/dev/lib/python3.11/site-packages/deltalake/table.py", line 408, in __init__
    self._table = RawDeltaTable(
                  ^^^^^^^^^^^^^^
Exception: Json error: Binary is not supported by JSON

What you expected to happen:

To be able to read the table (and its schema)

How to reproduce it:

Have a deltatable with a binary column i.e. the schema type for a field is "binary"

@johnnyg johnnyg added the bug Something isn't working label Mar 19, 2024
@leoeareis
Copy link

I'm facing the same problem 😞

@ion-elgreco
Copy link
Collaborator

@johnnyg or @leoeareis can you share some reproducible code that creates a delta table with binary column? Then I can have a look at it

@flxliu
Copy link

flxliu commented Apr 2, 2024

@ion-elgreco : I filed a different bug #2373, it has the same error message but it's write instead of read. it also generated the delta table though it crashed, you can repro this bug by reading the delta table generated.

@johnnyg
Copy link
Author

johnnyg commented Apr 9, 2024

This appears to be fixed in 0.16.4 so I'm going to close this ticket.

@johnnyg johnnyg closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants