Skip to content

Commit

Permalink
Reorder PhoenixMergeSink constructor params
Browse files Browse the repository at this point in the history
Follow the params order in the `JdbcPageSink`
  • Loading branch information
chenjian2664 committed Sep 4, 2024
1 parent 8be6961 commit 7a7fdc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public class PhoenixMergeSink
private final ConnectorPageSink deleteSink;

public PhoenixMergeSink(
PhoenixClient phoenixClient,
RemoteQueryModifier remoteQueryModifier,
ConnectorSession session,
ConnectorMergeTableHandle mergeHandle,
PhoenixClient phoenixClient,
ConnectorPageSinkId pageSinkId,
RemoteQueryModifier remoteQueryModifier,
QueryBuilder queryBuilder)
{
PhoenixMergeTableHandle phoenixMergeTableHandle = (PhoenixMergeTableHandle) mergeHandle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ public ConnectorPageSink createPageSink(ConnectorTransactionHandle transactionHa
@Override
public ConnectorMergeSink createMergeSink(ConnectorTransactionHandle transactionHandle, ConnectorSession session, ConnectorMergeTableHandle mergeHandle, ConnectorPageSinkId pageSinkId)
{
return new PhoenixMergeSink(jdbcClient, remoteQueryModifier, session, mergeHandle, pageSinkId, queryBuilder);
return new PhoenixMergeSink(session, mergeHandle, jdbcClient, pageSinkId, remoteQueryModifier, queryBuilder);
}
}

0 comments on commit 7a7fdc1

Please sign in to comment.