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

Can not read metaData from Delta Live Tables full-refreshed #414

Open
mats16 opened this issue Oct 22, 2024 · 5 comments
Open

Can not read metaData from Delta Live Tables full-refreshed #414

mats16 opened this issue Oct 22, 2024 · 5 comments

Comments

@mats16
Copy link

mats16 commented Oct 22, 2024

DeltaKernel can not read a Delta table managed by Delta Live Tables (DLT) after full-refresh.
(can read before full-refresh)

error message

IO Error: Hit DeltaKernel FFI error (from: While trying to read from delta table: 's3://databricks-workspace-bucket/unity-catalog/__unitystorage/schemas/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/tables/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/'): Hit error: 2 (ArrowError) with message (Json error: whilst decoding field 'metaData': Encountered unmasked nulls in non-nullable StructArray child: Field { name: "schemaString", data_type: Utf8, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} })

I checked _delta_log/ directory, metaData is exist.

Env

  • Python 3.12
  • DuckDB v1.1.2
@samansmink
Copy link

I think this is related? duckdb/duckdb-delta#96

@zachschuermann
Copy link
Collaborator

Hi @mats16 @samansmink is this still an issue?

@samansmink
Copy link

@zachschuermann I'm not really sure how to reproduce this tbh

@zachschuermann
Copy link
Collaborator

I vaguely remember running into this before: something like DLT doesn't write schemaString? But that should really be fixed upstream instead of us trying to cope with something that's required that isn't there..

@scovich
Copy link
Collaborator

scovich commented Jan 6, 2025

I asked some DLT people, and it sounds like they know about the problem and have a fix in progress that should roll out "soon"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants