featurebase/sql3/planner
pokeeffe-molecula 158cc669d9
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>
2022-11-30 11:32:37 -06:00
..
types fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
compilealtertable.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
compilebulkinsert.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 09:25:40 -06:00
compilecreatetable.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
compiledroptable.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
compileinsert.go Batch insert via SQL (multiple tuples) (#2243) 2022-10-29 14:24:33 -05:00
compileselect.go Tighten up ORDER BY (fb 507) (#2318) 2022-11-30 11:32:37 -06:00
compileshow.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
executionplanner.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
executionplannersystemtables.go Add DAX - full list of squashed commits below 2022-11-16 11:19:40 -06:00
expression.go Tighten up ORDER BY (fb 507) (#2318) 2022-11-30 11:32:37 -06:00
expression_it_test.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
expressionagg.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00
expressionanalyzer.go Tighten up ORDER BY (fb 507) (#2318) 2022-11-30 11:32:37 -06:00
expressionanalyzercall.go Fix formatting in CLI results with custom SQLResonse.UnmarshalJSON (#2305) 2022-11-21 18:43:53 -06:00
expressionpql.go handle filters on _id columns (fb-1765) (#2313) 2022-11-23 15:26:04 -06:00
expressiontypes.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
inbuiltfunctionsdate.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
inbuiltfunctionsset.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
inbuiltfunctionstable.go sql3 changes (#2211) 2022-09-06 11:16:11 -05:00
main_test.go use testhook test cleanup 2022-09-26 12:33:43 -05:00
memoryobj.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opaltertable.go sql3 changes (#2211) 2022-09-06 11:16:11 -05:00
opbulkinsert.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 09:25:40 -06:00
opcreatetable.go fb-1729 Enriched Table Metadata (#2255) 2022-10-26 11:23:40 -05:00
opdistinct.go sql3 changes (#2211) 2022-09-06 11:16:11 -05:00
opdroptable.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opfeaturebasecolumns.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opfeaturebasetables.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opfilter.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
opgroupby.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
opinsert.go Batch insert via SQL (multiple tuples) (#2243) 2022-10-29 14:24:33 -05:00
opnestedloops.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
opnulltable.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
oporderby.go Tighten up ORDER BY (fb 507) (#2318) 2022-11-30 11:32:37 -06:00
oppqlaggregate.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
oppqlgroupby.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00
oppqlmultiaggregate.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00
oppqlmultigroupby.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00
oppqltablescan.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
opprojection.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00
opquery.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
oprelalias.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
opsubquery.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opsystemtable.go fb-1744 implement system tables (#2276) 2022-11-07 17:48:00 -06:00
optablevaluedfunction.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
optop.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00
planoptimizer.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00
planwalker.go fixed top(x) where top cannot be pushed down into pql query (#2311) 2022-11-22 19:21:47 -06:00