Peng-Lei commented on a change in pull request #32452:
URL: https://github.com/apache/spark/pull/32452#discussion_r628654588



##########
File path: 
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedColumnReader.java
##########
@@ -575,7 +575,8 @@ private void readIntBatch(int rowId, int num, 
WritableColumnVector column) throw
     // This is where we implement support for the valid type conversions.
     // TODO: implement remaining type conversions
     if (column.dataType() == DataTypes.IntegerType ||
-        canReadAsIntDecimal(column.dataType())) {
+        canReadAsIntDecimal(column.dataType()) ||
+        column.dataType() == DataTypes.YearMonthIntervalType) {

Review comment:
       just for testing purpose and allow writing out interval values.




-- 
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]



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

Reply via email to