Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

}bedrock.cube.data.export Parallelization doesn't work if pEleDelim has more than 1 character #421

Open
MBonotto opened this issue Dec 6, 2024 · 0 comments
Labels

Comments

@MBonotto
Copy link

MBonotto commented Dec 6, 2024

Description
The parallelization process (using pFilterParallel) fails to work correctly if pEleDelim contains more than one character (e.g., "&&"). This issue is caused in the prolog where pFilterParallel is split into sElementList using the SubSt() function. The problem is that the second parameter (beginning) is hardcoded with a +1 instead of of considering the length of pEleDelim.
This bug applies to all the TI that use pFilterParallel.

Code with Error
Prolog line 314, 323, 333
sElementList = SubSt( pFilterParallel, Scan( pEleStartDelim, pFilterParallel ) + 1, Long( pFilterParallel ) );

Solution
sElementList = SubSt( pFilterParallel, Scan( pEleStartDelim, pFilterParallel ) + Long( pEleDelim ), Long( pFilterParallel ) );

Version

  • OS: [Windows 10]
@MBonotto MBonotto added the bug label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant