Min Zhao created SPARK-44627:
--------------------------------

             Summary: 
org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils#resultSetToRows 
produces wrong data
                 Key: SPARK-44627
                 URL: https://issues.apache.org/jira/browse/SPARK-44627
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.3.1, 2.3.2
            Reporter: Min Zhao


when the resultSet exists a timestmp column and it's value is null, In the row 
it generates, this column will use the value of the same column in the previous 
row. 

example:

the value of resultSet

1, 2023-01-01 12:00:00

2, null

 

the value of row

1, 2023-01-01 12:00:00

2, 2023-01-01 12:00:00

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to