Skip to content

NO-SNOW: Fix StreamLoader vector metadata detection error handling#2551

Draft
sfc-gh-dheyman wants to merge 1 commit intomasterfrom
03-12-no-snow_fix_streamloader_vector_metadata_detection_error_handling
Draft

NO-SNOW: Fix StreamLoader vector metadata detection error handling#2551
sfc-gh-dheyman wants to merge 1 commit intomasterfrom
03-12-no-snow_fix_streamloader_vector_metadata_detection_error_handling

Conversation

@sfc-gh-dheyman
Copy link
Copy Markdown
Collaborator

@sfc-gh-dheyman sfc-gh-dheyman commented Mar 12, 2026

Overview

  • Fixed flaky loader startup in StreamLoader by safely handling metadata ResultSet access when getColumns(...) returns no rows.
  • Replaced hard failure behavior for vector metadata lookup issues with warning-level handling, so non-critical metadata hiccups do not abort the load.
  • Simplified vector metadata detection logic (rs.next() guard, early clear/return paths) and added a changelog entry under upcoming release.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@sfc-gh-dheyman sfc-gh-dheyman marked this pull request as ready for review March 12, 2026 08:48
@sfc-gh-dheyman sfc-gh-dheyman requested a review from a team as a code owner March 12, 2026 08:48
} catch (SQLException e) {
logger.error(e.getMessage(), e);
abort(new Loader.ConnectionError(Utils.getCause(e)));
logger.warn(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Aren't we allowing it to silently fail now since we don't throw exception?

@sfc-gh-dheyman sfc-gh-dheyman marked this pull request as draft March 12, 2026 09:06
@sfc-gh-dheyman sfc-gh-dheyman force-pushed the 03-12-no-snow_fix_streamloader_vector_metadata_detection_error_handling branch from d03e605 to 253b404 Compare March 12, 2026 09:16
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.

3 participants