featurebase/sql3/planner
pokeeffe-molecula eae8376181 Tighten up ORDER BY (fb 507) (#2318)
* tighten up checks for order by expressions fixed ordering by expressions

* added testing to cover order by cases

* Add DecimalAgg member to proto GroupCount definition

In DAX, where we have split the orchestrator from the executor, and the
orchestrator can run on a different host, there are cases where
`GroupCount`s can travel over the wire via the Internal Client. In these
cases, when the group count contains a decimal aggregate, we need to
send that value as the appropriate type.

* fixed missing cases in order by and case block eval

Co-authored-by: Travis Turner <travis@molecula.com>
(cherry picked from commit 158cc669d9)
2022-12-12 09:01:20 -08:00
..
types fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
compilealtertable.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
compilebulkinsert.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 11:33:38 -08:00
compilecreatetable.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
compiledroptable.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
compileinsert.go Batch insert via SQL (multiple tuples) (#2243) 2022-11-15 11:25:36 -08:00
compileselect.go Tighten up ORDER BY (fb 507) (#2318) 2022-12-12 09:01:20 -08:00
compileshow.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
executionplanner.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
executionplannersystemtables.go Add DAX - full list of squashed commits below 2022-12-12 09:01:20 -08:00
expression.go Tighten up ORDER BY (fb 507) (#2318) 2022-12-12 09:01:20 -08:00
expression_it_test.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
expressionagg.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00
expressionanalyzer.go Tighten up ORDER BY (fb 507) (#2318) 2022-12-12 09:01:20 -08:00
expressionanalyzercall.go Fix formatting in CLI results with custom SQLResonse.UnmarshalJSON (#2305) 2022-12-12 09:01:20 -08:00
expressionpql.go handle filters on _id columns (fb-1765) (#2313) 2022-12-12 09:01:20 -08:00
expressiontypes.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
inbuiltfunctionsdate.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
inbuiltfunctionsset.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
inbuiltfunctionstable.go added testify dependency 2022-09-30 11:31:37 -07:00
main_test.go added testify dependency 2022-09-30 11:31:37 -07:00
memoryobj.go added testify dependency 2022-09-30 11:31:37 -07:00
opaltertable.go sql3 changes (#2211) 2022-09-30 11:21:11 -07:00
opbulkinsert.go Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
opcreatetable.go merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
opdistinct.go sql3 changes (#2211) 2022-09-30 11:21:11 -07:00
opdroptable.go And now....INNER JOIN! (#2230) 2022-09-30 11:25:27 -07:00
opfeaturebasecolumns.go And now....INNER JOIN! (#2230) 2022-09-30 11:25:27 -07:00
opfeaturebasetables.go And now....INNER JOIN! (#2230) 2022-09-30 11:25:27 -07:00
opfilter.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
opgroupby.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
opinsert.go Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
opnestedloops.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
opnulltable.go And now....INNER JOIN! (#2230) 2022-09-30 11:25:27 -07:00
oporderby.go Tighten up ORDER BY (fb 507) (#2318) 2022-12-12 09:01:20 -08:00
oppqlaggregate.go And now....INNER JOIN! (#2230) 2022-09-30 11:25:27 -07:00
oppqlgroupby.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00
oppqlmultiaggregate.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00
oppqlmultigroupby.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00
oppqltablescan.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
opprojection.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00
opquery.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
oprelalias.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-12-12 09:01:20 -08:00
opsubquery.go And now....INNER JOIN! (#2230) 2022-09-30 11:25:27 -07:00
opsystemtable.go Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
optablevaluedfunction.go added testify dependency 2022-09-30 11:31:37 -07:00
optop.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00
planoptimizer.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00
planwalker.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-12-12 09:01:20 -08:00