featurebase/sql3/parser
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
..
ast.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
ast_test.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
astdatatype.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
parser.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
parser_test.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
scanner.go fix sum aggregate (fb-1874) (#2404) 2023-01-12 00:49:58 +00:00
scanner_test.go SQL BULK INSERT (fb-1749) (#2291) 2022-11-15 11:33:38 -08:00
token.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
token_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
walk.go implement CREATE/ALTER/DROP VIEW (fb-1592) (#2408) 2023-01-19 21:51:16 +00:00