-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do that by plugging some holes left by #4925. * In runtime/vcache/ztests/, re-enable skipped "zed dev vcache copy" tests. * In cmd/zed/dev/vcache/copy.Command.Run, resurrect the call to zio.Copy. * In package runtime/vcache: * Resurrect the Reader type and update its Read method. * Resurrect Object.NewReader. * Add loader type to hold the *zed.Context needed when loading a vector of type values. * Convert existing loadXXX functions to loader methods. * In loadArray, fix bad nil argument to loadVector. * In loadMap, load lengths vector. * In loadNulls, create slots slice and load values vector. * In loadPrimitive, remove null handling (vector.Nulls now does that) and add support for missing Zed types (float16, float32, float64, bytes, ip, net, and type). * In loadRecord, load all fields when no specific path is requested. * In loadUnion, load tags vector. * In loadVector, assign to *any when loading a constant vector. * In package vector: * Add missing Byte, Float, IP, Net, and Type types. * Add missing length field to Map type. * Add missing tags field to Union type. * Implement NewBuilder method for Array, Map, and Union types. * Handle nulls for all vector types by replacing the Nullmask type with Nulls, which wraps a vector.Any.
- Loading branch information
Showing
31 changed files
with
556 additions
and
226 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 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
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
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.