Files
seaweedfs/weed
chrislu ac69d6e5c7 feat: Add date/time functions CURRENT_DATE, CURRENT_TIMESTAMP, EXTRACT with comprehensive tests
- Implement CURRENT_DATE returning YYYY-MM-DD format
- Add CURRENT_TIMESTAMP returning TimestampValue with microseconds
- Add CURRENT_TIME returning HH:MM:SS format
- Add NOW() as alias for CURRENT_TIMESTAMP
- Implement comprehensive EXTRACT function supporting:
  - YEAR, MONTH, DAY, HOUR, MINUTE, SECOND
  - QUARTER, WEEK, DOY (day of year), DOW (day of week)
  - EPOCH (Unix timestamp)
- Support multiple input formats:
  - TimestampValue (microseconds)
  - String dates (multiple formats)
  - Unix timestamps (int64 seconds)
- Comprehensive test suite with 15+ test cases covering:
  - All date/time constants
  - Extract from different value types
  - Error handling for invalid inputs
  - Timezone handling

All tests passing 
2025-09-04 00:16:22 -07:00
..
2025-08-09 21:47:29 -07:00
2025-07-19 23:56:17 -07:00
fix
2025-09-04 00:07:06 -07:00
2025-08-30 11:15:48 -07:00
2025-08-31 23:31:28 -07:00
2025-08-30 11:15:48 -07:00
fix
2025-09-04 00:07:06 -07:00
2025-08-22 01:15:42 -07:00
2025-08-30 11:15:48 -07:00
2024-06-25 09:18:11 -07:00
fix
2025-09-03 22:57:47 -07:00
2025-08-30 11:15:48 -07:00
2025-09-03 17:42:30 -07:00
2024-02-14 08:26:38 -08:00
2025-09-03 21:55:32 -07:00
2025-07-19 21:43:34 -07:00
2025-03-17 23:13:27 -07:00