[feature](struct-type) add children column when create table #15089
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.
Proposed changes
2022-12-15 10:38:06,485 INFO (agent-task-pool-0|128) [CreateReplicaTask.toThrift():198] column.getName()=s1, column.getType()=STRUCTf1:text,f2:bigint(20)
2022-12-15 10:38:06,485 INFO (agent-task-pool-0|128) [Column.toThrift():379] this.getDataType()=STRUCT, this.getType()=STRUCTf1:text,f2:bigint(20)
2022-12-15 10:38:06,486 INFO (agent-task-pool-0|128) [Column.toThrift():395] tColumn.getChildrenColumnSize()=2
2022-12-15 10:38:06,486 INFO (agent-task-pool-0|128) [CreateReplicaTask.toThrift():210] tColumn.getChildrenColumnSize()=2
2022-12-15 10:38:06,486 DEBUG (agent-task-pool-0|128) [AgentBatchTask.toAgentTaskRequest():200] TCreateTabletReq(tablet_id:695159, tablet_schema:TTabletSchema(short_key_column_count:1, schema_hash:1384684757, keys_type:DUP_KEYS, storage_type:COLUMN, columns:[TColumn(column_name:id, column_type:TColumnType(type:BIGINT, len:-1, index_len:8, precision:0, scale:0), is_key:true, is_allow_null:true, visible:true, col_unique_id:-1), TColumn(column_name:s1, column_type:TColumnType(type:STRUCT, len:-1, index_len:24, precision:-1, scale:-1), aggregation_type:NONE, is_key:false, is_allow_null:true, visible:true, children_column:[TColumn(column_name:field, column_type:TColumnType(type:STRING, len:2147483643, index_len:20, precision:0, scale:0), aggregation_type:NONE, is_allow_null:false), TColumn(column_name:field, column_type:TColumnType(type:BIGINT, len:-1, index_len:8, precision:0, scale:0), aggregation_type:NONE, is_allow_null:false)], col_unique_id:-1)], is_in_memory:false, delete_sign_idx:-1, sequence_col_idx:-1, sort_type:LEXICAL, sort_col_num:1, disable_auto_compaction:false), version:1, storage_medium:HDD, table_id:695157, partition_id:695156, storage_format:V2, tablet_type:TABLET_TYPE_DISK, compression_type:LZ4F, replica_id:695160, storage_policy:, enable_unique_key_merge_on_write:false)
2022-12-15 10:38:06,495 DEBUG (agent-task-pool-0|128) [AgentBatchTask.run():171] send task: type[CREATE], backend[10003], signature[695159]
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...