fix(cubestore): keep create table error messages concise - #11961
paveltiunov wants to merge 2 commits into
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 |
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