Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formats/CapnProtoRowInputStream: support Nested and Tuple, fix alignm… #3216

Merged
merged 3 commits into from
Oct 1, 2018

Conversation

vavrusa
Copy link
Contributor

@vavrusa vavrusa commented Sep 26, 2018

…ent issues

This updated contrib/capnproto to a newer version that fixes problems with
unaligned access to message frames.

It also adds support for parsing Struct types as Tuple (named or unnamed),
and Nested array types.

The struct X { a @0 :UInt64; b @1 :Text } in Cap'nProto is equivalent to
x Tuple(a UInt64, b String) in ClickHouse.

Arrays of Struct types such as y List(X) are equivalent to y Nested(a UInt64, b String).

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

cc @bocharov @dqminh

…ent issues

This updated contrib/capnproto to a newer version that fixes problems with
unaligned access to message frames.

It also adds support for parsing Struct types as Tuple (named or unnamed),
and Nested array types.

The `struct X { a @0 :UInt64; b @1 :Text }` in Cap'nProto is equivalent to
`x Tuple(a UInt64, b String)` in ClickHouse.

Arrays of Struct types such as `y List(X)` are equivalent to `y Nested(a UInt64, b String)`.
@vavrusa vavrusa force-pushed the capnproto-tuple-nested branch from bfc5935 to cbbcb6d Compare September 26, 2018 05:51
@alexey-milovidov alexey-milovidov merged commit 33578cb into ClickHouse:master Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants