Skip to content

Commit

Permalink
log StateSourceOptions optionally
Browse files Browse the repository at this point in the history
  • Loading branch information
eason-yuchen-liu committed Jun 13, 2024
1 parent 20e1b9c commit 4d4cd70
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ case class StateSourceOptions(

override def toString: String = {
s"StateSourceOptions(checkpointLocation=$resolvedCpLocation, batchId=$batchId, " +
s"operatorId=$operatorId, storeName=$storeName, joinSide=$joinSide, " +
s"snapshotStartBatchId=$snapshotStartBatchId, snapshotPartitionId=$snapshotPartitionId)"
s"operatorId=$operatorId, storeName=$storeName, joinSide=$joinSide" +
snapshotStartBatchId.map(", snapshotStartBatchId=" + _).getOrElse("") +
snapshotPartitionId.map(", snapshotPartitionId=" + _).getOrElse("") + ")"
}
}

Expand Down

0 comments on commit 4d4cd70

Please sign in to comment.