matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.76k stars 273 forks source link

[Bug]: design table in navicat doesn't work #10281

Closed dengn closed 1 year ago

dengn commented 1 year ago

Is there an existing issue for the same bug?

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

In navicat, users usually use design table to modify table structures.

image

But this has two issues:

  1. we get an error of partitition doesn't exist issue. The cause is this SQL doesn't work.
    SELECT TABLE_NAME, PARTITION_NAME, SUBPARTITION_NAME, PARTITION_METHOD, SUBPARTITION_METHOD, PARTITION_EXPRESSION, SUBPARTITION_EXPRESSION, PARTITION_DESCRIPTION, PARTITION_COMMENT, NODEGROUP, TABLESPACE_NAME FROM information_schema.PARTITIONS WHERE NOT ISNULL(PARTITION_NAME) AND TABLE_SCHEMA LIKE 'eladmin' AND TABLE_NAME LIKE 'sys_job' ORDER BY TABLE_NAME, PARTITION_NAME, PARTITION_ORDINAL_POSITION, SUBPARTITION_ORDINAL_POSITION
  2. any operation is blocked afterwards. we cann't click on any column and do anything on it. image

This is blocking usage of any alter table function.

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

domingozhang commented 1 year ago

will be fixed in next release

daviszhen commented 1 year ago

0.8来不及了。

daviszhen commented 1 year ago

下一个迭代

dengn commented 1 year ago

customer test replied on this fix.

qingxinhome commented 1 year ago

The issue has been confirmed

qingxinhome commented 1 year ago

Processing

dengn commented 1 year ago

@lacrimosaprinz This fix will affect information_schema related doc, please refer to this PR https://github.com/matrixorigin/matrixone/pull/10330 for more details.

qingxinhome commented 1 year ago

Code review in progress

qingxinhome commented 1 year ago

Code review in progress

qingxinhome commented 1 year ago

Code review in progress

qingxinhome commented 1 year ago

In research and design

qingxinhome commented 1 year ago

In research and design

qingxinhome commented 1 year ago

Code review in progress

qingxinhome commented 1 year ago

To begin

qingxinhome commented 1 year ago

I haven't started yet

qingxinhome commented 1 year ago

I haven't started yet

qingxinhome commented 1 year ago

not working on it

qingxinhome commented 1 year ago

not working on it

qingxinhome commented 1 year ago

The partition table system view function has been implemented, please verify and test it @dengn @domingozhang @daviszhen

dengn commented 1 year ago

fixed.