Release: v0.8.0#36
Merged
Merged
Conversation
* Usable in both APIs, useful for getting last record (e.g. want length of file, not whole thing)
* Pass in indices to sniff, returns list of sniffed records.
* New `Parser` struct handles all parsing details, wraps `Cursor`. * `Record` trait now has very little parsing logic. * Need to update Python wrapper still * New functions for reading select records from file, bytes, or just metadata, by indices, and optionally "lax" (except metadata).
New functionality, sniff any record(s) from file. * New `indices` keyword which can be used with any of the supported modes `"strict"`, `"lax"`, or `"metadata"`, used to read only specific records from the file * `sniff` mode removed * Significant internal refactor to modularize codebase for clarity.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
sniffmode, now supported modes are"strict","lax", and"metadata".indiceskwarg to Python API, to support reading a subset of records from a file (e.g. first and last record, to get first and last timestamps for the file)