-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add extraction additions * interim * add test * interim * working dedupe * improved checking * add timestamp option * fix extra looping * add check * start on tests * tidy up code * update link * tidy up * Rename executeFullExtractionToDatabaseMSSql.md to ExecuteFullExtractionToDatabaseMSSql.md * fix typo * add docs * update * update documentation * attempt fix docs * update docs * tidy up code * better tests * add real test * tidy up * interim * grab existiing entity * no new data * add basic tests * attempt to fix test * interim * interim commit * working clash * add test * fix test * improved clash checker * tidy up * update test * fix up test * update from codeql * tidy up code * fix bad merge * fix typo * skip over for now * revert change * Task/RDMP-180 Add instance settings table (#1820) * working settings interface * add documentation * add missing files * update namespace * add icon * update from run * make key unique * add tests * update tests * update for tests * fix unique name issue * tidy up * tidy up from review * works * nested deprications * recursive deprication * tidy up * add newline * Task/rdmp 174 dqe improvements (#1849) * working scallable graph * add changelog * add axis override * interim * working increments * working ui refresh * update changelog * tidy up code * add missing file * tidy up * Task/rdmp 155 migrate catalogue tables (#1805) * start of UI * interim * working switch * improved ui * fix build * rename duped file * imterim * add checks * start of tests * local tests working * add tests * improved ui * tidy up * add single item use * broken test * updated tests * tidy up imports * add some documentation * fix documentation issue * update test * update from codeql * codeql update * fix typo * fix build * fix bad merge * Task/rdmp 151 Custom Load Metadata Locations (#1784) * intermediate commit * split of load directory paths * working with ui * add migration * add tests * fix version * add docs * fix image * tidy up * update patch id * interim * working build * fix linux pathing * start up update patch * update patch * update tests * update patch * fix typo * update docs * codeql updates * use paths * upate tests * update codeql * update test * fix stub test * tidy up * use correct number * Bugfix/rdmp 193 is test type (#1860) * Fix initial INSERTs of logging table * Only MSSQL needs integer-as-bool hack, sane DBs can use TRUE/FALSE keywords --------- Co-authored-by: James A Sutherland <> * fix patch * fix metadata * fix typo * add bugfix for deleting depricated extended properties * Task/RDMP172 Add Ability to Remove GroupBy In Aggregate Builder (#1815) * start og groupby toggle working * ui toggles * add patch * fix versioning issue * add changelog * tidy up * attempt test fix * fix changelog * tidy up code * codeql * update patch number * ad dmissing file * update patch * updtae patch * add go * update patch * Task/rdmp 187 cohort versioning (#1847) * working settings interface * add documentation * add missing files * update namespace * add icon * update from run * make key unique * add tests * update tests * update for tests * fix unique name issue * tidy up * add db change * init * fix merge * working build * interim * initial save working * add correct versioning * working ui * interim * better clone * tidy up code * working filtered list * tidy up ui * remove old code * add basic test * tidy up * add tests * interim ui tidyup * tidy up * tidy up * add skip * fix tests * add control * open new window * tidy up code * tidy up * tidy up * fix build * list cohort versions * add docs * updates from uat * tidy up * tidy up * Task/RDMP-153 Improve RDMP Plugin Experience (#1786) * add keyboard shortcut * add .rdmp plugin handling * fix picker * working with RC * add todo note * tidy up * tidy up * add changelog * update build to pull .rdmp files * fix changelog * fix changelog * Task/rdmp 191 extract to db improvements (#1862) * WORKING TRIGGER * working update * fix build * better trigger * sort of working * fix clash * add null check * add todo note * add come notes * update changelog * attempt to fix tests * only add column once * tidy up code * move pk dropping * put pk in correct place * reorder * add check for trigger * better check for PK * start of index * working indexes * tidy up code * index tests * interim test * working triggers * allow nulls * fix patch * fix typo * tidy up * comment out test * re-add test * dispose of pipeline * tidy up * add more tests * update test * improved pk matching * fuix up tests * updates from review * tidy up tests * fix graph * update test plan * make loadmetasplit backwards compatable * improve lmd ui * closing catalogue * Update TestPlan.md * fix spelling * remove with values --------- Co-authored-by: Brian <[email protected]> Co-authored-by: rdteviotdale <[email protected]>
- Loading branch information
1 parent
6ce85ad
commit 4ee56cc
Showing
125 changed files
with
7,230 additions
and
1,264 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
650 changes: 303 additions & 347 deletions
650
Application/ResearchDataManagementPlatform/Menus/RDMPTopMenuStripUI.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Update A [Catalogue](../CodeTutorials/Glossary.md#Catalogue) Data Location | ||
It can be useful to migrate data from one database to another. | ||
Instead of reimporting a [catalogue](../CodeTutorials/Glossary.md#Catalogue), RDMP allows you to repoint the [catalogue](../CodeTutorials/Glossary.md#Catalogue) to the location of your moved data. | ||
|
||
## How to | ||
* Right Click an a Catalogue > Catalogue Items > Update Catalogue Data Location | ||
* This will open a new dialog | ||
* From here, you can select which columns you wish to update and tell RDMP where the new location is | ||
* RDMP will perform several checks to make sure the new data location is available and of the correct types | ||
* It will inform you of any issues it comes across, otherwise will migrate the catalogue data references to the selected location | ||
|
||
## What Does it change? | ||
This functionality updates the underlying [ColumnInfo](../CodeTutorials/Glossary.md#ColumnInfo) to point to the new table. It also updates the extractionInformation SelectSQL to allow for future extractions to continue to work. | ||
If you select a never-before-seen table, RDMP will also generate a new known table record in case of future use | ||
|
||
[Catalogue]: ../CodeTutorials/Glossary.md#Catalogue | ||
[ColumnInfo]: ../CodeTutorials/Glossary.md#ColumnInfo |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Cohort Versioning | ||
Cohort Identity Configurations can be versioned, allowing you to store copies of cohort configurations prior to making updates. | ||
you may want to use versioning instead of cloning the cohort to keep the tree list of cohort configurations simple, as versions do not appear in the traditional RDMP tree structure. | ||
|
||
Cohort versioning is accessible via the Cohort creation page within RDMP, from here you can open existing versions of the cohort, or save the current configuration as a new version. | ||
|
||
## Command Line | ||
Versioning can be performed by using the CreateVersionOfCohortConfiguration command. | ||
It can be ran with the following options | ||
``` | ||
CreateVersionOfCohortConfiguration cic:{some_id} name:{some_name} | ||
``` | ||
|
||
Cohort versions can be used in the same way as a standard cohort identification configuration, their ID is accessible via the command | ||
``` | ||
ListCohortVersions cic:{some_id} | ||
``` | ||
This command will list the names and IDs of and versions associated with a cohort configuration | ||
|
||
Within the CLI, cohort versions will appear alongside top-level cohort identity configurations when performing commands such as | ||
``` | ||
List cic:* | ||
``` | ||
|
||
## Cloning a cohort with Versions | ||
Cloning a cohort configuration with versions does not clone the versions alongside the cohort configuration |
33 changes: 33 additions & 0 deletions
33
Documentation/DataExtractions/ExecuteFullExtractionToDatabaseMSSql.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## Execute Full Extraction To Database MSSQL | ||
This data extraction pipeline component allows you to extract data into a known database. | ||
You can add the database you want to extract to as an external database within RDMP. | ||
|
||
This component has several configurable options that are detailed below | ||
| Configuration Option | Description | | ||
|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Target Database Server | External server to create the extraction into, a new database will be created for the [Project]: ../CodeTutorials/Glossary.md#Project based on the naming pattern provided | | ||
| Database Naming Pattern | How do you want to name datasets, use the following tokens if you need them: $p - [Project](../CodeTutorials/Glossary.md#Project) Name ('e.g. My [Project](../CodeTutorials/Glossary.md#Project)') $n - [Project](../CodeTutorials/Glossary.md#Project) Number (e.g. 234) $t - Master Ticket (e.g. 'LINK-1234') $r - Request Ticket (e.g. 'LINK-1234') $l - Release Ticket (e.g. 'LINK-1234') Default : Proj_$n_$l | | ||
| Table Naming Pattern | How do you want to name datasets, use the following tokens if you need them: $p - [Project](../CodeTutorials/Glossary.md#Project) Name ('e.g. My [Project](../CodeTutorials/Glossary.md#Project)') $n - [Project](../CodeTutorials/Glossary.md#Project) Number (e.g. 234) $c - Configuration Name (e.g. 'Cases') $d - Dataset name (e.g. 'Prescribing') $a - Dataset acronym (e.g. 'Presc') You must have either $a or $d Default : $c_$d | | ||
| Drop Table If Load Fails | If the extraction fails half way through AND the destination table was created during the extraction then the table will be dropped from the destination rather than being left in a half loaded state | | ||
| Alter Timeout | Timeout to perform all ALTER TABLE operations (column resize and PK creation) | | ||
| Copy Collations | True to copy the column collations from the source database when creating the destination database. Only works if both the source and destination have the same DatabaseType. Excludes columns which feature a transform as part of extraction. | | ||
| Always Drop ExtractionTables | True to always drop the destination database table(s) from the destination if they already existed | | ||
| Make Final Table Distinct When Batching Results | True to apply a distincting operation to the final table when using an [ExtractionProgress](../CodeTutorials/Glossary.md#ExtractionProgress). This prevents data duplication from failed batch resumes. | | ||
| Append Data If Table Exists | If this extraction has already been run, it will append the extraction data into the database. There is no duplication protection with this functionality. | | ||
| Include Timestamp | If checked, a column names 'extraction_timestamp' will be included in the extraction that denotes the time the record was added to the extraction. | | ||
| Use Acronym For File Naming | Naming of flat files is usually based on [Catalogue](../CodeTutorials/Glossary.md#Catalogue).Name, if this is true then the [Catalogue](../CodeTutorials/Glossary.md#Catalogue).Acronym will be used instead | | ||
| Date Format | The date format to output all datetime fields in e.g. dd/MM/yyyy for uk format yyyy-MM-dd for something more machine processable, see https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx | | ||
| Clean Extraction Folder Before Extraction | If this is true, the dataset/globals extraction folder will be wiped clean before extracting the dataset. Useful if you suspect there are spurious files in the folder | | ||
| Extraction Subdirectory Pattern | Overrides the extraction sub directory of datasets as they are extracted $c - Configuration Name (e.g. 'Cases') $i - Configuration ID (e.g. 459) $d - Dataset name (e.g. 'Prescribing') $a - Dataset acronym (e.g. 'Presc') $n - Dataset ID (e.g. 459) e.g. /$i/$a | | ||
|
||
[Project]: ../CodeTutorials/Glossary.md#Project | ||
[ExtractionProgress]: ../CodeTutorials/Glossary.md#ExtractionProgress | ||
[Catalogue]: ../CodeTutorials/Glossary.md#Catalogue | ||
|
||
|
||
## Notes on updating an extraction | ||
Using the "Append Data If Table Exists" option within this extraction destination component will allow you to re-extract additional information to a database, however there a number of caveats and gotchas with this. | ||
* Archive Table | ||
* Similar to data loads, these database tables will come with an _Archive table that will auto-populate when new extractions are ran against the database. | ||
* Data Structure changing | ||
* While the extractor can handle columns being removed, it does not support columns being added beyond the first extraction. For this you will need to write the data to a new database table. It is recommended that the extraction is cloned in this case. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.