You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9dea3f9
Browse filesBrowse the repository at this point in the historyBrowse files
Type capture label keys and values as Dictionary(Int32,Utf8) (#1927)
* Type capture label keys and values as Dictionary(Int32,Utf8)
* Version dictionary capture labels as capture format 2.0
Dictionary(Int32, Utf8) label keys and values break the frozen V1 Arrow
contract, so the writer now declares capture.version 2.0.
Lading readers read one selected schema major version. The default is the
current major, and captool --schema-major-version selects another major. A
file that declares a different major fails. For a file without
capture.version, the selected major selects the label decoding.
Add a frozen V2 baseline and run the contract tests for both majors. Keep the
V1 fixtures unchanged.
* Simplify capture label decoding and tighten 2.0 tests
resolve_labels takes a LabelEncoding and returns None for another label
type. The validator and captool look up the encoding once and report a
wrong label type as a version mismatch. Remove label_dictionary_type,
because LabelEncoding gives the same type.
Add tests for Utf8 labels in a 2.0 file and for untagged V1 captures in
captool. Also test sliced label arrays and clap error kinds. Restore the
time-reordering test across different series.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
### Changed
9
9
- OpenTelemetry metric weights may now be zero, which disables that metric type.
10
10
Only an all-zero set is rejected.
11
+
-**Breaking Change**: Capture Parquet files now declare `capture.version = "2.0"` and use `Dictionary(Int32, Utf8)` for label keys and values instead of `Utf8`. Arrow consumers must read these columns as dictionary arrays.
12
+
-**Breaking Change**: `captool` reads one capture schema major version. Select it with `--schema-major-version`. The default is the current major, `2`. `captool` rejects files that declare a different major. Use `--schema-major-version 1` for `1.x` captures and for captures without `capture.version`. `validate_parquet` takes the major as its `schema_major_version` argument.
11
13
12
14
### Fixed
13
15
- Container build no longer fails on stale apt version pins for `libssl-dev` and
@@ -19,7 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
21
- Trace-agent `agent_payload` generation for the agent-to-intake
20
22
`/api/v0.2/traces` protobuf endpoint, reusing v0.4 trace-shape settings, with
21
23
configurable host and tracer identity cardinality (`hosts`, `tracers`).
22
-
- Capture Parquet files now include a `capture.version` footer entry, starting at `1.0`.
24
+
- Capture Parquet files now include a `capture.version` footer entry.
23
25
- Trace-agent payload generation for `/v1.0/traces` (idx/ETP), with a service
24
26
graph, streaming string interning, error injection, span links and events,
0 commit comments