This is an automated email from the ASF dual-hosted git repository.
kharekartik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new ceb9c1acf1 Made the error message around dimension table size clearer
(#13163)
ceb9c1acf1 is described below
commit ceb9c1acf17972f851e54bb9d4b0060f72516a44
Author: Ragesh Rajagopalan <[email protected]>
AuthorDate: Fri May 17 08:31:48 2024 -0700
Made the error message around dimension table size clearer (#13163)
---
.../java/org/apache/pinot/segment/local/utils/TableConfigUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java
index 6729f1b027..fea2dfb8f1 100644
---
a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java
+++
b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java
@@ -1412,9 +1412,9 @@ public final class TableConfigUtils {
tableConfig.getTableName());
} else {
if (quotaConfig.getStorageInBytes() > maxAllowedSizeInBytes) {
- throw new IllegalStateException(
- String.format("Invalid storage quota: %d, max allowed size:
%d", quotaConfig.getStorageInBytes(),
- maxAllowedSizeInBytes));
+ throw new IllegalStateException(String.format(
+ "Exceeded storage size for dimension table. Requested size:
%d, Max allowed size: %d",
+ quotaConfig.getStorageInBytes(), maxAllowedSizeInBytes));
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]