You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2025/05/20 20:20:59 UTC
[kudu-CR] WIP [common] introduce nested types for ColumnSchemaPB
Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22925
Change subject: WIP [common] introduce nested types for ColumnSchemaPB
......................................................................
WIP [common] introduce nested types for ColumnSchemaPB
This changelist introduces changes in the common protobuf structures
to allow for columns of nested data types in Kudu tables.
The auto-generated bindings aren't used in the code yet: that's to be
addressed in follow-up changelists.
WIP:
* file upstream JIRA item and use its ID in the summary of this patch
* collect & address feedback
* introduce feature flags to address risks of misinterpretation of
existing structures with optional newly introduced fields can lead
to inconsistencies
(maybe, that should be in a separate changelist as well)?
Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
---
M src/kudu/common/common.proto
1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/22925/1
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 12 Jun 2025 05:16:48 +0000
Gerrit-HasComments: No
[kudu-CR] WIP [common] introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP [common] introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 1: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/1384/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 20 May 2025 20:30:41 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 3: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/1433/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 10 Jun 2025 03:12:31 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 4: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/1435/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 10 Jun 2025 08:43:15 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 4:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/1435/
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 10 Jun 2025 06:49:15 +0000
Gerrit-HasComments: No
[kudu-CR] WIP KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 2:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/1385/
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 21 May 2025 03:34:59 +0000
Gerrit-HasComments: No
[kudu-CR] WIP KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 2: Verified-1
Build Failed
http://jenkins.kudu.apache.org/job/pre_commit/1385/ : FAILURE
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 21 May 2025 03:39:45 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
KUDU-1261 introduce nested types for ColumnSchemaPB
This changelist introduces changes in the common protobuf structures
to allow for columns of nested data types in Kudu tables. At the time
of writing, we are planning to support only one-dimensional arrays
of scalar types as a first phase, but it's possible to extend the newly
introduced protobuf messages to support structures, maps, and type
nesting as necessary: I added TODOs in the comments.
Follow-up patches will start using the auto-generated bindings,
but this changelist is focused on introducing protobuf-related
changes only.
Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Reviewed-on: http://gerrit.cloudera.org:8080/22925
Tested-by: Alexey Serbin <al...@apache.org>
Reviewed-by: Abhishek Chennaka <ac...@cloudera.com>
---
M src/kudu/common/common.proto
1 file changed, 32 insertions(+), 0 deletions(-)
Approvals:
Alexey Serbin: Verified
Abhishek Chennaka: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] WIP [common] introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP [common] introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 1:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/1384/
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 20 May 2025 20:21:07 +0000
Gerrit-HasComments: No
[kudu-CR] WIP [common] introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP [common] introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 1:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto
File src/kudu/common/common.proto:
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto@63
PS1, Line 63: NESTED
> What are your thoughts on placing this ColumnTypeAttributesPB?
You meant placing some sort of field into ColumnTypeAttributesPB instead of this new NESTED enumerator?
So far I don't think ColumnTypeAttributesPB is a good place for this. This is a separate type descriptor, not an attribute of any particular scalar column type per se. It's also beneficial to have it here so servers of prior releases that don't support this type would be able to tell a type they aren't able to handle and error out with proper error status (Status::NotSupported or similar). One couldn't achieve the latter by just adding a new optional field into already existing protobuf message of ColumnTypeAttributesPB.
Also, with this new NESTED enumerator and newly introduced NestedDataType, it's possible to define nested arrays of any dimension (just uncomment the elem_descriptor field), and it's easy to extend NestedDataType for maps and structures, also allowing nesting. In this context, I don't see how already existing fields of ColumnTypeAttributesPB are relevant if using ColumnTypeAttributesPB instead of DataType in NestedDataType, at least for ArrayDescriptor.
So, I don't see benefits of putting a new field of similar meaning into ColumnTypeAttributesPB, but I might be missing something. Do you have anything particular in sight?
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 21 May 2025 00:31:33 +0000
Gerrit-HasComments: Yes
[kudu-CR] WIP KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22925
to look at the new patch set (#2).
Change subject: WIP KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
WIP KUDU-1261 introduce nested types for ColumnSchemaPB
This changelist introduces changes in the common protobuf structures
to allow for columns of nested data types in Kudu tables. At the time
of writing, we are planning to support only one-dimensional arrays
of scalar types as a first phase, but it's possible to extend the newly
introduced protobuf messages to support structures, maps, and type
nesting as necessary: I added TODOs in the comments.
Follow-up patches will start using the auto-generated bindings,
but this changelist is focused on introducing protobuf-related
changes only.
WIP:
* collect & address feedback
Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
---
M src/kudu/common/common.proto
1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/22925/2
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22925
to look at the new patch set (#4).
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
KUDU-1261 introduce nested types for ColumnSchemaPB
This changelist introduces changes in the common protobuf structures
to allow for columns of nested data types in Kudu tables. At the time
of writing, we are planning to support only one-dimensional arrays
of scalar types as a first phase, but it's possible to extend the newly
introduced protobuf messages to support structures, maps, and type
nesting as necessary: I added TODOs in the comments.
Follow-up patches will start using the auto-generated bindings,
but this changelist is focused on introducing protobuf-related
changes only.
Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
---
M src/kudu/common/common.proto
1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/22925/4
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has removed a vote on this change.
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Removed Verified-1 by Kudu Jenkins (120)
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] WIP KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 2:
(2 comments)
Thanks for the feedback!
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto
File src/kudu/common/common.proto:
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto@73
PS1, Line 73: add the '
> I guess we would be having some conditions in place to ensure this can't be
In the first phase with supporting one-dimensional array of scalar types only -- yes, there will be a check in the implementation to accept only a scalar data type for this field.
http://gerrit.cloudera.org:8080/#/c/22925/2/src/kudu/common/common.proto
File src/kudu/common/common.proto:
http://gerrit.cloudera.org:8080/#/c/22925/2/src/kudu/common/common.proto@152
PS2, Line 152: optional bytes read_default_value = 6;
: optional bytes write_default_value = 7;
> Any thoughts on how to extend these to array datatype? Are we using the sam
As I understand, there is no need to extend these since their format is universal. These are just bytes to interpret depending on the column type, and all the details of the interpretation are in the implementation, not in the interface. Both the server and the client sides will need to use the same convention of interpreting these for nested types -- the same as they do now.
However, since there isn't a contract explicitly expressed in the API, we will need to use feature flags to track incompatibilities between the server and the client side when adding support for multi-dimensional arrays and other nested types (i.e. maps & structures). As of 'scalar --> 1d scalar arrays' step now, it seems it's enough to have just the new NESTED enumerator to tell such an incompatibility.
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 21 May 2025 19:31:47 +0000
Gerrit-HasComments: Yes
[kudu-CR] WIP [common] introduce nested types for ColumnSchemaPB
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP [common] introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 1:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto
File src/kudu/common/common.proto:
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto@63
PS1, Line 63: NESTED
What are your thoughts on placing this ColumnTypeAttributesPB?
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 20 May 2025 23:58:08 +0000
Gerrit-HasComments: Yes
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 4: Verified+1
Unrelated test failures:
* DEBUG: python tests failed because of KUDU-3635
* TSAN: org.apache.kudu.client.TestKuduClient
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 10 Jun 2025 16:55:31 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 3:
Build Started http://jenkins.kudu.apache.org/job/pre_commit/1433/
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 10 Jun 2025 03:02:09 +0000
Gerrit-HasComments: No
[kudu-CR] KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22925
to look at the new patch set (#3).
Change subject: KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
KUDU-1261 introduce nested types for ColumnSchemaPB
This changelist introduces changes in the common protobuf structures
to allow for columns of nested data types in Kudu tables. At the time
of writing, we are planning to support only one-dimensional arrays
of scalar types as a first phase, but it's possible to extend the newly
introduced protobuf messages to support structures, maps, and type
nesting as necessary: I added TODOs in the comments.
Follow-up patches will start using the auto-generated bindings,
but this changelist is focused on introducing protobuf-related
changes only.
Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
---
M src/kudu/common/common.proto
1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/22925/3
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] WIP KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 2:
(3 comments)
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto
File src/kudu/common/common.proto:
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto@63
PS1, Line 63: NESTED
> You meant placing some sort of field into ColumnTypeAttributesPB instead of
Okay makes sense, agreed.
http://gerrit.cloudera.org:8080/#/c/22925/1/src/kudu/common/common.proto@73
PS1, Line 73: add the '
I guess we would be having some conditions in place to ensure this can't be declared as DataType NESTED, right?
http://gerrit.cloudera.org:8080/#/c/22925/2/src/kudu/common/common.proto
File src/kudu/common/common.proto:
http://gerrit.cloudera.org:8080/#/c/22925/2/src/kudu/common/common.proto@152
PS2, Line 152: optional bytes read_default_value = 6;
: optional bytes write_default_value = 7;
Any thoughts on how to extend these to array datatype? Are we using the same idea as detailed in the design https://gerrit.cloudera.org/#/c/22058 or any other way?
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 21 May 2025 19:08:10 +0000
Gerrit-HasComments: Yes
[kudu-CR] WIP KUDU-1261 introduce nested types for ColumnSchemaPB
Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/22925 )
Change subject: WIP KUDU-1261 introduce nested types for ColumnSchemaPB
......................................................................
Patch Set 2:
(1 comment)
Thanks for the explanation. I think the overall idea of defining a new NESTED DataType and a new message to store all the details of NestedDataType has enough room for extending the Complex Types in future.
http://gerrit.cloudera.org:8080/#/c/22925/2/src/kudu/common/common.proto
File src/kudu/common/common.proto:
http://gerrit.cloudera.org:8080/#/c/22925/2/src/kudu/common/common.proto@152
PS2, Line 152: optional bytes read_default_value = 6;
: optional bytes write_default_value = 7;
> As I understand, there is no need to extend these since their format is uni
Sounds good!
--
To view, visit http://gerrit.cloudera.org:8080/22925
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf5f32c4291e7906ffb68070bee0d5369fab36fd
Gerrit-Change-Number: 22925
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 21 May 2025 19:57:14 +0000
Gerrit-HasComments: Yes