Repository navigation
feat(display-format): decode MessagePack and Protobuf, and swapped-time UUIDs - #3761
Merged
Merged
Conversation
…swapped-time UUIDs
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.
Summary
UUID_TO_BIN(uuid, 1)bytes as the UUID passed in. Generate UUID, Fill Column and new-row keys write that byte order back.bin,extandtimebadges. Protobuf, with no schema, decodes into field numbers badged by wire type, and a Confluent Schema Registry frame shows its schema ID.E:), which failed the whole value before, and refuses a length nearInt.maxinstead of trapping.ValueDisplayFormatTestsblob and MongoDB format lists.Not in this PR
ref8to an array is a by-value copy, notR:. The decoder and its fixture tests are in commit 939136b for the follow-up..protofile or descriptor set, Avro with a writer schema, and fetching either from a Schema Registry URL. Each needs a schema attached to a column: storage, file access, a connection field and an HTTP client.BINARY(16)cell. Neither UUID format has a typed path; binary cells edit as hex.valuecolumn as TEXT when every payload is valid UTF-8, control bytes included (KafkaMessageFlattener.allDecodeAsText), so small Protobuf payloads land in a text column where Display As offers no Protobuf. Registry plugin.CellValueContentDetectortakesC:\pathandd:\pathtext for PHP serialized, so the inspector opens a Windows path in the read-only PHP viewer.Test plan
protoc --encode36.2 and MySQL 8.4UUID_TO_BIN:MessagePackDecoderTests,ProtobufWireDecoderTests(output equalsprotoc --decode_raw),BinaryDisplayFormatTests.CellInteractionResolverBinaryTests,FieldEditorResolverTests,InspectorEditPolicyTests,UUIDCellFormTests,RowCopyFormatTests,PhpSerializeParserSpecialTests.Part of #3607