featurebase/sql3/planner
Travis Turner 126be915a9
Support for setting individual DatabaseOptions (#2231)
* Implement Schemar.SetDatabaseOption(option, value string)

This replaces the temporary `SetDatabaseOptions()` method, which
replaced the entire DatabaseOptions struct, with `SetDatabaseOption`
which takes an option/value pair of strings to set.

* Add SetDatabaseOption to controller http handler and client

This commit also:
- renames some `writeLog` to `writelog`
- updates ApplyDirective to call resource.Unlock() on any resources
  being removed from the local worker

* Add Database related methods to SchemaAPI interface

Currently all implementations of this interface are implemented with
"unimplemented" errors on those methods. Next will be to implement the
necessary methods.

* SQL: CREATE DATABASE and SHOW DATABASES

* SQL: DROP DATABASE

* SQL: Add UNITS option to CREATE DATABASE

* SQL: ALTER DATABASE

* User serverlessStorage.Remove[*]Resource instead of resource.Unlock()

* Add WITH keyword to CREATE/ALTER DATABASE

* fix some WITH logic

* linter fixes

* WITH on CREATE DATABASE is not required
2023-02-06 08:50:28 -06:00
..
types introduce performance counters and system table fanout, plus refactor metrics (#2363) 2023-01-19 21:35:02 +00:00
compilealterdatabase.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
compilealtertable.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
compilebulkinsert.go bulk import support for parquet files (#2226) 2023-01-26 08:32:39 -06:00
compilecreatedatabase.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
compilecreatetable.go introduce performance counters and system table fanout, plus refactor metrics (#2363) 2023-01-19 21:35:02 +00:00
compilecreateview.go Database isolation: Balancer (#2407) 2023-01-19 22:10:08 +00:00
compiledelete.go implement CREATE/ALTER/DROP VIEW (fb-1592) (#2408) 2023-01-19 21:51:16 +00:00
compiledropdatabase.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
compiledroptable.go fix go deps, add lattice 2023-01-20 02:11:00 +00:00
compiledropview.go Database isolation: Balancer (#2407) 2023-01-19 22:10:08 +00:00
compileinsert.go fix go deps, add lattice 2023-01-20 02:11:00 +00:00
compileselect.go hand comma version of inner join (#2221) 2023-01-25 13:37:05 -06:00
compileshow.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
executionplanner.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
executionplannersystemtables.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
expression.go Fb-1816 : CharIndex str func (#2216) 2023-01-30 16:08:46 -05:00
expression_it_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
expressionagg.go fix sum aggregate (fb-1874) (#2404) 2023-01-12 00:49:58 +00:00
expressionanalyzer.go Implement DELETE (fb 1557) (#2382) 2023-01-10 23:25:08 +00:00
expressionanalyzercall.go Fb-1816 : CharIndex str func (#2216) 2023-01-30 16:08:46 -05:00
expressionpql.go Implement DELETE (fb 1557) (#2382) 2023-01-10 23:25:08 +00:00
expressiontypes.go FB-1814: Implement ASCII() (#2378) 2023-01-12 00:49:58 +00:00
inbuiltfunctionsdate.go implemented extract ddl; tightened up type related stuff (#2329) 2022-12-12 09:01:20 -08:00
inbuiltfunctionsset.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
inbuiltfunctionsstring.go Fb-1816 : CharIndex str func (#2216) 2023-01-30 16:08:46 -05: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
opalterdatabase.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
opaltertable.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
opalterview.go Database isolation: Balancer (#2407) 2023-01-19 22:10:08 +00:00
opbulkinsert.go bulk import support for parquet files (#2226) 2023-01-26 08:32:39 -06:00
opcreatedatabase.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
opcreatetable.go fix import paths and import cycles 2023-01-12 00:31:14 +00:00
opcreateview.go Database isolation: Balancer (#2407) 2023-01-19 22:10:08 +00:00
opdistinct.go Sup 294 pre sort command (#2209) 2023-01-23 12:26:38 -06:00
opdropdatabase.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
opdroptable.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
opdropview.go Database isolation: Balancer (#2407) 2023-01-19 22:10:08 +00:00
opfanout.go introduce performance counters and system table fanout, plus refactor metrics (#2363) 2023-01-19 21:35:02 +00:00
opfeaturebasecolumns.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
opfeaturebasedatabases.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
opfeaturebasetables.go Database isolation: Balancer (#2407) 2023-01-19 22:10:08 +00:00
opfilter.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
opgroupby.go fix import paths and import cycles 2023-01-12 00:31:14 +00:00
ophaving.go fix import paths 2023-01-11 18:59:24 +00:00
opinsert.go make the count....count (#2416) 2023-01-19 22:10:15 +00:00
opnestedloops.go hand comma version of inner join (#2221) 2023-01-25 13:37:05 -06:00
opnulltable.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
oporderby.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
oppqlaggregate.go timestamp fixes (#2224) 2023-01-25 14:07:15 -06:00
oppqldelete.go fix import paths 2023-01-11 18:59:24 +00:00
oppqldistinctscan.go fix go deps, add lattice 2023-01-20 02:11:00 +00:00
oppqlfiltereddelete.go fix import paths 2023-01-11 18:59:24 +00:00
oppqlgroupby.go fix import paths and import cycles 2023-01-12 00:31:14 +00:00
oppqlmultiaggregate.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
oppqlmultigroupby.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
oppqltablescan.go fix go deps, add lattice 2023-01-20 02:11:00 +00:00
opprojection.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
opqltruncate.go fix import paths 2023-01-11 18:59:24 +00:00
opquery.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
oprelalias.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
opsubquery.go fix import paths and import cycles 2023-01-12 00:31:14 +00:00
opsystemtable.go introduce performance counters and system table fanout, plus refactor metrics (#2363) 2023-01-19 21:35:02 +00:00
optablevaluedfunction.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
optop.go implemented DISTINCT (fb-1562) (#2388) 2023-01-10 23:28:00 +00:00
planoptimizer.go hand comma version of inner join (#2221) 2023-01-25 13:37:05 -06:00
planwalker.go Implement DELETE (fb 1557) (#2382) 2023-01-10 23:25:08 +00:00
systemobjects.go Database isolation: Balancer (#2407) 2023-01-19 22:10:08 +00:00
wireprotocol.go introduce performance counters and system table fanout, plus refactor metrics (#2363) 2023-01-19 21:35:02 +00:00