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

Cannot parse timestamp with timezone #1787

Open
jvaesteves opened this issue Dec 30, 2020 · 1 comment
Open

Cannot parse timestamp with timezone #1787

jvaesteves opened this issue Dec 30, 2020 · 1 comment

Comments

@jvaesteves
Copy link

Hi
I am trying to use a timestamp column as the partition column, but when I try to parse it, I only receive dt=1970-01-01 as the result.

The value of the column is 2020-12-08T15:11:55.019-0300

And I tried the following:

  • Using DateMessageParser as parser.class, with input.pattern "yyyy-MM-dd'T'HH:mm:ss.SSSX" and "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
  • Using Iso8601MessageParser as parser.class
  • Using JsonMessageParser as parser.class (this one raised an Exception instead)
@HenryCaiHaiying
Copy link
Contributor

HenryCaiHaiying commented Dec 30, 2020 via email

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