Skip to content

Commit

Permalink
rebase on master
Browse files Browse the repository at this point in the history
  • Loading branch information
jingz-db committed Mar 12, 2024
1 parent 767da96 commit 8aac855
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.spark.sql.streaming

import org.apache.spark.sql.KeyValueGroupedDataset
import org.apache.spark.sql.{Encoders, KeyValueGroupedDataset}
import org.apache.spark.sql.execution.streaming.MemoryStream
import org.apache.spark.sql.execution.streaming.state.{RocksDBStateStoreProvider, StateStoreMultipleColumnFamiliesNotSupportedException}
import org.apache.spark.sql.internal.SQLConf
Expand All @@ -35,7 +35,7 @@ class StatefulProcessorWithInitialStateTestClass extends StatefulProcessorWithIn
}

override def init(operatorOutputMode: OutputMode): Unit = {
_valState = getHandle.getValueState[Double]("testInit")
_valState = getHandle.getValueState[Double]("testInit", Encoders.scalaDouble)
}

override def close(): Unit = {}
Expand Down

0 comments on commit 8aac855

Please sign in to comment.