Skip to content

Commit

Permalink
renaming variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ericm-db committed May 22, 2024
1 parent 76aa1d0 commit 005dbea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,17 @@ case class StateMetadataTableEntry(
numPartitions: Int,
minBatchId: Long,
maxBatchId: Long,
operatorProperties: String,
operatorPropertiesJson: String,
numColsPrefixKey: Int) {
def toRow(): InternalRow = {

new GenericInternalRow(
Array[Any](operatorId,
UTF8String.fromString(operatorName),
UTF8String.fromString(stateStoreName),
numPartitions,
minBatchId,
maxBatchId,
UTF8String.fromString(operatorProperties),
UTF8String.fromString(operatorPropertiesJson),
numColsPrefixKey
))
}
Expand Down Expand Up @@ -226,7 +225,7 @@ class StateMetadataPartitionReader(
stateStoreMetadata.numPartitions,
if (batchIds.nonEmpty) batchIds.head else -1,
if (batchIds.nonEmpty) batchIds.last else -1,
v2.operatorProperties,
v2.operatorPropertiesJson,
stateStoreMetadata.numColsPrefixKey
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ object OperatorProperties {
case class OperatorStateMetadataV2(
operatorInfo: OperatorInfoV1,
stateStoreInfo: Array[StateStoreMetadataV1],
operatorProperties: String) extends OperatorStateMetadata {
operatorPropertiesJson: String) extends OperatorStateMetadata {
override def version: Int = 2
}

Expand Down

0 comments on commit 005dbea

Please sign in to comment.