-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Teach the combiner to keep track of a running inferred schem…
…a and log whenever it changes. (#1128) * feature: Teach the combiner to keep track of a running inferred schema and log whenever it changes. * fix: Initialize schema as fully constrained instead of fully open * Emit the schema as real JSON, instead of an escaped string. * fix: Only initialize `shape` and `scratch-shape` if this is a brand new Combiner, otherwise keep the schema around to reduce spurious logging * fix: log on error * refactor: remove reference to `Shape::to_serde()` * fix: import ordering * fix: serialization should never fail * Add `collection_name` and `enable_schema_inference` to the combiner's `Config` message, and plumb through the appropriate values. * fix: Some clean-ups after rebase * refactor: Pass a schema in `infer_schema_json` instead of a boolean in `enable_schema_inference` * fix: Actually enforce inferred schema limits * fix: remove unneccesary `shape_from_value` * fix logic error * exercise widening logic in tests * Also exercise real `infer_schema_json` parsing codepath * ops: update tracing snapshot for new debug behavior --------- Co-authored-by: Johnny Graettinger <[email protected]>
- Loading branch information
1 parent
d9af413
commit 886e308
Showing
13 changed files
with
509 additions
and
398 deletions.
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.