RobAtticus NA
90d836a5b2
Merged in tables-docs (pull request #27 )
2017-01-11 15:20:33 -05:00
Rob Kiefer
93bbba8e0b
Update docs to expand and clarify data structures and concepts
2017-01-11 12:35:54 -05:00
Rob Kiefer
5bee8d7ee4
Format SQL setup files
2017-01-09 16:50:12 -05:00
RobAtticus NA
da6af1a6cc
Merged in more-cleanup (pull request #26 )
2017-01-09 10:30:49 -05:00
Rob Kiefer
5e43448613
Add more doc comments for meta triggers and functions
2017-01-09 10:30:34 -05:00
Rob Kiefer
050575feb6
Remove unused names.sql
2017-01-09 10:30:34 -05:00
Matvey Arye
ffc2be0a2c
Merged in multi-partition-insert-fix (pull request #25 )
...
Fix insert of batches that span multiple space partitions
2017-01-09 10:29:38 -05:00
Matvey Arye
f7253fe12a
Fix insert of batches that span multiple space partitions
2017-01-06 13:52:32 -05:00
Matvey Arye
6ef973141c
adding forgotten files
2017-01-06 13:51:17 -05:00
Matvey Arye
e7faa8911a
Regression tests cleanup to make tests repeat output less between tests (i.e. ioql_query does not repeat output from insert.sql)
2017-01-06 12:41:17 -05:00
RobAtticus NA
74fe879150
Merged in error-update-main (pull request #24 )
2017-01-06 12:12:22 -05:00
Rob Kiefer
24d75909c3
Throw error on UPDATE/DELETE attempts to main table
2017-01-05 16:25:10 -05:00
Matvey Arye
dd1f32bd43
Merged in time-column-name (pull request #23 )
...
Allow time columns to take arbitrary names as well as be integer or timestamp(with or without time zone) types.
2017-01-05 12:37:50 -05:00
Matvey Arye
c5d826d931
support for time columns of type timestamp
2017-01-05 12:35:08 -05:00
Matvey Arye
2cb4be6abd
Allow time columns to take arbitrary names
2017-01-05 12:11:38 -05:00
RobAtticus NA
1d50810ccb
Merged in cleanup-insert (pull request #20 )
2017-01-05 11:48:31 -05:00
Rob Kiefer
831aa6ab9c
Cleanup insert functions, move helpers to _sysinternal.
2017-01-05 11:48:00 -05:00
RobAtticus NA
0acc544e43
Merged in cleanup (pull request #22 )
2017-01-05 11:46:18 -05:00
Rob Kiefer
bee65feeb4
Add code docs and cleanup for ddl, table creation, and field triggers.
2017-01-04 15:29:08 -05:00
RobAtticus NA
1645a5a97b
Merged in insert-non-bulk (pull request #19 )
2017-01-03 10:37:41 -05:00
Rob Kiefer
cca1d654d7
Remove insert temp table, just use main table as temp insert location.
2017-01-02 23:18:44 -05:00
Rob Kiefer
94f3161370
Add logic for creating RULE to redirect INSERTs on root table.
2017-01-02 16:50:38 -05:00
Rob Kiefer
ff7762ea9e
Update hypertable metadata table to include 'insert_temp_table' and keep the insert temp table in-sync with root in terms of fields.
2017-01-02 16:50:38 -05:00
Matvey Arye
ee36949beb
restrict main table redirection to SELECTS
2017-01-02 16:49:55 -05:00
Matvey Arye
5ee64ddc91
Change main table -> replica table replacement code to respect the ONLY keyword. If inheritance not used (ONLY supplied), then the replacement does not happen.
2017-01-02 11:20:45 -05:00
Matvey Arye
170e030d5f
Upadting docs
2016-12-23 23:08:22 -05:00
Matvey Arye
94ab3b95d6
Upadting docs
2016-12-23 16:21:01 -05:00
Matvey Arye
ba990d4a10
Merged in mat/c-based-main-table-queries (pull request #18 )
...
Mat/c based main table queries
2016-12-23 15:01:30 -05:00
Matvey Arye
490019d20b
Use C parse-tree modifications to transform queries on main tables to that on replica tables
2016-12-23 14:32:45 -05:00
Matvey Arye
9089fe992a
make hypertable create transactional
2016-12-23 14:30:06 -05:00
Matvey Arye
8a72b2dd58
Merged in row-insert (pull request #15 )
...
Row-based temporary table insert
2016-12-23 14:25:57 -05:00
Rob Kiefer
cbcae063e4
Move to row-based temporary tables for insert.
2016-12-23 14:01:54 -05:00
Rob Kiefer
e3d9ce6d89
Convert insert_data to only deal with one hypertable batch at a time. Remove unused insert_data_one_partition.
2016-12-23 12:20:11 -05:00
Matvey Arye
0405a3ebb4
Merged in mat/ddl_extension (pull request #13 )
...
Mat/ddl extension
2016-12-23 10:57:32 -05:00
Matvey Arye
e386a45213
Make DDL operations work on top of the main table
...
Instead of having specialized functions to alter the schema
of hypertables, we use event triggers on a hypertable's main
table. This allows for a more natural user experience.
2016-12-21 17:42:39 -05:00
Olof Rensfelt
19a06bc602
Merged in olof_rensfelt/backend-database/ore/extension (pull request #14 )
...
Add test for hash function.
2016-12-21 16:22:58 +01:00
Olof Rensfelt
91765e241f
Add test for hash function.
2016-12-21 13:45:33 +01:00
Olof Rensfelt
e76ab64101
Merged in olof_rensfelt/backend-database/ore/extension (pull request #12 )
...
Ore/extension
2016-12-20 18:40:54 +01:00
Olof Rensfelt
0f3aa8d557
* Add _meta schema to allow all code to be loaded on both meta and nodes.
...
* Split SQL into functions and setup.
* Remove hash-lib dependency.
* Makes code into Postgresql extension.
2016-12-20 16:10:59 +01:00
Olof Rensfelt
650eee26be
Merged in olof_rensfelt/backend-database/ore/go_tests (pull request #10 )
...
Added query tests.
2016-12-02 15:33:14 +00:00
Olof Rensfelt
3ac5ea7fd6
Added query tests.
2016-12-02 16:12:50 +01:00
Matvey Arye
7fa37f10bc
Bug Fix: create index only on local tables
2016-11-29 10:24:36 -05:00
Matvey Arye
77a12411d2
fix time period limits
2016-11-28 22:06:36 -05:00
Matvey Arye
f56701f738
Fix non existant hypertable case
2016-11-28 21:49:44 -05:00
Olof Rensfelt
3c9c752ce4
Merged in olof_rensfelt/backend-database/ore/unit_tests (pull request #9 )
...
Update unit tests
2016-11-23 19:25:29 +00:00
Olof Rensfelt
12f260f893
Update unit tests
2016-11-23 18:52:31 +01:00
Matvey Arye
a61ea9fe7c
Merged in DesignRefactor (pull request #6 )
...
Designrefactor
2016-11-22 21:51:40 +00:00
Matvey Arye
3c72689664
Finishing refactor TODOs & Formatting. Placement and cross-epoch queries.
2016-11-22 16:49:44 -05:00
Matvey Arye
939a4008ad
Cleanup after refactor
2016-11-22 16:42:19 -05:00
Matvey Arye
582671f926
Queries again work after previous refactoring
2016-11-22 16:41:28 -05:00