Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
-
n/a
Description
HIVE-18659 added hive.acid.version in the file footer.
orcfiledump prints something like
User Metadata: hive.acid.key.index=1,536870912,1; hive.acid.stats=2,0,0 hive.acid.version=
probably because
public static void setAcidVersionInDataFile(Writer writer) { //so that we know which version wrote the file ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty buffer is written writer.addUserMetadata(ACID_VERSION_KEY, bf); }
use
UTF8.encode()) instead
Attachments
Attachments
Issue Links
- relates to
-
HIVE-18659 add acid version marker to acid files/directories
- Closed