Abhishek Chennaka has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/23570 )
Change subject: KUDU-1261 [Java] Add array column support in AlterTableOptions ...................................................................... KUDU-1261 [Java] Add array column support in AlterTableOptions Added new methods addNullableArrayColumn() to AlterTableOptions to allow adding array-type columns to existing tables. These methods handle both basic and attribute-based array types (e.g., DECIMAL, VARCHAR) safely without direct use of Type.NESTED. Updated addNullableColumn()/addColumn() to reject nested types with a clear message. Introduced testAlterAddArrayColumns() to verify schema creation, mixed-null array insertion, and data retrieval. Change-Id: I22892e1a181f487d3146b1819a5cb0ea56579403 Reviewed-on: http://gerrit.cloudera.org:8080/23570 Tested-by: Abhishek Chennaka <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M java/kudu-client/src/main/java/org/apache/kudu/client/AlterTableOptions.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestAlterTable.java 2 files changed, 158 insertions(+), 0 deletions(-) Approvals: Abhishek Chennaka: Verified Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/23570 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I22892e1a181f487d3146b1819a5cb0ea56579403 Gerrit-Change-Number: 23570 Gerrit-PatchSet: 5 Gerrit-Owner: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
