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

Checkpoint error with Azure Synapse #1847

Closed
PierreDubrulle opened this issue Nov 13, 2023 · 0 comments · Fixed by #1848
Closed

Checkpoint error with Azure Synapse #1847

PierreDubrulle opened this issue Nov 13, 2023 · 0 comments · Fixed by #1848
Labels
bug Something isn't working

Comments

@PierreDubrulle
Copy link
Contributor

PierreDubrulle commented Nov 13, 2023

Environment

Delta-rs version: 0.12.0

Environment:

  • Azure Synapse
  • WSL2 - Debian
  • Python 3.11

Bug

A deltatable is hosted in an Azure DataLake. When trying to read the data via a SQL query performed in a Synapse workspace, an error is raised due to certain fields in the checkpoint file.
The problematic fields are those whose values are "null".

Solution

The solution is not to show fields with a 'null' value in the checkpoint json.
To achieve this, optional fields in the Checkpoint struct must not be serialized if they are null or None.

@PierreDubrulle PierreDubrulle added the bug Something isn't working label Nov 13, 2023
rtyler pushed a commit to PierreDubrulle/delta-rs that referenced this issue Nov 16, 2023
rtyler pushed a commit that referenced this issue Nov 16, 2023
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

Successfully merging a pull request may close this issue.

1 participant