Merge branch 'main' into issue-131
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 5m38s

This commit is contained in:
mihajlo 2025-01-27 11:04:33 +00:00
commit bc45e92138
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;
/* 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);