You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/01/04 09:53:43 UTC
[GitHub] [flink] JingsongLi commented on a change in pull request #18219: [FLINK-25178][table] Throw exception when managed table sink needs checkpointing
JingsongLi commented on a change in pull request #18219:
URL: https://github.com/apache/flink/pull/18219#discussion_r777952061
##########
File path: flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/delegation/PlannerBase.scala
##########
@@ -384,6 +385,13 @@ abstract class PlannerBase(
}
val catalog = toScala(catalogManager.getCatalog(objectIdentifier.getCatalogName))
val isTemporary = lookupResult.isTemporary
+
+ if (isManagedTable(catalog.get, resolvedTable) &&
+ !executor.isCheckpointingEnabled) {
+ throw new TableException(
+ s"Managed sink ${objectIdentifier} should enable the checkpointing.")
Review comment:
`You should enable the checkpointing for managed table ${objectIdentifier}, managed table relies on checkpoint to commit and the data is visible only after commit.`
What do you think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org