featurebase/sql3/planner
pokeeffe-molecula 5f662d2bce
fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307)
this commit changes the way the plan is retrieved; implements Stringer on types.PlanExpression in preparation for HAVING support; removes last vestiges internal float64 arithmetic; implements a filter on PlanOpFilter; fixes various bugs in the PlanOptimizer when rewriting qualified references

* fixed selects with unqualified identifiers

* handle bad and non-existent query param inputs more appropriately

* added test coverage for PlanExpression Stringer

Co-authored-by: Matthew Jaffee <jaffee@pilosa.com>
2022-11-21 14:31:45 -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 fb-1744 implement system tables (#2276) 2022-11-07 17:48:00 -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 fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -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 join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
expressionanalyzer.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
expressionanalyzercall.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
expressionpql.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 09:25:40 -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 And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
oppqlaggregate.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
oppqlgroupby.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
oppqlmultiaggregate.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
oppqlmultigroupby.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05: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 join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -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 And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
planoptimizer.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00
planwalker.go fixed join bugs by fixing query optimizer (fb-1699, fb-1700) (#2307) 2022-11-21 14:31:45 -06:00