Skip to content

[Bug]: FlinkSQL的一部分内置时间函数在使用时,不需要加括号就能直接作为函数使用,但是部分飘红,部分不飘红 #398

@Cythia828

Description

@Cythia828

Version

lasted

Which SQL?

Flink

SQL content

SELECT LOCALTIMESTAMP as time1 from MyTable;

SELECT CURRENT_TIMESTAMP as time1 from MyTable;

JavaScript/TypeScript code

What happened?

  • 现象
Image - flink官方文档 Image - flink链接

https://nightlies.apache.org/flink/flink-docs-release-1.16/zh/docs/dev/table/functions/systemfunctions/#%E6%97%B6%E9%97%B4%E5%87%BD%E6%95%B0

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