Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ericm-db committed Dec 27, 2024
1 parent 2af87b2 commit cd4d1ff
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1129,15 +1129,13 @@ class AvroStateEncoder(

override def decodeValue(bytes: Array[Byte]): UnsafeRow = {
val schemaIdRow = decodeStateSchemaIdRow(bytes)
logError(s"### schemaId: ${schemaIdRow.schemaId}, currentSchemaId: ${currentValSchemaId}")
val writerSchema = stateSchemaBroadcast.get.getSchemaMetadataValue(
StateSchemaMetadataKey(
getColFamilyName,
schemaIdRow.schemaId,
isKey = false
)
)
logError(s"### writerSchema: ${writerSchema.avroSchema}, readerSchema: ${valueAvroType}")
decodeFromAvroToUnsafeRow(
schemaIdRow.bytes,
avroEncoder.valueDeserializer,
Expand Down

0 comments on commit cd4d1ff

Please sign in to comment.