Skip to content

Commit 650dd8b

Browse files
authored
[Spark] Make naming of manage commit consistent (#3225)
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/delta-io/delta/blob/master/CONTRIBUTING.md 2. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP] Your PR title ...'. 3. Be sure to keep the PR description updated to reflect all changes. 4. Please write your PR title to summarize what this PR proposes. 5. If possible, provide a concise example to reproduce the issue for a faster review. 6. If applicable, include the corresponding issue number in the PR title and link it in the body. --> #### Which Delta project/connector is this regarding? <!-- Please add the component selected below to the beginning of the pull request title For example: [Spark] Title of my pull request --> - [X] Spark - [ ] Standalone - [ ] Flink - [ ] Kernel - [ ] Other (fill in here) ## Description <!-- - Describe what this PR changes. - Describe why we need the change. If this PR resolves an issue be sure to include "Resolves #XXX" to correctly link and close the issue upon merge. --> 1. Replaces instances of Managed Commits with Managed Commit (without the s) in functions, configurations, and docs. 2. Renames the feature name to managedCommit-preview 3. Renames the DynamoDBCommitOwner tableConfig key to dynamoDBTableName Cherrypicked from #3224 ## How was this patch tested? <!-- If tests were added, say they were added here. Please make sure to test the changes thoroughly including negative and positive cases if possible. If the changes were tested in any way other than unit tests, please clarify how you tested step by step (ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future). If the changes were not tested, please explain why. --> Existing tests should cover this refactor. ## Does this PR introduce _any_ user-facing changes? <!-- If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible. If possible, please also clarify if this is a user-facing change compared to the released Delta Lake versions or within the unreleased branches such as master. If no, write 'No'. --> The managed commit table feature name has been updated to managedCommit-preview
1 parent fa81aba commit 650dd8b

16 files changed

+65
-65
lines changed

protocol_rfcs/managed-commits.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Managed Commits
22
**Associated Github issue for discussions: https://github.com/delta-io/delta/issues/2598**
33

4-
This RFC proposes a new table feature `managedCommits` which changes the way Delta Lake performs commits.
4+
This RFC proposes a new table feature `managedCommit` which changes the way Delta Lake performs commits.
55

66
Today’s Delta commit protocol relies on the filesystem to provide commit atomicity. This feature request is to allow Delta tables which gets commit atomicity using an external commit-owner and not
77
the filesystem (s3, abfs etc). This allows us to deal with various limitations of Delta:
@@ -324,13 +324,13 @@ the seemingly-extra files might think the table metadata was corrupted.
324324

