odc icon indicating copy to clipboard operation
odc copied to clipboard

[Bug]: can not recognize the partition key's data type on mysql mode

Open yhilmare opened this issue 1 year ago • 3 comments

ODC version

4.3.1

OB version

not related

What happened?

  1. create a partition table:
create table test_tbl1(
    id bigint,
    CREATE_TIME datetime
) partition by range columns(create_time) (
    partition p202407 values less than('2024-07-25 00:00:00')
);

as you can see the partition key reference a column but the case is different which is valid for mysql mode

  1. attempt to start up a partition plan 截屏2024-07-25 15 47 54

as you can see, the datatype is wrong for the table.

What did you expect to happen?

recognize the datatype correctly~

How can we reproduce it (as minimally and precisely as possible)?

follow what happened

Anything else we need to know?

No response

yhilmare avatar Jul 25 '24 07:07 yhilmare

pass

tonghan-gsh avatar Jul 30 '24 12:07 tonghan-gsh

image The datetime type is still recognized as varchar

tonghan-gsh avatar Aug 19 '24 08:08 tonghan-gsh

It will be resolved in version 4.3.4

guowl3 avatar Dec 18 '24 13:12 guowl3