Skip to content

Commit

Permalink
[Issue-170] Upgrade Spark Version to 3.5.0 (#174)
Browse files Browse the repository at this point in the history
Signed-off-by: Ved, Kuldeep <[email protected]>
  • Loading branch information
kuldeepved authored Dec 5, 2023
1 parent fe5a25a commit 571146e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ scalaArmVersion=2.0
scalaVersion=2.12.13
shadowGradlePlugin=6.1.0
slf4jApiVersion=1.7.25
sparkVersion=3.4.0
sparkVersion=3.5.0

# Version and base tags can be overridden at build time.
connectorVersion=0.14.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class NonTransactionPravegaWriter(
schema: StructType)
extends StreamingWrite with BatchWrite with Logging {

override def useCommitCoordinator() = true

override def createBatchWriterFactory(info: PhysicalWriteInfo): NonTransactionPravegaWriterFactory =
NonTransactionPravegaWriterFactory(scopeName, streamName, clientConfig, schema)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class TransactionPravegaWriter(
log.debug(s"abort: END: epochId=$epochId, messages=${messages.mkString(",")}")
}

override def useCommitCoordinator() = true

override def createBatchWriterFactory(info: PhysicalWriteInfo): TransactionPravegaWriterFactory =
TransactionPravegaWriterFactory(scopeName, streamName, clientConfig, transactionTimeoutMs, schema)
Expand Down

0 comments on commit 571146e

Please sign in to comment.