Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql解析失败:v_date_desc::date - max(access_time)::date #4221

Closed
Galthen opened this issue Apr 2, 2021 · 0 comments
Closed

postgresql解析失败:v_date_desc::date - max(access_time)::date #4221

Galthen opened this issue Apr 2, 2021 · 0 comments
Milestone

Comments

@Galthen
Copy link

Galthen commented Apr 2, 2021

select v_date_desc::date - max(access_time)::date from table1;
解析错误:syntax error, error in :'- max(access_time)::date from table1, pos 45, line 1, column 44, token ::

select v_date_desc::date - (max(access_time))::date from table1;
解析成功。

@wenshao wenshao added this to the 1.2.6 milestone Apr 2, 2021
@wenshao wenshao closed this as completed in 24eb08e Apr 2, 2021
wenshao added a commit that referenced this issue Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants