Closed rohityadav1993 closed 1 day ago
Attention: Patch coverage is 0%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 63.83%. Comparing base (
59551e4
) to head (44efb13
). Report is 1371 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
...ller/api/resources/PinotSchemaRestletResource.java | 0.00% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
cleanup
This PR adds the validation for schemaName to not allow double underscores similar to table name validation.
We don't allow table names with double underscores
__
and additionally don't allow tables with schema name different from table name. Schema name validations can help early catching of wrongly named schemas.https://github.com/apache/pinot/blob/81f16f3056a9957311cc13d4f92ee1b2e7b1761e/pinot-spi/src/main/java/org/apache/pinot/spi/config/table/TableConfig.java#L144
https://github.com/apache/pinot/blob/81f16f3056a9957311cc13d4f92ee1b2e7b1761e/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java#L260