Github user maropu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19999#discussion_r157337791
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCRelation.scala
 ---
    @@ -99,6 +103,16 @@ private[sql] object JDBCRelation extends Logging {
         }
         ans.toArray
       }
    +
    +  def getCurrentValue(columnType: Int, value: Long): String = {
    --- End diff --
    
    Probably, you can use `DateTimeUtils` to convert `currnetValue` to 
timestamp/date.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to