Skip to content

[Bug]: The sql statement generated by the shadow table task does not put quotes on the default field #2379

@tonghan-gsh

Description

@tonghan-gsh

ODC version

ODC424bp1

OB version

~

What happened?

create table test_char(`col12` char(10) NOT NULL DEFAULT '中文字段' COMMENT '第十二列');

sql statements generated by the shadow table task:

create table test_char(`col12` char(10) NOT NULL DEFAULT  中文字段  COMMENT '第十二列');

What did you expect to happen?

Execution report syntax error.

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

Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions