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

Specify explicit ZNG format from file loader #3026

Merged
merged 2 commits into from
Mar 15, 2024
Merged

Specify explicit ZNG format from file loader #3026

merged 2 commits into from
Mar 15, 2024

Conversation

philrz
Copy link
Contributor

@philrz philrz commented Mar 13, 2024

The "auto-detect failure messages" described in the 4th bullet at #3025 were not something I expected to see. As far as I can tell the zq-based shaper is always present in Zui's "file loader" pipeline (but this is something I'm hoping can be confirmed via review!) By default zq will always output binary ZNG in such a pipeline. Normally a load operation to the Zed lake will always happily auto-detect binary ZNG input so this has not generally been a problem. However my repro details in brimdata/super#3865 (comment) show that this mun.json test data from #3025 seems to pose a unique challenge because zq's ZNG output from reading that particular JSON happens to fail load via auto-detect.

While that Zed issue remains a mystery for the moment, it seems we can avoid it entirely and address the main #3025 symptom by explicitly specifying ZNG as the expected load format.

Here's verification of the change in this branch fixing the main #3025 symptom.

Demo.mp4

@philrz philrz requested a review from jameskerr March 13, 2024 22:28
@philrz philrz self-assigned this Mar 13, 2024
@philrz philrz merged commit d372553 into main Mar 15, 2024
3 checks passed
@philrz philrz deleted the file-loader-zng branch March 15, 2024 17:52
@philrz philrz linked an issue Mar 15, 2024 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

JSON file containing single 81 MB object won't load in Zui
2 participants