This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Namespace(Schema) support + Catalog refactoring (#1302)
* codegen insert catalog tuple * fix segfault caused by bad insert plan * consider cached catalog queries * add update method using old engine * add update method using old engine * add version id column into pg_table * column id and offset use uint32 * system catalogs * using system catalog instead of singleton * remove default constructer * fix catalog map * system catalog return value change to shared pointer * refactoring system catalog, seems to compile now * refactor fix * refactor, peloton can start and finish bootstrap. TODO: refactor global unique oid * fixed pg_database index, still cannot find system catalog in other databases * fix two misuse of CATALOG_DATABASE_OID * seems to work now * fix two tests * fix drop index bug, need information about database * change test case, mainly gettablecount * fix query cache test * half way fixing trigger test * trigger catalog * move trigger_catalog into per database * can pass trigger test now, also drop trigger when drop table * fix udf test, bootstrap only once * fix db names * initialize nullptr * TODO: fix GetInstance, fix AddBuiltInFunctions * roll back pg_proc for now... require refactoring later * query metrics catalog refactor * change metrics tables access method * stats_test still has problem * fix query metrics bugs, pass test cases in stats_test * merge local changes * fix all the test cases * fix double initialize * add full functionality of create/drop schema(namespace) * rebase to latest master branch * add more comments * fix test case errors, able to compile, one failing test * resolve conflicts * fix iso compile bug * make changes according to pooja's reviews * added namespace sql test * addressing pooja's comments * fix plan util test
- Loading branch information
Showing
124 changed files
with
3,616 additions
and
2,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.