Area: UI
Sub-Area: View Definitions
Issue
The "View Definition" section for database views would display only the first line of the SQL definition, with the rest of the query truncated and not expandable. This made it impossible to see the full view logic, particularly problematic for complex views with lengthy SQL definitions.
Solution
View definition display has been fixed to show the complete SQL definition with proper formatting. The component now includes: - Multi-line display for full SQL queries - Syntax highlighting for SQL - Expand/collapse functionality for very long definitions - Copy-to-clipboard button - Proper whitespace and formatting preservation
View definitions now display: - Complete SQL text - Proper line breaks and indentation - Scrollable container for very long queries - "Show More" / "Show Less" controls when needed
Additional Notes
Fixed in version v0.3.11. The fix applies to all view entities across different database platforms (Hive, Snowflake, BigQuery, etc.). SQL formatting and syntax highlighting are preserved from the source system.
Related Documentation
Tags:
ui, view-definition, sql, truncation, display, bug-fix, v0.3.11