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

Athena date_parse error - malformed error #17

Open
satishrandive opened this issue May 12, 2022 · 0 comments
Open

Athena date_parse error - malformed error #17

satishrandive opened this issue May 12, 2022 · 0 comments

Comments

@satishrandive
Copy link

hi,

Can someone please assist to resolve following error -

An error occurred while loading the data.
[Simba]AthenaJDBC An error has been thrown from the AWS Athena client. INVALID_FUNCTION_ARGUMENT: Invalid format: "04-apr-2022" is malformed at "apr-2022"

I am trying to convert the string to date format

sample string -
16-apr-2022
10-may-2022
06-apr-2022

code ( used in select clause)- date_parse("date_string"."date",'%d-%m-%y') as New_date

Thank you

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

1 participant