Skip to content

Fix Data Browser bugs for large datasets and query handling#168

Open
mrjeremystookey wants to merge 1 commit intomainfrom
fix-databrowser-bugs
Open

Fix Data Browser bugs for large datasets and query handling#168
mrjeremystookey wants to merge 1 commit intomainfrom
fix-databrowser-bugs

Conversation

@mrjeremystookey
Copy link
Contributor

@mrjeremystookey mrjeremystookey commented Feb 18, 2026

Summary

This PR contains critical bug fixes for the Data Browser:

  • Fix OutOfMemoryError: Disable dropdown menu for datasets with >1000 documents to prevent memory crashes
  • Fix DQL syntax errors: Use client-side filtering for simple ID searches instead of passing them as invalid DQL queries
  • Fix error handling: Add try-catch and error display for invalid DQL queries
  • Fix initial load: Auto-select first document when data loads

Changes

Bug Fixes:

  1. Prevents OutOfMemoryError by conditionally disabling dropdown for large datasets
  2. Detects whether user input is a simple ID search or DQL query
  3. Uses client-side filtering for simple ID searches to avoid DQL parsing errors
  4. Shows error messages when invalid DQL queries are entered
  5. Auto-selects first document on load instead of showing "select"

Test plan

  • Test simple ID search (e.g., "abc123") filters correctly without errors
  • Test DQL queries (e.g., id == "value") work as expected
  • Verify invalid DQL queries show appropriate error messages
  • Confirm first document is auto-selected on initial load

- Fix OutOfMemoryError by disabling dropdown for datasets >1000 documents
- Add client-side filtering for simple ID searches to avoid DQL syntax errors
- Add error handling and display for invalid DQL queries
- Auto-select first document on initial load

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant

Comments