Github user karanmehta93 commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/329#discussion_r211797286
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/util/MetaDataUtil.java ---
@@ -303,6 +303,54 @@ public static long getSequenceNumber(List<Mutation>
tableMetaData) {
return getSequenceNumber(getPutOnlyTableHeaderRow(tableMetaData));
}
+ /**
+ * Returns the sequence number of the parent table if we have a
mutation that is updating the
+ * parent table's encoded column qualifier
+ */
+ public static long
getParentSequenceNumberForAddColumnMutations(List<Mutation> tableMetaData) {
+ byte[] parentTableRowKey = null;
+ for (Mutation tableMutation : tableMetaData) {
--- End diff --
I don't think we really need this.
---