Skip to content

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

@yhilmare

Description

@yhilmare

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
Reopen

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions