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

Beam JIRA Bot commented on BEAM-12484:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> JdbcIO date conversion is sensitive to OS
> -----------------------------------------
>
>                 Key: BEAM-12484
>                 URL: https://issues.apache.org/jira/browse/BEAM-12484
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-jdbc
>    Affects Versions: 2.30.0
>            Reporter: Anant Damle
>            Assignee: Pablo Estrada
>            Priority: P1
>              Labels: stale-assigned
>
> Time handling varies between OSes:
> for e.g.
> {code:java}
> // DB Init script
> CREATE TABLE SimpleFlatRecords
> (
>     id                    INTEGER AUTO_INCREMENT PRIMARY KEY,
>     birth_date            DATE
> );
> INSERT INTO SimpleFlatRecords(id, birth_date)
> VALUES (1, '2000-05-11'),
>        (2, '2001-06-12'),
>        (3, '2002-07-13');{code}
> The Beam Row contains different dates based on OS:
> MacOS:
> 1: '2000-05-10'
> 2: '2001-06-11'
> 3: '2002-07-12'
> Linux:
> 1: '2000-05-11'
> 2: '2001-06-12'
> 3: '2002-07-13'



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to