[jira] [Commented] (BEAM-5530) Migrate to java.time lib instead of joda-time

2020-06-01 Thread Beam JIRA Bot (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17123129#comment-17123129
 ] 

Beam JIRA Bot commented on BEAM-5530:
-

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> Migrate to java.time lib instead of joda-time
> -
>
> Key: BEAM-5530
> URL: https://issues.apache.org/jira/browse/BEAM-5530
> Project: Beam
>  Issue Type: Improvement
>  Components: dependencies, sdk-java-core
>Reporter: Alexey Romanenko
>Priority: P2
>  Labels: stale-P2
> Fix For: 3.0.0
>
>
> Joda-time has been used till moving to Java 8. For now, these two time 
> libraries are used together. It will make sense finally to move everywhere to 
> only one lib - *java.time* - as a standard Java time library (see mail list 
> discussion: 
> [https://lists.apache.org/thread.html/b10f6f9daed44f5fa65e315a44b68b2f57c3e80225f5d549b84918af@%3Cdev.beam.apache.org%3E]).
>  
> Since this migration will introduce breaking API changes, then we should 
> address it to 3.0 release.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-5530) Migrate to java.time lib instead of joda-time

2020-03-05 Thread Luke Cwik (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17052387#comment-17052387
 ] 

Luke Cwik commented on BEAM-5530:
-

We don't need to map to joda time internally, we just have to ensure the 
encoding hasn't changed which means that we have to maintain millis only level 
of time precision and report an error if the timestamp requires finer 
granularity.

> Migrate to java.time lib instead of joda-time
> -
>
> Key: BEAM-5530
> URL: https://issues.apache.org/jira/browse/BEAM-5530
> Project: Beam
>  Issue Type: Improvement
>  Components: dependencies, sdk-java-core
>Reporter: Alexey Romanenko
>Priority: Major
> Fix For: 3.0.0
>
>
> Joda-time has been used till moving to Java 8. For now, these two time 
> libraries are used together. It will make sense finally to move everywhere to 
> only one lib - *java.time* - as a standard Java time library (see mail list 
> discussion: 
> [https://lists.apache.org/thread.html/b10f6f9daed44f5fa65e315a44b68b2f57c3e80225f5d549b84918af@%3Cdev.beam.apache.org%3E]).
>  
> Since this migration will introduce breaking API changes, then we should 
> address it to 3.0 release.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-5530) Migrate to java.time lib instead of joda-time

2020-03-05 Thread Jira


[ 
https://issues.apache.org/jira/browse/BEAM-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17052158#comment-17052158
 ] 

Ismaël Mejía commented on BEAM-5530:


We can start to provide alternative methods for all of time uses of 
`sdks/java/core` based on java time as a path towards removal. This way we can 
then then start deprecating the Joda Time methods. WDYT ?
Extra comment I suppose we should map then internally towards Joda to avoid 
breaking backwards compatibility for the Coders, is this correct [~lcwik] or 
can we avoid that part?

> Migrate to java.time lib instead of joda-time
> -
>
> Key: BEAM-5530
> URL: https://issues.apache.org/jira/browse/BEAM-5530
> Project: Beam
>  Issue Type: Improvement
>  Components: dependencies, sdk-java-core
>Reporter: Alexey Romanenko
>Priority: Major
> Fix For: 3.0.0
>
>
> Joda-time has been used till moving to Java 8. For now, these two time 
> libraries are used together. It will make sense finally to move everywhere to 
> only one lib - *java.time* - as a standard Java time library (see mail list 
> discussion: 
> [https://lists.apache.org/thread.html/b10f6f9daed44f5fa65e315a44b68b2f57c3e80225f5d549b84918af@%3Cdev.beam.apache.org%3E]).
>  
> Since this migration will introduce breaking API changes, then we should 
> address it to 3.0 release.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-5530) Migrate to java.time lib instead of joda-time

2019-09-05 Thread Luke Cwik (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923892#comment-16923892
 ] 

Luke Cwik commented on BEAM-5530:
-

One advantage with jodatime is that the TZDB is typically updated more often 
and you don't have to wait for a JVM release or muck with the JVM installation 
to get an update TZDB.

Once custom containers are used for the Java SDK everywhere, this point will be 
moot because then anybody will be able to roll their own container containing 
an updated TZDB,

> Migrate to java.time lib instead of joda-time
> -
>
> Key: BEAM-5530
> URL: https://issues.apache.org/jira/browse/BEAM-5530
> Project: Beam
>  Issue Type: Improvement
>  Components: dependencies
>Reporter: Alexey Romanenko
>Priority: Major
> Fix For: 3.0.0
>
>
> Joda-time has been used till moving to Java 8. For now, these two time 
> libraries are used together. It will make sense finally to move everywhere to 
> only one lib - *java.time* - as a standard Java time library (see mail list 
> discussion: 
> [https://lists.apache.org/thread.html/b10f6f9daed44f5fa65e315a44b68b2f57c3e80225f5d549b84918af@%3Cdev.beam.apache.org%3E]).
>  
> Since this migration will introduce breaking API changes, then we should 
> address it to 3.0 release.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)