featurebase/sql3/parser
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
..
ast.go Simplify/centralize time parsing 2023-04-07 17:02:37 -05:00
ast_test.go create model, create function... all the goodies (#2264) 2023-04-04 17:44:29 -05:00
astdatatype.go implement select from time quantum columns (fb-1654) (#2282) 2023-03-02 00:06:58 -06:00
parser.go test function bodies in parser 2023-04-07 16:25:24 -05:00
parser_test.go test function bodies in parser 2023-04-07 16:25:24 -05:00
scanner.go drop unused isHex and IsInteger functions 2023-03-27 16:56:29 -05:00
scanner_test.go increase parser test coverage significantly 2023-03-27 16:56:29 -05:00
token.go create model, create function... all the goodies (#2264) 2023-04-04 17:44:29 -05:00
token_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
walk.go implemented query hints (flatten) (fb-2124) (#2373) 2023-04-06 17:28:24 -05:00