chrislu
|
8b4914be55
|
hook up seaweed sql engine
|
1 month ago |
chrislu
|
5a8c31fcda
|
Revert "add jdbc"
This reverts commit a6e48b7690 .
|
1 month ago |
chrislu
|
85306bb2b0
|
add postgres protocol
|
1 month ago |
chrislu
|
a6e48b7690
|
add jdbc
|
1 month ago |
chrislu
|
6fb88a8edb
|
buffer start stored as 8 bytes
|
1 month ago |
chrislu
|
61bacd23b0
|
parquet file can query messages in broker memory, if log files do not exist
|
1 month ago |
chrislu
|
618cb89885
|
the parquet file should also remember the first buffer_start attribute from the sources
|
1 month ago |
chrislu
|
db75742e37
|
explain with broker buffer
|
1 month ago |
chrislu
|
de866bfd09
|
dedup with buffer start index
|
1 month ago |
chrislu
|
e3a56d7c30
|
filter out already flushed messages
|
1 month ago |
chrislu
|
467034c8c7
|
process buffer from brokers
|
1 month ago |
chrislu
|
7ca3b59c44
|
save source buffer index start for log files
|
1 month ago |
chrislu
|
f5ed25f755
|
fix decoding data
|
1 month ago |
chrislu
|
99bfe95e51
|
detailed logs during explain. Fix bugs on reading live logs.
|
1 month ago |
chrislu
|
c7a0b89067
|
fix after refactoring
|
1 month ago |
chrislu
|
e385f0ce7d
|
refactor
|
1 month ago |
chrislu
|
61ad3c39ac
|
add tests
|
1 month ago |
chrislu
|
4214d765cf
|
use mock for testing
|
1 month ago |
chrislu
|
a3f6a5da27
|
skip
|
1 month ago |
chrislu
|
dfd0897e49
|
improve tests
|
1 month ago |
chrislu
|
7d88a81482
|
add tests
|
1 month ago |
chrislu
|
eaa7136c92
|
explain the execution plan
|
1 month ago |
chrislu
|
93a09f5da4
|
explain
|
1 month ago |
chrislu
|
55cad6dc4a
|
combine parquet results with live logs
|
1 month ago |
chrislu
|
352fad7172
|
truncate topic
|
1 month ago |
chrislu
|
e3798c2ec9
|
sql
|
1 month ago |
chrislu
|
2fbceca959
|
fmt
|
1 month ago |
chrislu
|
55dfb97fc8
|
parquet file generation remember the sources also
|
1 month ago |
chrislu
|
2fa8991a52
|
scan all files
|
1 month ago |
chrislu
|
ada704ad80
|
parquet file generate stats
|
1 month ago |
chrislu
|
c7598d89f1
|
remove emoji
|
1 month ago |
chrislu
|
c73ceac79f
|
use parquet statistics for optimization
|
1 month ago |
chrislu
|
471ba271dc
|
fix reading system fields
|
1 month ago |
chrislu
|
8498240460
|
fmt
|
1 month ago |
chrislu
|
8645f3a264
|
column name case insensitive, better auto column names
|
1 month ago |
chrislu
|
32e73811f2
|
support aggregation functions
|
1 month ago |
chrislu
|
cbf1bfd333
|
remove emoji
|
1 month ago |
chrislu
|
cf9ad26608
|
scan topic messages
|
1 month ago |
chrislu
|
762eeca8d4
|
Update .gitignore
|
1 month ago |
chrislu
|
ac8e6c8c82
|
actual column types
|
1 month ago |
chrislu
|
49c0f74a1f
|
Update describe.go
|
1 month ago |
chrislu
|
3e54e7356c
|
show tables works
|
1 month ago |
chrislu
|
aa883472a5
|
show databases works
|
1 month ago |
chrislu
|
76452ab593
|
Delete test_utils_test.go
|
1 month ago |
chrislu
|
4569875a49
|
3.97
|
1 month ago |
chrislu
|
675ec42fad
|
integer conversion
|
1 month ago |
chrislu
|
ec7efe0652
|
fmt
|
1 month ago |
chrislu
|
6e35019238
|
Delete test_utils_test.go
|
1 month ago |
chrislu
|
0679e5d38b
|
feat: Enhanced SQL CLI Experience
✅ COMPLETE ENHANCED CLI IMPLEMENTATION:
🚀 **Multiple Execution Modes:**
- Interactive shell with enhanced prompts and context
- Single query execution: --query 'SQL' --output format
- Batch file processing: --file queries.sql --output csv
- Database context switching: --database dbname
📊 **Multi-Format Output:**
- Table format (ASCII) - default for interactive
- JSON format - structured data for programmatic use
- CSV format - spreadsheet-friendly output
- Smart auto-detection based on execution mode
⚙️ **Enhanced Interactive Shell:**
- Database context switching: USE database_name;
- Output format switching: \format table|json|csv
- Command history tracking (basic implementation)
- Enhanced help with WHERE operator examples
- Contextual prompts: seaweedfs:dbname>
🛠️ **Production Features:**
- Comprehensive error handling (JSON + user-friendly)
- Query execution timing and performance metrics
- 30-second timeout protection with graceful handling
- Real MQ integration with hybrid data scanning
📖 **Complete CLI Interface:**
- Full flag support: --server, --interactive, --file, --output, --database, --query
- Auto-detection of execution mode and output format
- Structured help system with practical examples
- Batch processing with multi-query file support
💡 **Advanced WHERE Integration:**
All extended operators (<=, >=, !=, LIKE, IN) fully supported
across all execution modes and output formats.
🎯 **Usage Examples:**
- weed sql --interactive
- weed sql --query 'SHOW DATABASES' --output json
- weed sql --file queries.sql --output csv
- weed sql --database analytics --interactive
Enhanced CLI experience complete - production ready! 🚀
|
1 month ago |
chrislu
|
4858f21639
|
feat: Extended WHERE Operators - Complete Advanced Filtering
✅ **EXTENDED WHERE OPERATORS IMPLEMENTEDtest ./weed/query/engine/ -v | grep -E PASS
|
1 month ago |