File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
main/scala/org/apache/spark/sql/execution/streaming/state
test/scala/org/apache/spark/sql/streaming Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -72,18 +72,11 @@ object ColumnFamilySchemaV1 {
7272 assert(colFamilyMap.isInstanceOf [Map [_, _]],
7373 s " Expected Map but got ${colFamilyMap.getClass}" )
7474 val keySchema = StructType .fromString(colFamilyMap(" keySchema" ).asInstanceOf [String ])
75- <<<<<<< HEAD
7675 val valueSchema = StructType .fromString(colFamilyMap(" valueSchema" ).asInstanceOf [String ])
7776 ColumnFamilySchemaV1 (
7877 colFamilyMap(" columnFamilyName" ).asInstanceOf [String ],
7978 keySchema,
8079 valueSchema,
81- =======
82- new ColumnFamilySchemaV1 (
83- colFamilyMap(" columnFamilyName" ).asInstanceOf [String ],
84- keySchema,
85- StructType .fromString(colFamilyMap(" valueSchema" ).asInstanceOf [String ]),
86- >>>>>>> 6768eea5a98 (Feedback )
8780 KeyStateEncoderSpec .fromJson(keySchema, colFamilyMap(" keyStateEncoderSpec" )
8881 .asInstanceOf [Map [String , Any ]]),
8982 colFamilyMap.get(" userKeyEncoder" ).map(_.asInstanceOf [String ]).map(StructType .fromString)
Original file line number Diff line number Diff line change @@ -844,16 +844,12 @@ class TransformWithStateSuite extends StateStoreMetricsTest
844844 private def fetchColumnFamilySchemas (
845845 checkpointDir : String ,
846846 operatorId : Int ): List [ColumnFamilySchema ] = {
847- <<<<<<< HEAD
848847 val operatorStateMetadataLog = fetchOperatorStateMetadataLog(checkpointDir, operatorId)
849848 val stateSchemaFilePath = operatorStateMetadataLog.
850849 getLatest().get._2.
851850 asInstanceOf [OperatorStateMetadataV2 ].
852851 stateStoreInfo.head.stateSchemaFilePath
853852 fetchStateSchemaV3File(checkpointDir, operatorId).getWithPath(new Path (stateSchemaFilePath))
854- =======
855- fetchStateSchemaV3File(checkpointDir, operatorId).getLatest().get._2
856- >>>>>>> 6768eea5a98 (Feedback )
857853 }
858854
859855 private def fetchStateSchemaV3File (
You can’t perform that action at this time.
0 commit comments