featurebase/sql3/planner
pokeeffe-molecula f030d58d95
implemented DISTINCT (fb-1562) (#2388)
* implemented distinct

* implemented distinct
* uses first cut of a buffer pool, and extendible hashing with thresholded spill to disk
* tests
* cleaned up some stuff around query plan output to make developing tooling easier
* added optimization to call PQL Distinct()

* fixed test

* fix for passing wrong index name in orchestrator

* back out change to DistinctTimestamp

* fix other instance of wrong table name being passed

* use full index name instead of abbreviated one for translation. sigh.

* removed some unused code

Co-authored-by: Matthew Jaffee <jaffee@pilosa.com>
2023-01-03 22:13:31 -06:00
..
types implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
compilealtertable.go Convert SchemaAPI interface to use dax.Table instead of pilosa.IndexInfo (#2336) 2022-12-08 11:35:17 -06:00
compilebulkinsert.go add allow_missing_values option to bulk insert (fb-1823) (#2372) 2022-12-14 18:32:27 -06:00
compilecreatetable.go handling missing epoch constraint correctly (#2366) 2022-12-14 17:53:17 -06:00
compiledelete.go Implement DELETE (fb 1557) (#2382) 2022-12-19 16:34:28 -06:00
compiledroptable.go Convert SchemaAPI interface to use dax.Table instead of pilosa.IndexInfo (#2336) 2022-12-08 11:35:17 -06:00
compileinsert.go Convert SchemaAPI interface to use dax.Table instead of pilosa.IndexInfo (#2336) 2022-12-08 11:35:17 -06:00
compileselect.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
compileshow.go added updated_at column to show tables output (#2364) 2022-12-14 10:15:42 -06:00
executionplanner.go Implement DELETE (fb 1557) (#2382) 2022-12-19 16:34:28 -06:00
executionplannersystemtables.go Convert SchemaAPI interface to use dax.Table instead of pilosa.IndexInfo (#2336) 2022-12-08 11:35:17 -06:00
expression.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
expression_it_test.go implemented extract ddl; tightened up type related stuff (#2329) 2022-12-05 16:50:30 -06:00
expressionagg.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
expressionanalyzer.go Implement DELETE (fb 1557) (#2382) 2022-12-19 16:34:28 -06:00
expressionanalyzercall.go Fb 1818 Implement PREFIX() and SUFFIX() (#2371) 2022-12-19 16:31:27 -05:00
expressionpql.go Implement DELETE (fb 1557) (#2382) 2022-12-19 16:34:28 -06:00
expressiontypes.go you should be able to cast an id as a string (#2334) 2022-12-07 14:27:01 -06:00
inbuiltfunctionsdate.go implemented extract ddl; tightened up type related stuff (#2329) 2022-12-05 16:50:30 -06:00
inbuiltfunctionsset.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
inbuiltfunctionsstring.go Fb 1818 Implement PREFIX() and SUFFIX() (#2371) 2022-12-19 16:31:27 -05: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
opaltertable.go Convert SchemaAPI interface to use dax.Table instead of pilosa.IndexInfo (#2336) 2022-12-08 11:35:17 -06:00
opbulkinsert.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opcreatetable.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opdistinct.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opdroptable.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opfeaturebasecolumns.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opfeaturebasetables.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opfilter.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opgroupby.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
ophaving.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opinsert.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opnestedloops.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opnulltable.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oporderby.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqlaggregate.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqldelete.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqldistinctscan.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqlfiltereddelete.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqlgroupby.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqlmultiaggregate.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqlmultigroupby.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oppqltablescan.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opprojection.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opqltruncate.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opquery.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
oprelalias.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opsubquery.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
opsystemtable.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
optablevaluedfunction.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
optop.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
planoptimizer.go implemented DISTINCT (fb-1562) (#2388) 2023-01-03 22:13:31 -06:00
planwalker.go Implement DELETE (fb 1557) (#2382) 2022-12-19 16:34:28 -06:00