marton-bod commented on code in PR #3131:
URL: https://github.com/apache/hive/pull/3131#discussion_r846087296
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java:
##########
@@ -50,10 +50,14 @@
RAWDATASIZE("RAW__DATA__SIZE", TypeInfoFactory.longTypeInfo),
/**
- * {@link org.apache.hadoop.hive.ql.io.RecordIdentifier}
+ * {@link org.apache.hadoop.hive.ql.io.RecordIdentifier}
*/
ROWID("ROW__ID", RecordIdentifier.StructInfo.typeInfo, true,
RecordIdentifier.StructInfo.oi),
ROWISDELETED("ROW__IS__DELETED", TypeInfoFactory.booleanTypeInfo),
+ PARTITION_SPEC_ID("PARTITION__SPEC__ID", TypeInfoFactory.intTypeInfo),
+ PARTITION_HASH("PARTITION__HASH", TypeInfoFactory.longTypeInfo),
+ FILE_PATH("FILE__PATH", TypeInfoFactory.stringTypeInfo),
+ ROW_POSITION("ROW__POSITION", TypeInfoFactory.longTypeInfo),
Review Comment:
The row number is obtained in the `OrcRecordUpdater`:
```
ByteBuffer val =
reader.getMetadataValue(OrcRecordUpdater.ACID_KEY_INDEX_NAME)
```
then the stripe metadata is deserialized and this contains the row number
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]