Actions
Bug #2684
closedThe fileFormat migration script for Rudder 2.4 (version 1) contains a flawed condition
Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The script should be:
select count(*) from ( select xpath('/entry/*[@fileFormat=1]',data) AS x from eventlog) as Y where array_upper(x, 1) > 0;
and
select count(*) from ( select xpath('/entry/addPending',data) AS x from eventlog) as Y where array_upper(x, 1) > 0;
But on the rudder-upgrade script only the second test was inserted twice.
Actions