Skip to content

feat: add non-flattened Nested(...) type support for RowBinaryWithNamesAndTypes#282

Open
timvermeulen wants to merge 4 commits intoClickHouse:mainfrom
timvermeulen:rbwnat-nested
Open

feat: add non-flattened Nested(...) type support for RowBinaryWithNamesAndTypes#282
timvermeulen wants to merge 4 commits intoClickHouse:mainfrom
timvermeulen:rbwnat-nested

Conversation

@timvermeulen
Copy link
Copy Markdown
Contributor

Summary

ClickHouse usually flattens a column x Nested(y T1, z T2) into separate columns x.y Array(T1), x.z Array(T2), but this can be turned off and also only applies to top-level nested columns, not arbitrarily nested columns. This PR adds validation support for non-flattened Nested(...) columns (which are encoded as Array(Tuple(...))).

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided so that we can include it in CHANGELOG later
  • For significant changes, documentation in README and https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

It now ensures that the brackets and quotes are balanced, and no longer
consumes a trailing closing bracket if there's no matching opening bracket.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants