featurebase/sql3/planner
pokeeffe-molecula 8f660a5033
SQL BULK INSERT (fb-1749) (#2291)
SQL BULK INSERT

This change is to support a BULK INSERT/REPLACE statement that adds the ability to 1) take its input from a file, url or in-line blob 2) to map from the input source to the target columns
3) to transform data (using sql expressions) before inserting
4) support csv and ndjson formats

* improving test coverage

* increase test coverage again

* refactoring for handling transformation with types other than id and int
2022-11-15 09:25:40 -06:00
..
types And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05: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 fb-1744 implement system tables (#2276) 2022-11-07 17:48:00 -06:00
executionplannersystemtables.go fb-1744 implement system tables (#2276) 2022-11-07 17:48:00 -06:00
expression.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 09:25:40 -06:00
expressionagg.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
expressionanalyzer.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 09:25:40 -06:00
expressionanalyzercall.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 09:25:40 -06:00
expressionpql.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 09:25:40 -06:00
expressiontypes.go sql3 changes (#2211) 2022-09-06 11:16:11 -05: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 And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opgroupby.go tightened up is/is not null filter expressions (FB-1741) (#2260) 2022-10-27 13:11:14 -05:00
opinsert.go Batch insert via SQL (multiple tuples) (#2243) 2022-10-29 14:24:33 -05:00
opnestedloops.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05: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 And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opprojection.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
opquery.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00
oprelalias.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05: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
planner.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
planoptimizer.go Batch insert via SQL (multiple tuples) (#2243) 2022-10-29 14:24:33 -05:00
planwalker.go And now....INNER JOIN! (#2230) 2022-09-27 09:27:37 -05:00