You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "FANNG1 (via GitHub)" <gi...@apache.org> on 2025/01/08 08:23:54 UTC
[I] [Bug report] force drop catalog failed for model table not exists [gravitino]
FANNG1 opened a new issue, #6157:
URL: https://github.com/apache/gravitino/issues/6157
### Version
main branch
### Describe what's wrong
force drop catalog failed
### Error message and/or stacktrace
```
"Caused by: org.apache.ibatis.exceptions.PersistenceException: ",
"### Error updating database. Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table \"MODEL_VERSION_ALIAS_REL\" not found; SQL statement:",
"UPDATE model_version_alias_rel SET deleted_at = (UNIX_TIMESTAMP() * 1000.0) + EXTRACT(MICROSECOND FROM CURRENT_TIMESTAMP(3)) / 1000 WHERE model_id IN ( SELECT model_id FROM model_meta WHERE schema_id = ? AND deleted_at = 0) AND deleted_at = 0 [42102-200]",
"### The error may exist in org/apache/gravitino/storage/relational/mapper/ModelVersionAliasRelMapper.java (best guess)",
"### The error may involve org.apache.gravitino.storage.relational.mapper.ModelVersionAliasRelMapper.softDeleteModelVersionAliasRelsBySchemaId",
"### The error occurred while executing an update",
"### SQL: UPDATE model_version_alias_rel SET deleted_at = (UNIX_TIMESTAMP() * 1000.0) + EXTRACT(MICROSECOND FROM CURRENT_TIMESTAMP(3)) / 1000 WHERE model_id IN ( SELECT model_id FROM model_meta WHERE schema_id = ? AND deleted_at = 0) AND deleted_at = 0",
"### Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table \"MODEL_VERSION_ALIAS_REL\" not found; SQL statement:",
"UPDATE model_version_alias_rel SET deleted_at = (UNIX_TIMESTAMP() * 1000.0) + EXTRACT(MICROSECOND FROM CURRENT_TIMESTAMP(3)) / 1000 WHERE model_id IN ( SELECT model_id FROM model_meta WHERE schema_id = ? AND deleted_at = 0) AND deleted_at = 0 [42102-200]",
```
### How to reproduce
In my local enviroment, I had setup some catalogs in old Gravitino versions, when I try to force drop the catalog, the error happens.
### 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] force drop catalog failed for model table not exists [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on issue #6157:
URL: https://github.com/apache/gravitino/issues/6157#issuecomment-2577246833
I think you should update the table schema to create new tables for model support, right?
--
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] force drop catalog failed for model table not exists [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 closed issue #6157: [Bug report] force drop catalog failed for model table not exists
URL: https://github.com/apache/gravitino/issues/6157
--
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] force drop catalog failed for model table not exists [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on issue #6157:
URL: https://github.com/apache/gravitino/issues/6157#issuecomment-2577275879
yes, we should update the storage layout when update new versions
--
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