pvary commented on a change in pull request #1095:
URL: https://github.com/apache/hive/pull/1095#discussion_r439065148
##########
File path: ql/src/test/org/apache/hadoop/hive/ql/TestTxnAddPartition.java
##########
@@ -102,14 +102,14 @@ private void addPartition(boolean isVectorized) throws
Exception {
String testQuery = isVectorized ? "select ROW__ID, p, a, b from T order by
p, ROW__ID" :
"select ROW__ID, p, a, b, INPUT__FILE__NAME from T order by p,
ROW__ID";
String[][] expected = new String[][]{
- {"{\"writeid\":1,\"bucketid\":536870912,\"rowid\":0}\t0\t0\t2",
- "warehouse/t/p=0/delta_0000001_0000001_0000/000000_0"},
- {"{\"writeid\":1,\"bucketid\":536870912,\"rowid\":1}\t0\t0\t4",
- "warehouse/t/p=0/delta_0000001_0000001_0000/000000_0"},
- {"{\"writeid\":1,\"bucketid\":536870912,\"rowid\":0}\t1\t0\t2",
- "warehouse/t/p=1/delta_0000001_0000001_0000/000000_0"},
- {"{\"writeid\":1,\"bucketid\":536870912,\"rowid\":1}\t1\t0\t4",
- "warehouse/t/p=1/delta_0000001_0000001_0000/000000_0"}};
+ {"{\"writeid\":2,\"bucketid\":536870912,\"rowid\":0}\t0\t0\t2",
Review comment:
I think this is an issue here: Why is the first delta is with writeId =
2?
----------------------------------------------------------------
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]