Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightChess committed Jun 16, 2022
1 parent fa73fb9 commit bacc544
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ class ExpressionPayload(record: GenericRecord,
* Init the table schema.
*/
private def initWriteSchemaIfNeed(properties: Properties): Unit = {
writeSchema = setWriteSchema(properties)
if (writeSchema == null) {
writeSchema = setWriteSchema(properties)
}
}

/**
Expand Down

0 comments on commit bacc544

Please sign in to comment.