We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37832b commit a2fdd4eCopy full SHA for a2fdd4e
sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
@@ -252,7 +252,7 @@ trait Row extends Serializable {
252
*
253
* @throws ClassCastException when data type does not match.
254
*/
255
- def getDate(i: Int): java.sql.Date = DateUtils.toJavaDate(getInt(i))
+ def getDate(i: Int): java.sql.Date = apply(i).asInstanceOf[java.sql.Date]
256
257
/**
258
* Returns the value at position i of array type as a Scala Seq.
0 commit comments