You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "danhuawang (via GitHub)" <gi...@apache.org> on 2026/01/12 08:04:21 UTC
[I] [Bug report] Wrong validation message for auto-increment column [gravitino]
danhuawang opened a new issue, #9680:
URL: https://github.com/apache/gravitino/issues/9680
### Version
main branch
### Describe what's wrong
<img width="1415" height="796" alt="Image" src="https://github.com/user-attachments/assets/8d8ae188-a976-488b-a7ed-2840d635c8b4" />
### Error message and/or stacktrace
The table api support the table loaded. But the UI validate failed.
http://192.168.194.249:8090/api/metalakes/test/catalogs/catalog_mysql/schemas/gravitino/tables/user_role_rel?_t=1768204714553
```
{
"code": 0,
"table": {
"name": "user_role_rel",
"comment": "user role relation",
"columns": [
{
"name": "id",
"type": "long unsigned",
"comment": "auto increment id",
"nullable": false,
"autoIncrement": true
},
{
"name": "user_id",
"type": "long unsigned",
"comment": "user id",
"nullable": false,
"autoIncrement": false
},
{
"name": "role_id",
"type": "long unsigned",
"comment": "role id",
"nullable": false,
"autoIncrement": false
},
{
"name": "audit_info",
"type": {
"type": "external",
"catalogString": "MEDIUMTEXT"
},
"comment": "relation audit info",
"nullable": false,
"autoIncrement": false
},
{
"name": "current_version",
"type": "integer unsigned",
"comment": "relation current version",
"nullable": false,
"autoIncrement": false,
"defaultValue": {
"type": "literal",
"dataType": "integer unsigned",
"value": "1"
}
},
{
"name": "last_version",
"type": "integer unsigned",
"comment": "relation last version",
"nullable": false,
"autoIncrement": false,
"defaultValue": {
"type": "literal",
"dataType": "integer unsigned",
"value": "1"
}
},
{
"name": "deleted_at",
"type": "long unsigned",
"comment": "relation deleted at",
"nullable": false,
"autoIncrement": false,
"defaultValue": {
"type": "literal",
"dataType": "long unsigned",
"value": "0"
}
}
],
"properties": {
"engine": "InnoDB"
},
"audit": {},
"distribution": {
"strategy": "none",
"number": 0,
"funcArgs": []
},
"sortOrders": [],
"partitioning": [],
"indexes": [
{
"indexType": "PRIMARY_KEY",
"name": "PRIMARY",
"fieldNames": [
[
"id"
]
]
},
{
"indexType": "UNIQUE_KEY",
"name": "uk_ui_ri_del",
"fieldNames": [
[
"user_id"
],
[
"role_id"
],
[
"deleted_at"
]
]
}
]
}
}
```
### How to reproduce
1. Open the UI
2. register the gravitino db as a mysql catalog
3. load a existed table "user_role_rel" in gravitino db,
4. click the table's edit button
### Additional context
_No response_
--
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: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug report] Wrong validation message for auto-increment column [gravitino]
Posted by "LauraXia123 (via GitHub)" <gi...@apache.org>.
LauraXia123 closed issue #9680: [Bug report] Wrong validation message for auto-increment column
URL: https://github.com/apache/gravitino/issues/9680
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug report] Wrong validation message for auto-increment column [gravitino]
Posted by "LauraXia123 (via GitHub)" <gi...@apache.org>.
LauraXia123 commented on issue #9680:
URL: https://github.com/apache/gravitino/issues/9680#issuecomment-3748327281
<img width="2156" height="1432" alt="Image" src="https://github.com/user-attachments/assets/c8190e1c-b53e-4aaa-aa37-94931b38c786" />
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug report] Wrong validation message for auto-increment column [gravitino]
Posted by "danhuawang (via GitHub)" <gi...@apache.org>.
danhuawang commented on issue #9680:
URL: https://github.com/apache/gravitino/issues/9680#issuecomment-3741835529
@LauraXia123
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org