What's New
Improved Query Language UX ✨
- Pipe operator (
|) to build customSELECTwith specific columns instead of defaultSELECT *- Example:
namespace="prod" | namespace msg.level - Example:
msg.level="ERROR" | timestamp msg.request.method
- Example:
- Dot notation (
.) to parse infinite nested JSON columns, for bothWHEREandSELECT- Dotted notation:
log_attributes.user.name = "john" - Quoted field support:
log_attributes."user.name" = "alice"
- Dotted notation:
- Type-aware SQL generation for Map, JSON, and String columns
Query History
- localStorage-based query history per team-source
- Shows last 10 recently executed queries
Enhanced Source Stats
- Table schema information with column details and types
- TTL expressions from CREATE TABLE statements
- Sort keys and primary key display
- Distributed table engine support
Improved Type Safety
- Preserve quoted literals to avoid precision loss
- Harden numeric coercion for large integers
- BigInt checks for safe integer range
Structured Error Handling
- Position-aware error reporting with line/column info
- Parser continues after errors (shows all problems at once)
- User-friendly error messages with suggestions
- Comprehensive error codes with examples
Changelog
- fee581e Merge pull request #54 from mr-karan/ql
- ec9b162 chore: update sqlc
- 7d24422 feat: add pipe operator for custom SELECT fields in LogchefQL
- 167a549 feat: add query history UI components and service
- cc145fc feat: complete LogChefQL P1 roadmap features
- 2c55ea8 feat: enhance source stats with schema and TTL information
- 2ef5b4c feat: implement P1 structured error handling for LogChefQL
- 313bd8f feat: implement Phase 2 P0 safety improvements for LogchefQL
- ba3b97f feat: implement advanced JSON/Map field querying in LogchefQL
- 34fc0cb feat: implement query history with localStorage storage
- 202488a fix(logchefql): preserve quoted literals and harden numeric coercion to avoid precision loss