featurebase/sql3
Seebs a158bba125 Simplify/centralize time parsing
We had a bunch of different places which had basically the
same logic, except that some were testing both RFC3339Nano
and RFC3339 formats, and some weren't.

This turns out not to matter, because the fractional second
part is always permitted and never required, so those two
formats are identical.

Mostly, though, we now ensure that everything we do that is
trying to convert timestamps has the same logic, so if we
want to make changes to that logic, we have a central point,
which lives in the parser.

This came out of an attempt to figure out why the RFC3339
case wasn't getting any test coverage.
2023-04-07 17:02:37 -05:00
..
parser Simplify/centralize time parsing 2023-04-07 17:02:37 -05:00
planner Simplify/centralize time parsing 2023-04-07 17:02:37 -05:00
test Simplify/centralize time parsing 2023-04-07 17:02:37 -05:00
errors.go tidy up show tables behavior (#2374) 2023-04-07 12:58:09 -05:00
interfaces.go introduce performance counters and system table fanout, plus refactor metrics (#2363) 2023-01-19 21:35:02 +00:00
main_test.go added testify dependency 2022-09-30 11:31:37 -07:00
sql_complex_test.go Simplify/centralize time parsing 2023-04-07 17:02:37 -05:00
sql_test.go Fb 2048 (#2363) 2023-04-03 12:04:41 -05:00