featurebase/sql3
Travis Turner aa17b8d725
Enable linter: stylecheck (#2317)
* Enable linter: stylecheck

This enabled the stylecheck linter, but excludes some staticchecks for
now. The following are ignored because they will take a bit of time to
address, but the intention is to address them and remove them from the
exclusion list.

ST1000: at least one file in a package should have a package comment
ST1003: golang naming standards
ST1008: error should be returned as the last argument
ST1016: methods on the same type should have the same receiver name
ST1020: comment on exported function

* Address ST1015

For some reason this failed in CI but not locally. I can't figure out
why that check isn't happening locally. This just moves the switch
statements around so that the `default` is the first (or last) item.

* Adjust error string in test to match case-adjusted error

* Remove TestCloseTimeout
2023-03-14 08:45:18 -05:00
..
parser Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00
planner Enable linter: stylecheck (#2317) 2023-03-14 08:45:18 -05:00
test handle empty avg agg (#2316) 2023-03-13 12:59:38 -05:00
errors.go FB-1894: Implement DateTimeDiff() (#2307) 2023-03-10 10:12:27 -06: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 compileOrderingTermExpr needs to return alias and not expression (#2300) 2023-03-07 15:56:58 -06:00
sql_test.go forward-port tests from SQL1 tree (#2261) 2023-03-01 13:40:50 -06:00