[Bug]: Standardize the behavior of tableDef, Resolve, GetHidekey and their definitions
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Environment
- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
Confusion
Expected Behavior
No response
Steps to Reproduce
No response
Additional information
No response
The inteface of engine, TableDefs(), GetPrimaryKeys(), GetHideKeys() are unclear definition.Need to refactor its behavior, suggest adding TableColumns() to return the definition of all columns(mo_columns). Also show create table suggests using query mo_tables and mo_columns directly.
@nnsgmsone could u pls test it at the latest commit and update the issue status, thx
start to do it this week @aunjgr
Has discussed this with @ouyuanning and decided to start it after v0.6 is finished. The refactorization will involve many parts, so too dangerous to touch it now.
Redesign of TableDef has been finished. Separate constraints will be migrated one by one, and should be tracked by separate issues.
This one can be closed.