MaxGekk commented on a change in pull request #28016:
[SPARK-31238][SQL][test-hive1.2] Rebase dates to/from Julian calendar in
write/read for ORC datasource
URL: https://github.com/apache/spark/pull/28016#discussion_r398451223
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DaysWritable.scala
##########
@@ -35,11 +35,12 @@ import
org.apache.spark.sql.catalyst.util.DateTimeUtils.{rebaseGregorianToJulian
* @param julianDays The number of days since the epoch 1970-01-01 in
* Julian calendar.
*/
-private[hive] class DaysWritable(
+class DaysWritable(
var gregorianDays: Int,
var julianDays: Int)
extends DateWritable {
Review comment:
I cloned `DaysWritable` for Hive ORC v1.2, and added a comment to the cloned
class.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]