fix(cubestore): keep create table error messages concise - #11961
Conversation
Create table failures used to include the whole CREATE TABLE statement, with every presigned LOCATION URL, and Cube Store's finalization errors dumped the full table metadata. Report just the table name and the underlying error instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GbS6LWQAXSbT5JZqGBoFDE
|
Claude finished @paveltiunov's task in 3m 23s —— View job Review complete — change is sound; 2 medium, 1 low. No blockers.Full review
VerdictThe core change is right. One correction to the PR description: the presigned URLs were never in the JS-side message. FindingsMedium — Medium — Low — no Rust-side test. Test verificationI could not run Review threadsThe listing returned 0 of my own threads (single page, |
Include the table id next to the name in Cube Store finalization errors so they can be matched with server log lines, and drop the CREATE TABLE statement from the temp file upload error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GbS6LWQAXSbT5JZqGBoFDE
|
Claude finished @paveltiunov's task in 3m 13s —— View job Approve with one low-severity note — 0 high, 0 medium, 1 low. Posted inline. Review details
Verified
Note on the PR descriptionThe description says the old error carried "every presigned S3
The change is still worth making — the column list alone made these multi-screen — but nobody should read this PR as having closed a credentials-in-logs hole. If that's the actual concern, the path to look at is ThreadsNo prior threads — the listing returned 0 |
|
Generated by Claude Code |
|
Claude finished @paveltiunov's task in 2m 51s —— View job Approve — no blocking findings (0 high, 0 medium, 2 low, both out of scope / optional)Full review
What I verified
Test — I could not run the test or Low (not posted inline)
Review threadsThe unresolved-thread listing returned no prior threads of mine (0 unresolved threads on the PR at all), so nothing was resolved and nothing was re-affirmed. Both findings above came back POST, i.e. not duplicates — I am recording them here rather than inline because neither is actionable within this PR's scope. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11961 +/- ##
==========================================
+ Coverage 61.42% 61.67% +0.24%
==========================================
Files 247 247
Lines 19834 19832 -2
Branches 4046 4046
==========================================
+ Hits 12184 12231 +47
+ Misses 7076 7027 -49
Partials 574 574
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Check List
Description of Changes Made
When a pre-aggregation table failed to create in Cube Store, the error was several screens long:
CREATE TABLEstatement: every column, index and aggregate.IdRow<Table>debug output, including every presigned S3 location URL.Changes:
CubeStoreDriver.createTableWithOptions: the error is nowError during create table <schema.table>: <error>.CubeStoreDriver.importStream: the temp-file upload error is nowError during upload of <file>: <error>. The unused SQL-building lines behind it are removed.table_creator.rs: the timeout and orphaned-jobs finalization errors now include only the table name and id. The id matches the Cube Store log lines.Example:
Added the
create-table-error.test.tsunit test for the driver message. It failed before the fix and passes now. The Rust messages areformat!strings on an error path that needs a live cluster to reach, so they have no dedicated test.🤖 Generated with Claude Code
https://claude.ai/code/session_01GbS6LWQAXSbT5JZqGBoFDE