Skip to content

Commit

Permalink
Minor fix for error message
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyuandong-db committed Jan 8, 2025
1 parent d86ae20 commit dfbf700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public static ConcurrentWriteException concurrentDomainMetadataAction(

public static KernelException missingNumRecordsStatsForRowTracking() {
return new KernelException(
"Cannot write to a rowTracking-supported table without 'numRecord' statistics. "
"Cannot write to a rowTracking-supported table without 'numRecords' statistics. "
+ "Connectors are expected to populate the number of records statistics when "
+ "writing to a Delta table with 'rowTracking' table feature supported.");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class RowTrackingSuite extends DeltaTableWriteSuiteBase with ParquetSuiteBase {
}
assert(
e.getMessage.contains(
"Cannot write to a rowTracking-supported table without 'numRecord' statistics. "
"Cannot write to a rowTracking-supported table without 'numRecords' statistics. "
+ "Connectors are expected to populate the number of records statistics when "
+ "writing to a Delta table with 'rowTracking' table feature supported."
)
Expand Down

0 comments on commit dfbf700

Please sign in to comment.