Skip to content

Conversation

@tatu-at-datastax
Copy link
Contributor

What this PR does:

Converts more ErrorCodeV1 entries: this time ones for CreateCollection.

Which issue(s) this PR fixes:

Part of #2285.

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this Jan 13, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

📉 Unit Test Coverage Delta vs Main Branch

Metric Value
Main Branch 50.61%
This PR 50.61%
Delta 🔴 -0.00%
⚠️ Coverage decreased

@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

Unit Test Coverage Report

Overall Project 50.61% -0.13% 🍏
Files changed 48.19%

File Coverage
SchemaException.java 100% 🍏
DatabaseException.java 100% 🍏
DocumentException.java 100% 🍏
DocumentUpdater.java 97.11% 🍏
SetOperation.java 96.17% 🍏
JsonApiException.java 95.08% 🍏
ErrorCodeV1.java 93.15% 🍏
TableBasedSchemaCache.java 68.38% -5.88%
CreateCollectionOperation.java 68.08% -2.21%
DataVectorizer.java 51.87% -2.34% 🍏
CreateCollectionCommand.java 47.16% -21.63%
UpstageAIEmbeddingProvider.java 14.55% -7.51%

@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

📉 Integration Test Coverage Delta vs Main Branch (hcd-it)

Metric Value
Main Branch 72.49%
This PR 72.46%
Delta 🔴 -0.03%
⚠️ Coverage decreased

@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

Integration Test Coverage Report (hcd-it)

Overall Project 72.46% -0.11% 🍏
Files changed 53.41%

File Coverage
SchemaException.java 100% 🍏
DatabaseException.java 100% 🍏
DocumentException.java 100% 🍏
CreateCollectionCommand.java 94.33% -4.96% 🍏
ErrorCodeV1.java 93.15% 🍏
DocumentUpdater.java 91.32% -4.82%
JsonApiException.java 90.16% 🍏
TableBasedSchemaCache.java 88.97% 🍏
CreateCollectionOperation.java 84.73% -1.01%
SetOperation.java 79.69% -5.75%
DataVectorizer.java 40.54% -5.26%
UpstageAIEmbeddingProvider.java 0% -7.51%

@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

📉 Integration Test Coverage Delta vs Main Branch (dse69-it)

Metric Value
Main Branch 70.69%
This PR 70.67%
Delta 🔴 -0.03%
⚠️ Coverage decreased

@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

Integration Test Coverage Report (dse69-it)

Overall Project 70.67% -0.11% 🍏
Files changed 53.41%

File Coverage
SchemaException.java 100% 🍏
DatabaseException.java 100% 🍏
DocumentException.java 100% 🍏
CreateCollectionCommand.java 94.33% -4.96% 🍏
ErrorCodeV1.java 93.15% 🍏
DocumentUpdater.java 91.32% -4.82%
JsonApiException.java 90.16% 🍏
TableBasedSchemaCache.java 88.97% 🍏
SetOperation.java 79.69% -5.75%
CreateCollectionOperation.java 74.33% -1.01%
DataVectorizer.java 40.54% -5.26%
UpstageAIEmbeddingProvider.java 0% -7.51%

(result, error) -> {
if (null != error) {
// not a valid collection schema
// TODO: Explain why this changes the error code
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out, nothing was actually throwing VECTORIZECONFIG_CHECK_FAIL! Can just remove.

@tatu-at-datastax tatu-at-datastax marked this pull request as ready for review January 14, 2026 00:21
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner January 14, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants