|
| 1 | +# Squongo Project TODO List |
| 2 | + |
| 3 | +## Integration Tests to Add |
| 4 | + |
| 5 | +### Simple Queries |
| 6 | +- [ ] Test SELECT with multiple column aliases |
| 7 | +- [ ] Test SELECT with arithmetic operations in projections |
| 8 | +- [x] Test SELECT with multiple WHERE conditions connected by OR |
| 9 | +- [ ] Test SELECT with IN operator |
| 10 | +- [ ] Test SELECT with NOT IN operator |
| 11 | +- [ ] Test SELECT with NULL/NOT NULL checks |
| 12 | +- [ ] Test SELECT with LIMIT and OFFSET |
| 13 | +- [ ] Test SELECT with ORDER BY multiple fields |
| 14 | +- [ ] Test SELECT with ORDER BY ASC/DESC combinations |
| 15 | + |
| 16 | +### Nested Field Access |
| 17 | +- [ ] Test querying on deeply nested fields (3+ levels deep) |
| 18 | +- [ ] Test projecting multiple nested fields simultaneously |
| 19 | +- [x] Test filtering with comparisons on nested fields |
| 20 | +- [ ] Test updating nested fields |
| 21 | +- [x] Test nested field access with complex WHERE conditions |
| 22 | + |
| 23 | +### Array Access |
| 24 | +- [ ] Test querying arrays with multiple indices |
| 25 | +- [x] Test filtering by array element properties at different indices |
| 26 | +- [ ] Test filtering by multiple array elements simultaneously |
| 27 | +- [ ] Test projecting multiple array elements in one query |
| 28 | +- [ ] Test array access with nested arrays |
| 29 | +- [ ] Test updating array elements |
| 30 | + |
| 31 | +### GROUP BY |
| 32 | +- [ ] Test GROUP BY with multiple columns |
| 33 | +- [ ] Test GROUP BY with HAVING clause |
| 34 | +- [ ] Test GROUP BY with multiple aggregation functions |
| 35 | +- [x] Test aggregation functions: AVG, MIN, MAX, COUNT |
| 36 | +- [ ] Test GROUP BY with ORDER BY on aggregation results |
| 37 | +- [ ] Test GROUP BY with complex expressions |
| 38 | +- [ ] Test GROUP BY with filtering before aggregation |
| 39 | +- [ ] Test GROUP BY on nested fields |
| 40 | +- [ ] Test performance with large dataset aggregation |
| 41 | + |
| 42 | +### JOINs |
| 43 | +- [x] Test INNER JOIN with multiple conditions |
| 44 | +- [ ] Test LEFT OUTER JOIN implementation |
| 45 | +- [ ] Test RIGHT OUTER JOIN implementation |
| 46 | +- [ ] Test FULL OUTER JOIN implementation |
| 47 | +- [ ] Test JOIN with WHERE conditions |
| 48 | +- [ ] Test multiple JOINs in one query (3+ tables) |
| 49 | +- [ ] Test JOINs with aggregation |
| 50 | +- [ ] Test JOINs with nested field access |
| 51 | +- [ ] Test JOINs with array field access |
| 52 | +- [ ] Test performance with large dataset JOINs |
| 53 | + |
| 54 | +### Advanced Features |
| 55 | +- [ ] Test CASE statements in SELECT list |
| 56 | +- [ ] Test subqueries in WHERE clause |
| 57 | +- [ ] Test subqueries in FROM clause |
| 58 | +- [ ] Test window functions if supported |
| 59 | +- [ ] Test date/time functions |
| 60 | +- [ ] Test string functions |
| 61 | + |
| 62 | +### Edge Cases |
| 63 | +- [ ] Test handling of special characters in field names |
| 64 | +- [ ] Test handling of extremely large result sets |
| 65 | +- [ ] Test behavior with invalid SQL syntax |
| 66 | +- [ ] Test behavior with valid SQL but unsupported features |
| 67 | +- [ ] Test behavior with missing collections |
| 68 | +- [ ] Test behavior with invalid data types |
| 69 | +- [ ] Test handling of MongoDB ObjectId conversions |
| 70 | + |
| 71 | +## Performance Testing |
| 72 | +- [ ] Benchmark simple queries vs native MongoDB queries |
| 73 | +- [ ] Benchmark complex queries vs native MongoDB queries |
| 74 | +- [ ] Benchmark with increasing dataset sizes (10K, 100K, 1M documents) |
| 75 | +- [ ] Identify bottlenecks in the translation process |
| 76 | +- [ ] Optimize query execution for common patterns |
| 77 | + |
| 78 | +## Documentation |
| 79 | +- [ ] Document SQL syntax support and limitations |
| 80 | +- [ ] Create examples of each supported SQL feature |
| 81 | +- [ ] Document MongoDB query translation for each SQL feature |
| 82 | +- [ ] Create a troubleshooting guide |
| 83 | +- [ ] Add inline code documentation |
| 84 | + |
| 85 | +## Feature Enhancements |
| 86 | +- [ ] Add support for SQL DISTINCT |
| 87 | +- [ ] Implement SQL subquery support |
| 88 | +- [ ] Support for data types (DATE, TIMESTAMP, BOOLEAN) |
| 89 | +- [ ] Add basic transaction support |
| 90 | +- [ ] Support for SQL UNION, INTERSECT, EXCEPT |
| 91 | +- [ ] Add index creation/management via SQL |
| 92 | +- [ ] Implement execution plan visualization |
| 93 | +- [ ] Add query caching |
| 94 | +- [ ] Support for conditional expressions (CASE) |
| 95 | +- [ ] Add execution metrics and query profiling |
0 commit comments