Skip to content

[Bug]: Flink insert values() 语法中不支持函数 #442

@Cythia828

Description

@Cythia828

Version

last

Which SQL?

Flink

SQL content

INSERT INTO SR_CATALOG.DEMOS.DETAIL_DEMO VALUES(2, 'YY', 2, NOW(), func(), CURRENT_DATE);

JavaScript/TypeScript code

What happened?

  • 从以下4张图可以看出,内置时间函数本身在项目内部是支持的,但是我们 INSERT... VALUES()语法里VALUES括号里面不支持函数
Image Image Image Image

所以我们需要在VALUES()括号内部支持函数写法

Relevant log output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions