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

日期函数使用错误 #803

Open
jd-zhang opened this issue Jul 11, 2022 · 0 comments
Open

日期函数使用错误 #803

jd-zhang opened this issue Jul 11, 2022 · 0 comments

Comments

@jd-zhang
Copy link
Contributor

*Issue migrated from trac ticket # 892 www.kunlunbase.com *

component: computing nodes | priority: major

2022-07-11 13:57:32: vito@zettadb.com created the issue


sql:
drop table if exists t1, t2;
create table t1 (f1 int);
create table t2 (f2 int, f3 numeric(8));
insert into t1 values (1), (2);
insert into t2 values (1,20050101), (2,20050202);
select str_to_date(concat(f3),'%Y%m%d') from t1,t2 where f1=f2 order by f1;

ERROR 1305 (42000): function str_to_date(text, unknown) does not existHINT:  No function matches the given name and argument types. You might need to add explicit type casts.
 at character: 8

FILE:  parse_func.c      LINE: 615      FUNCTION:  ParseFuncOrColumn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant