Github user JamesRTaylor commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/127#discussion_r44853079
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java ---
@@ -313,7 +313,7 @@ public static int executeStatements(Connection conn,
Reader reader, List<Object>
*/
public static Iterator<Pair<byte[],List<KeyValue>>>
getUncommittedDataIterator(Connection conn, boolean includeMutableIndexes)
throws SQLException {
final PhoenixConnection pconn =
conn.unwrap(PhoenixConnection.class);
- final Iterator<Pair<byte[],List<Mutation>>> iterator =
pconn.getMutationState().toMutations(includeMutableIndexes);
+ final Iterator<Pair<byte[],List<Mutation>>> iterator =
pconn.getMutationState().toMutations(includeMutableIndexes, null);
--- End diff --
Overload toMutations if possible so null isn't required here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---