325325
The managed-commit feature is supported and active when:
326326
- The table must be on Writer Version 7.
327-
- The table has a `protocol` action with `writerFeatures` containing the feature `managedCommits`.
328-
- The table has a metadata property `delta.managedCommits.commitOwner` in the [change-metadata](#change-metadata)'s configuration.
329-
- The table may have a metadata property `delta.managedCommits.commitOwnerConf` in the [change-metadata](#change-metadata)'s configuration. The value of this property is a json-coded string-to-string map.
327+
- The table has a `protocol` action with `writerFeatures` containing the feature `managedCommit`.
328+
- The table has a metadata property `delta.managedCommit.commitOwner` in the [change-metadata](#change-metadata)'s configuration.
329+
- The table may have a metadata property `delta.managedCommit.commitOwnerConf` in the [change-metadata](#change-metadata)'s configuration. The value of this property is a json-coded string-to-string map.
330330
- A commit-owner can store additional information (e.g. configuration information such as service endpoints) in this field, for use by the commit-owner client (it is opaque to the Delta client).
331331
- This field should never include secrets such as auth tokens or credentials, because any reader with access to the table's storage location can see them.
332332
333-
Note that a table is in invalid state if the change-metadata contains the `delta.managedCommits.commitOwner` property but the table does not have the `managedCommits` feature in the `protocol` action (or vice versa).
333+
Note that a table is in invalid state if the change-metadata contains the `delta.managedCommit.commitOwner` property but the table does not have the `managedCommit` feature in the `protocol` action (or vice versa).
334334
335335
E.g.
336336
```json
@@ -342,8 +342,8 @@ E.g.
342342
"partitionColumns":[],
343343
"configuration":{
344344
"appendOnly": "true",
345-
"delta.managedCommits.commitOwner": "commit-owner-1",
346-
"delta.managedCommits.commitOwnerConf":
345+
"delta.managedCommit.commitOwner": "commit-owner-1",
346+
"delta.managedCommit.commitOwnerConf":
347347
"{\"endpoint\":\"http://sample-url.com/commit\", \"authenticationMode\":\"oauth2\"}"
348348
}
349349
}

spark/src/main/java/io/delta/dynamodbcommitstore/DynamoDBCommitOwnerClient.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class DynamoDBCommitOwnerClient implements CommitOwnerClient {
6363
/**
6464
* The name of the DynamoDB table used to store unbackfilled commits.
6565
*/
66-
final String managedCommitsTableName;
66+
final String managedCommitTableName;
6767

6868
/**
6969
* The DynamoDB client used to interact with the DynamoDB table.
@@ -124,12 +124,12 @@ private static class GetCommitsResultInternal {
124124

125125

126126
public DynamoDBCommitOwnerClient(
127-
String managedCommitsTableName,
127+
String managedCommitTableName,
128128
String endpoint,
129129
AmazonDynamoDB client,
130130
long backfillBatchSize) throws IOException {
131131
this(
132-
managedCommitsTableName,
132+
managedCommitTableName,
133133
endpoint,
134134
client,
135135
backfillBatchSize,
@@ -139,14 +139,14 @@ public DynamoDBCommitOwnerClient(
139139
}
140140

141141
public DynamoDBCommitOwnerClient(
142-
String managedCommitsTableName,
142+
String managedCommitTableName,
143143
String endpoint,
144144
AmazonDynamoDB client,
145145
long backfillBatchSize,
146146
long readCapacityUnits,
147147
long writeCapacityUnits,
148148
boolean skipPathCheck) throws IOException {
149-
this.managedCommitsTableName = managedCommitsTableName;
149+
this.managedCommitTableName = managedCommitTableName;
150150
this.endpoint = endpoint;
151151
this.client = client;
152152
this.backfillBatchSize = backfillBatchSize;
@@ -169,7 +169,7 @@ private String getTableId(Map<String, String> managedCommitTableConf) {
169169
private GetItemResult getEntryFromCommitOwner(
170170
Map<String, String> managedCommitTableConf, String... attributesToGet) {
171171
GetItemRequest request = new GetItemRequest()
172-
.withTableName(managedCommitsTableName)
172+
.withTableName(managedCommitTableName)
173173
.addKeyEntry(
174174
DynamoDBTableEntryConstants.TABLE_ID,
175175
new AttributeValue().withS(getTableId(managedCommitTableConf)))
@@ -248,7 +248,7 @@ protected CommitResponse commitToOwner(
248248
new AttributeValue().withN(Long.toString(commitFile.getModificationTime())));
249249

250250
UpdateItemRequest request = new UpdateItemRequest()
251-
.withTableName(managedCommitsTableName)
251+
.withTableName(managedCommitTableName)
252252
.addKeyEntry(
253253
DynamoDBTableEntryConstants.TABLE_ID,
254254
new AttributeValue().withS(getTableId(managedCommitTableConf)))
@@ -579,7 +579,7 @@ public void backfillToVersion(
579579
}
580580
}
581581
UpdateItemRequest request = new UpdateItemRequest()
582-
.withTableName(managedCommitsTableName)
582+
.withTableName(managedCommitTableName)
583583
.addKeyEntry(
584584
DynamoDBTableEntryConstants.TABLE_ID,
585585
new AttributeValue().withS(getTableId(managedCommitTableConf)))
@@ -660,7 +660,7 @@ public Map<String, String> registerTable(
660660
new AttributeValue().withN(Integer.toString(CLIENT_VERSION)));
661661

662662
PutItemRequest request = new PutItemRequest()
663-
.withTableName(managedCommitsTableName)
663+
.withTableName(managedCommitTableName)
664664
.withItem(item)
665665
.withConditionExpression(
666666
String.format(
@@ -686,14 +686,14 @@ private void tryEnsureTableExists() throws IOException {
686686
while(retries < 20) {
687687
String status = "CREATING";
688688
try {
689-
DescribeTableResult result = client.describeTable(managedCommitsTableName);
689+
DescribeTableResult result = client.describeTable(managedCommitTableName);
690690
TableDescription descr = result.getTable();
691691
status = descr.getTableStatus();
692692
} catch (ResourceNotFoundException e) {
693693
LOG.info(
694694
"DynamoDB table `{}` for endpoint `{}` does not exist. " +
695695
"Creating it now with provisioned throughput of {} RCUs and {} WCUs.",
696-
managedCommitsTableName, endpoint, readCapacityUnits, writeCapacityUnits);
696+
managedCommitTableName, endpoint, readCapacityUnits, writeCapacityUnits);
697697
try {
698698
client.createTable(
699699
// attributeDefinitions
@@ -702,7 +702,7 @@ private void tryEnsureTableExists() throws IOException {
702702
DynamoDBTableEntryConstants.TABLE_ID,
703703
ScalarAttributeType.S)
704704
),
705-
managedCommitsTableName,
705+
managedCommitTableName,
706706
// keySchema
707707
java.util.Collections.singletonList(
708708
new KeySchemaElement(
@@ -718,23 +718,23 @@ private void tryEnsureTableExists() throws IOException {
718718
}
719719
if (status.equals("ACTIVE")) {
720720
if (created) {
721-
LOG.info("Successfully created DynamoDB table `{}`", managedCommitsTableName);
721+
LOG.info("Successfully created DynamoDB table `{}`", managedCommitTableName);
722722
} else {
723-
LOG.info("Table `{}` already exists", managedCommitsTableName);
723+
LOG.info("Table `{}` already exists", managedCommitTableName);
724724
}
725725
break;
726726
} else if (status.equals("CREATING")) {
727727
retries += 1;
728-
LOG.info("Waiting for `{}` table creation", managedCommitsTableName);
728+
LOG.info("Waiting for `{}` table creation", managedCommitTableName);
729729
try {
730730
Thread.sleep(1000);
731731
} catch(InterruptedException e) {
732732
throw new InterruptedIOException(e.getMessage());
733733
}
734734
} else {
735-
LOG.error("table `{}` status: {}", managedCommitsTableName, status);
735+
LOG.error("table `{}` status: {}", managedCommitTableName, status);
736736
throw new RuntimeException("DynamoDBCommitOwnerCliet: Unable to create table with " +
737-
"name " + managedCommitsTableName + " for endpoint " + endpoint + ". Ensure " +
737+
"name " + managedCommitTableName + " for endpoint " + endpoint + ". Ensure " +
738738
"that the credentials provided have the necessary permissions to create " +
739739
"tables in DynamoDB. If the table already exists, ensure that the table " +
740740
"is in the ACTIVE state.");
@@ -748,7 +748,7 @@ public boolean semanticEquals(CommitOwnerClient other) {
748748
return false;
749749
}
750750
DynamoDBCommitOwnerClient otherStore = (DynamoDBCommitOwnerClient) other;
751-
return this.managedCommitsTableName.equals(otherStore.managedCommitsTableName)
751+
return this.managedCommitTableName.equals(otherStore.managedCommitTableName)
752752
&& this.endpoint.equals(otherStore.endpoint);
753753
}
754754
}

spark/src/main/java/io/delta/dynamodbcommitstore/DynamoDBCommitOwnerClientBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public String getName() {
4242
* commits for this owner. The value of this key is stored in the `conf`
4343
* which is passed to the `build` method.
4444
*/
45-
private static final String MANAGED_COMMITS_TABLE_NAME_KEY = "managedCommitsTableName";
45+
private static final String MANAGED_COMMITS_TABLE_NAME_KEY = "dynamoDBTableName";
4646
/**
4747
* The endpoint of the DynamoDB service. The value of this key is stored in the
4848
* `conf` which is passed to the `build` method.
@@ -51,7 +51,7 @@ public String getName() {
5151

5252
@Override
5353
public CommitOwnerClient build(SparkSession spark, Map<String, String> conf) {
54-
String managedCommitsTableName = conf.get(MANAGED_COMMITS_TABLE_NAME_KEY).getOrElse(() -> {
54+
String managedCommitTableName = conf.get(MANAGED_COMMITS_TABLE_NAME_KEY).getOrElse(() -> {
5555
throw new RuntimeException(MANAGED_COMMITS_TABLE_NAME_KEY + " not found");
5656
});
5757
String dynamoDBEndpoint = conf.get(DYNAMO_DB_ENDPOINT_KEY).getOrElse(() -> {
@@ -72,7 +72,7 @@ public CommitOwnerClient build(SparkSession spark, Map<String, String> conf) {
7272
spark.sessionState().newHadoopConf()
7373
);
7474
return getDynamoDBCommitOwnerClient(
75-
managedCommitsTableName,
75+
managedCommitTableName,
7676
dynamoDBEndpoint,
7777
ddbClient,
7878
BACKFILL_BATCH_SIZE,
@@ -86,7 +86,7 @@ public CommitOwnerClient build(SparkSession spark, Map<String, String> conf) {
8686
}
8787

8888
protected DynamoDBCommitOwnerClient getDynamoDBCommitOwnerClient(
89-
String managedCommitsTableName,
89+
String managedCommitTableName,
9090
String dynamoDBEndpoint,
9191
AmazonDynamoDB ddbClient,
9292
long backfillBatchSize,
@@ -95,7 +95,7 @@ protected DynamoDBCommitOwnerClient getDynamoDBCommitOwnerClient(
9595
boolean skipPathCheck
9696
) throws IOException {
9797
return new DynamoDBCommitOwnerClient(
98-
managedCommitsTableName,
98+
managedCommitTableName,
9999
dynamoDBEndpoint,
100100
ddbClient,
101101
backfillBatchSize,

spark/src/main/java/io/delta/dynamodbcommitstore/ManagedCommitUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private ManagedCommitUtils() {}
3131

3232
/** The configuration key for the managed commit owner. */
3333
private static final String MANAGED_COMMIT_OWNER_CONF_KEY =
34-
"delta.managedCommits.commitOwner-preview";
34+
"delta.managedCommit.commitOwner-preview";
3535

3636
/**
3737
* Creates a new unbackfilled delta file path for the given commit version.
@@ -68,10 +68,10 @@ private static String getManagedCommitOwner(AbstractMetadata metadata) {
6868
public static boolean isManagedCommitToFSConversion(
6969
Long commitVersion,
7070
UpdatedActions updatedActions) {
71-
boolean oldMetadataHasManagedCommits =
71+
boolean oldMetadataHasManagedCommit =
7272
!getManagedCommitOwner(updatedActions.getOldMetadata()).isEmpty();
73-
boolean newMetadataHasManagedCommits =
73+
boolean newMetadataHasManagedCommit =
7474
!getManagedCommitOwner(updatedActions.getNewMetadata()).isEmpty();
75-
return oldMetadataHasManagedCommits && !newMetadataHasManagedCommits && commitVersion > 0;
75+
return oldMetadataHasManagedCommit && !newMetadataHasManagedCommit && commitVersion > 0;
7676
}
7777
}

spark/src/main/scala/org/apache/spark/sql/delta/DeltaConfig.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ trait DeltaConfigsBase extends DeltaLogging {
737737
helpMessage = "needs to be a boolean.")
738738

739739
val MANAGED_COMMIT_OWNER_NAME = buildConfig[Option[String]](
740-
"managedCommits.commitOwner-preview",
740+
"managedCommit.commitOwner-preview",
741741
null,
742742
v => Option(v),
743743
_ => true,
@@ -748,14 +748,14 @@ trait DeltaConfigsBase extends DeltaLogging {
748748
|""".stripMargin)
749749

750750
val MANAGED_COMMIT_OWNER_CONF = buildConfig[Map[String, String]](
751-
"managedCommits.commitOwnerConf-preview",
751+
"managedCommit.commitOwnerConf-preview",
752752
null,
753753
v => JsonUtils.fromJson[Map[String, String]](Option(v).getOrElse("{}")),
754754
_ => true,
755755
"A string-to-string map of configuration properties for the managed commit-owner.")
756756

757757
val MANAGED_COMMIT_TABLE_CONF = buildConfig[Map[String, String]](
758-
"managedCommits.tableConf-preview",
758+
"managedCommit.tableConf-preview",
759759
null,
760760
v => JsonUtils.fromJson[Map[String, String]](Option(v).getOrElse("{}")),
761761
_ => true,

spark/src/main/scala/org/apache/spark/sql/delta/OptimisticTransaction.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ trait OptimisticTransactionImpl extends TransactionalWrite
12461246
*/
12471247
protected def updateMetadataWithManagedCommitConfs(): Boolean = {
12481248
validateManagedCommitConfInMetadata(newMetadata)
1249-
val newManagedCommitTableConfOpt = registerTableForManagedCommitsIfNeeded(metadata, protocol)
1249+
val newManagedCommitTableConfOpt = registerTableForManagedCommitIfNeeded(metadata, protocol)
12501250
val newManagedCommitTableConf = newManagedCommitTableConfOpt.getOrElse {
12511251
return false
12521252
}
@@ -1516,7 +1516,7 @@ trait OptimisticTransactionImpl extends TransactionalWrite
15161516
* This metadata should be added to the [[Metadata.configuration]] before doing the
15171517
* commit.
15181518
*/
1519-
protected def registerTableForManagedCommitsIfNeeded(
1519+
protected def registerTableForManagedCommitIfNeeded(
15201520
finalMetadata: Metadata,
15211521
finalProtocol: Protocol): Option[Map[String, String]] = {
15221522
val (oldOwnerName, oldOwnerConf) = ManagedCommitUtils.getManagedCommitConfs(snapshot.metadata)

spark/src/main/scala/org/apache/spark/sql/delta/TableFeature.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ object V2CheckpointTableFeature
674674

675675
/** Table feature to represent tables whose commits are managed by separate commit-owner */
676676
object ManagedCommitTableFeature
677-
extends WriterFeature(name = "managed-commit-preview")
677+
extends WriterFeature(name = "managedCommit-preview")
678678
with FeatureAutomaticallyEnabledByMetadata
679679
with RemovableFeature {
680680

spark/src/main/scala/org/apache/spark/sql/delta/managedcommit/AbstractBatchBackfillingCommitOwnerClient.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ trait AbstractBatchBackfillingCommitOwnerClient extends CommitOwnerClient with L
126126
private def isManagedCommitToFSConversion(
127127
commitVersion: Long,
128128
updatedActions: UpdatedActions): Boolean = {
129-
val oldMetadataHasManagedCommits = updatedActions.getOldMetadata.asInstanceOf[Metadata]
129+
val oldMetadataHasManagedCommit = updatedActions.getOldMetadata.asInstanceOf[Metadata]
130130
.managedCommitOwnerName.nonEmpty
131-
val newMetadataHasManagedCommits = updatedActions.getNewMetadata.asInstanceOf[Metadata]
131+
val newMetadataHasManagedCommit = updatedActions.getNewMetadata.asInstanceOf[Metadata]
132132
.managedCommitOwnerName.nonEmpty
133-
oldMetadataHasManagedCommits && !newMetadataHasManagedCommits && commitVersion > 0
133+
oldMetadataHasManagedCommit && !newMetadataHasManagedCommit && commitVersion > 0
134134
}
135135

136136
protected def generateUUID(): String = UUID.randomUUID().toString

spark/src/main/scala/org/apache/spark/sql/delta/sources/DeltaSQLConf.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ trait DeltaSQLConfBase {
539539
.createWithDefault(20)
540540

541541
val MANAGED_COMMIT_GET_COMMITS_THREAD_POOL_SIZE =
542-
buildStaticConf("managedCommits.getCommits.threadPoolSize")
542+
buildStaticConf("managedCommit.getCommits.threadPoolSize")
543543
.internal()
544544
.doc("The size of the thread pool for listing files from the commit-owner.")
545545
.intConf
@@ -551,7 +551,7 @@ trait DeltaSQLConfBase {
551551
/////////////////////////////////////////////
552552

553553
val MANAGED_COMMIT_DDB_AWS_CREDENTIALS_PROVIDER_NAME =
554-
buildConf("managedCommits.commitOwner.ddb.awsCredentialsProviderName")
554+
buildConf("managedCommit.commitOwner.dynamodb.awsCredentialsProviderName")
555555
.internal()
556556
.doc("The fully qualified class name of the AWS credentials provider to use for " +
557557
"interacting with DynamoDB in the DynamoDB Commit Owner Client. e.g. " +
@@ -560,7 +560,7 @@ trait DeltaSQLConfBase {
560560
.createWithDefault("com.amazonaws.auth.DefaultAWSCredentialsProviderChain")
561561

562562
val MANAGED_COMMIT_DDB_SKIP_PATH_CHECK =
563-
buildConf("managedCommits.commitOwner.ddb.skipPathCheck.enabled")
563+
buildConf("managedCommit.commitOwner.dynamodb.skipPathCheckEnabled")
564564
.internal()
565565
.doc("When enabled, the DynamoDB Commit Owner will not enforce that the table path of the " +
566566
"current Delta table matches the stored in the corresponding DynamoDB table. This " +
@@ -572,7 +572,7 @@ trait DeltaSQLConfBase {
572572
.createWithDefault(false)
573573

574574
val MANAGED_COMMIT_DDB_READ_CAPACITY_UNITS =
575-
buildConf("managedCommits.commitOwner.ddb.readCapacityUnits")
575+
buildConf("managedCommit.commitOwner.dynamodb.readCapacityUnits")
576576
.internal()
577577
.doc("Controls the provisioned read capacity units for the DynamoDB table backing the " +
578578
"DynamoDB Commit Owner. This configuration is only used when the DynamoDB table is first " +
@@ -581,7 +581,7 @@ trait DeltaSQLConfBase {
581581
.createWithDefault(5)
582582

583583
val MANAGED_COMMIT_DDB_WRITE_CAPACITY_UNITS =
584-
buildConf("managedCommits.commitOwner.ddb.writeCapacityUnits")
584+
buildConf("managedCommit.commitOwner.dynamodb.writeCapacityUnits")
585585
.internal()
586586
.doc("Controls the provisioned write capacity units for the DynamoDB table backing the " +
587587
"DynamoDB Commit Owner. This configuration is only used when the DynamoDB table is first " +

spark/src/test/scala/org/apache/spark/sql/delta/DeltaLogSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ class DeltaLogSuite extends QueryTest
499499
deltaLog.newDeltaHadoopConf())
500500
.filter(!_.getPath.getName.startsWith("_"))
501501
.foreach(f => fs.delete(f.getPath, true))
502-
if (managedCommitsEnabledInTests) {
502+
if (managedCommitEnabledInTests) {
503503
// For Managed Commit table with a commit that is not backfilled, we can't use
504504
// 00000000002.json yet. Contact commit store to get uuid file path to malform json file.
505505
val oc = CommitOwnerProvider.getCommitOwnerClient(
@@ -598,7 +598,7 @@ class DeltaLogSuite extends QueryTest
598598

599599
val log = DeltaLog.forTable(spark, path)
600600
var commitFilePath = FileNames.unsafeDeltaFile(log.logPath, 1L)
601-
if (managedCommitsEnabledInTests) {
601+
if (managedCommitEnabledInTests) {
602602
// For Managed Commit table with a commit that is not backfilled, we can't use
603603
// 00000000001.json yet. Contact commit store to get uuid file path to malform json file.
604604
val oc = CommitOwnerProvider.getCommitOwnerClient(

0 commit comments

Comments
 (0)