Compare commits

...

4 Commits

Author SHA1 Message Date
semantic-release-bot
c2f36f5419 chore(release): 6.12.1 [skip ci]
## [6.12.1](https://git.datacontroller.io/dc/dc/compare/v6.12.0...v6.12.1) (2024-12-31)

### Bug Fixes

* no upcase of pk fields in MPE_TABLES in delete scenario ([3de095f](3de095fe77)), closes [#134](#134)
* reduce length of tmp table names.  Closes [#130](#130) ([f9c2491](f9c2491ab6))
2024-12-31 15:52:37 +00:00
31a31612fc Merge pull request 'fix: no upcase of pk fields in MPE_TABLES in delete scenario' (#135) from issue134 into main
All checks were successful
Release / Build-production-and-ng-test (push) Successful in 4m47s
Release / Build-and-test-development (push) Successful in 9m5s
Release / release (push) Successful in 10m20s
Reviewed-on: #135
2024-12-31 15:26:21 +00:00
Allan
f9c2491ab6 fix: reduce length of tmp table names. Closes #130
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 4m55s
2024-12-31 15:25:37 +00:00
Allan
3de095fe77 fix: no upcase of pk fields in MPE_TABLES in delete scenario
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 5m3s
closes #134
2024-12-31 15:23:25 +00:00
4 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,11 @@
## [6.12.1](https://git.datacontroller.io/dc/dc/compare/v6.12.0...v6.12.1) (2024-12-31)
### Bug Fixes
* no upcase of pk fields in MPE_TABLES in delete scenario ([3de095f](https://git.datacontroller.io/dc/dc/commit/3de095fe7797cde60f0e232c188305fe423c27eb)), closes [#134](https://git.datacontroller.io/dc/dc/issues/134)
* reduce length of tmp table names. Closes [#130](https://git.datacontroller.io/dc/dc/issues/130) ([f9c2491](https://git.datacontroller.io/dc/dc/commit/f9c2491ab6e7b528b7ffc011fd9e45c963c5f6bf))
# [6.12.0](https://git.datacontroller.io/dc/dc/compare/v6.11.1...v6.12.0) (2024-09-02)

View File

@ -1,6 +1,6 @@
{
"name": "dcfrontend",
"version": "6.12.0",
"version": "6.12.1",
"description": "Data Controller",
"devDependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",

View File

@ -622,7 +622,7 @@ data work.bitemp0_append &keepvars &outds_del(drop=&md5_col )
%put DCNOTE: Extracting matching observations from &base_lib..&base_dsn;
%if &engine_type=OLEDB %then %do;
%let temp_table=##%mf_getuniquefileref(prefix=BTMP)_&base_dsn;
%let temp_table=##%mf_getuniquefileref(prefix=BTMP);
%if &loadtype=BITEMPORAL or &loadtype=TXTEMPORAL %then
%let base_table=(select * from [dbo].&base_dsn
where convert(datetime,&SQLNOW) < &tech_to );

View File

@ -23,8 +23,11 @@
/* ensure uppercasing */
data work.staging_ds;
set work.staging_ds;
LIBREF=upcase(LIBREF);
DSN=upcase(DSN);
/* PK fields should not be upcased if we are trying to delete records */
if upcase(_____DELETE__THIS__RECORD_____) ne "YES" then do;
LIBREF=upcase(LIBREF);
DSN=upcase(DSN);
end;
loadtype=upcase(loadtype);
buskey=upcase(buskey);
var_txfrom=upcase(var_txfrom);