davidyuan1223 commented on PR #5023:
URL: https://github.com/apache/paimon/pull/5023#issuecomment-2647732701
@Zouxxyy hello, wanna ask a question, if we load create table with defalt
value's logical plan, the default filed should put in where? In fields?
```json
{
"version" : 3,
"id" : 0,
"fields" : [ {
"id" : 0,
"name" : "id",
"type" : "INT"
}, {
"id" : 1,
"name" : "t1",
"type" : "INT"
}, {
"id" : 2,
"name" : "t2",
"type" : "INT"
} ],
"highestFieldId" : 2,
"partitionKeys" : [ ],
"primaryKeys" : [ ],
"options" : {
"owner" : "fuyuanyuan"
},
"timeMillis" : 1739187234928
}
```
like this?
```json
{
"version" : 3,
"id" : 0,
"fields" : [ {
"id" : 0,
"name" : "id",
"type" : "INT",
"default": "1"
}, {
"id" : 1,
"name" : "t1",
"type" : "INT",
"default": null,
}, {
"id" : 2,
"name" : "t2",
"type" : "INT",
"default": "2"
} ],
"highestFieldId" : 2,
"partitionKeys" : [ ],
"primaryKeys" : [ ],
"options" : {
"owner" : "fuyuanyuan"
},
"timeMillis" : 1739187234928
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]