cloud-fan 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_r398329137
##########
File path:
sql/core/v1.2/src/main/java/org/apache/spark/sql/execution/datasources/orc/OrcColumnVector.java
##########
@@ -130,7 +138,13 @@ public short getShort(int rowId) {
@Override
public int getInt(int rowId) {
- return (int) longData.vector[getRowIndex(rowId)];
+ int index = getRowIndex(rowId);
+ int value = (int) longData.vector[index];
Review comment:
nit: `int value = (int) longData.vector[getRowIndex(rowId)];`
----------------------------------------------------------------
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]