-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Duration is not correctly deserialized with Property v2 default value #5615
Labels
Comments
loicmathieu
added a commit
that referenced
this issue
Oct 23, 2024
Fixes #5615 Since Jackson 2.10, to serialize duration as string we need to switch WRITE_DURATIONS_AS_TIMESTAMPS off as it no longuer use WRITE_DATES_AS_TIMESTAMPS. I tested and an old flow with a duration as timestamp is still readable so this is a backward compatible change.
loicmathieu
added a commit
that referenced
this issue
Oct 25, 2024
Fixes #5615 Since Jackson 2.10, to serialize duration as string we need to switch WRITE_DURATIONS_AS_TIMESTAMPS off as it no longuer use WRITE_DATES_AS_TIMESTAMPS. I tested and an old flow with a duration as timestamp is still readable so this is a backward compatible change.
loicmathieu
added a commit
that referenced
this issue
Oct 25, 2024
Fixes #5615 Since Jackson 2.10, to serialize duration as string we need to switch WRITE_DURATIONS_AS_TIMESTAMPS off as it no longuer use WRITE_DATES_AS_TIMESTAMPS. I tested and an old flow with a duration as timestamp is still readable so this is a backward compatible change.
loicmathieu
added a commit
that referenced
this issue
Oct 28, 2024
Fixes #5615 Since Jackson 2.10, to serialize duration as string we need to switch WRITE_DURATIONS_AS_TIMESTAMPS off as it no longuer use WRITE_DATES_AS_TIMESTAMPS. I tested and an old flow with a duration as timestamp is still readable so this is a backward compatible change. But for the State duration, we still need to serialize it as a number as the database expect a number
MilosPaunovic
pushed a commit
that referenced
this issue
Nov 4, 2024
Fixes #5615 Since Jackson 2.10, to serialize duration as string we need to switch WRITE_DURATIONS_AS_TIMESTAMPS off as it no longuer use WRITE_DATES_AS_TIMESTAMPS. I tested and an old flow with a duration as timestamp is still readable so this is a backward compatible change. But for the State duration, we still need to serialize it as a number as the database expect a number
loicmathieu
added a commit
that referenced
this issue
Nov 25, 2024
loicmathieu
added a commit
that referenced
this issue
Nov 25, 2024
loicmathieu
added a commit
that referenced
this issue
Nov 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
When testing the plugin Azure Datafactory locally I am able to run it when the duration property are set in the flow.
But I am getting a de-serialization issue when using the default properties.
Here's the PR with the code causing issue : PR
Here's some videos example of the issue :
Here's the stack trace :
Environment
The text was updated successfully, but these errors were encountered: