This website uses cookies to ensure you get the best experience on our website.
Learn more
OK
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Liberate your data.
Skip main navigation (Press Enter).
Toggle navigation
Communities
Announcements
Delphix Products
Data Company Central
All Communities
Events
Data Company Summits 2023
Upcoming Events
Champions
Become a Champion!
Browse
Discussion Posts
Events
Library Entries
Documentation
Blogs
Webinars
Academy
Delphix Products
Community Home
Discussion
6K
Library
169
Blogs
113
Events
0
Members
5.8K
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Masking Fails encountering a leading space
Madhu Nayyar
01-18-2019 03:48:00 PM
Hi there, I am trying to mask lets say the post code column, while preserving the first two Chars. I ...
John Hanratty
01-22-2019 05:49:00 PM
Madhu: Edit your segment mapping algorithm to ignore spaces in the Ignore Characters Separated by comma(,) ...
Madhu Nayyar
01-23-2019 08:36:00 AM
Hello John/Jack, That was one of the basic fix I tried, adding space as an ignored Character. It does ...
John Hanratty
01-23-2019 12:00:00 PM
Hello Madhu: Please post your ignore characters string here. Thanks Jack
Madhu Nayyar
01-23-2019 12:04:00 PM
±,!,@,£,$,%,^,&,*,),(,_, ,+,§,=,-,.,/,<,>,?,;,',\,[,],:,",|,{,},',~ Also, there is a need ...
John Hanratty
01-23-2019 12:12:00 PM
Thank-you, what version of the masking engine are running, also post your trim statement too. I'll ...
Madhu Nayyar
01-23-2019 12:24:00 PM
I have 5.2.6 but I have tested the same on 5.3 as well. There is no need to test trim statement, it ...
John Hanratty
01-23-2019 03:13:00 PM
Hello Madhu: I've run this test on versions 5.2.3.1 and 5.3.1.2 with a SM 4x4 alpha-numeric algorithm ...
1.
Masking Fails encountering a leading space
1
Recommend
Madhu Nayyar
Posted 01-18-2019 03:48:00 PM
Reply
Options Dropdown
Hi there,
I am trying to mask lets say the post code column, while preserving the first two Chars. I am using Alpha-num segment mapping but it appears the masking fails when there is a leading space, I do have a work around to trim the leading space, but trying to understand why it would fail anyways. I do not want to Ltrim the data as cleansing of data is unacceptable.
so
"SW121 AT" > "SW454 GF"
" SW121 AT" > " SG454 GF"
#Masking
2.
RE: Masking Fails encountering a leading space
0
Recommend
Delphix Ambassador
John Hanratty
Posted 01-22-2019 05:49:00 PM
Reply
Options Dropdown
Madhu: Edit your segment mapping algorithm to ignore spaces in the Ignore Characters Separated by comma(,) section. The spaces will be ignore and replaced after masking.
The trim option works well too, and will not write back any leading spaces.
Thanks Jack
3.
RE: Masking Fails encountering a leading space
0
Recommend
Madhu Nayyar
Posted 01-23-2019 08:36:00 AM
Reply
Options Dropdown
Hello John/Jack, That was one of the basic fix I tried, adding space as an ignored Character. It does not work. I tried LTrim a few weeks ago, Which is not ideal, as it inadvertently cleans the data after masking.
4.
RE: Masking Fails encountering a leading space
0
Recommend
Delphix Ambassador
John Hanratty
Posted 01-23-2019 12:00:00 PM
Reply
Options Dropdown
Hello Madhu:
Please post your ignore characters string here.
Thanks Jack
5.
RE: Masking Fails encountering a leading space
0
Recommend
Madhu Nayyar
Posted 01-23-2019 12:04:00 PM
Reply
Options Dropdown
±,!,@,£,$,%,^,&,*,),(,_, ,+,§,=,-,.,/,<,>,?,;,',\,[,],:,",|,{,},',~
Also, there is a need to preserve the first two positions, where the space occurs.
6.
RE: Masking Fails encountering a leading space
0
Recommend
Delphix Ambassador
John Hanratty
Posted 01-23-2019 12:12:00 PM
Reply
Options Dropdown
Thank-you, what version of the masking engine are running, also post your trim statement too.
I'll test this out later today.
7.
RE: Masking Fails encountering a leading space
0
Recommend
Madhu Nayyar
Posted 01-23-2019 12:24:00 PM
Reply
Options Dropdown
I have 5.2.6 but I have tested the same on 5.3 as well. There is no need to test trim statement, it works as expected.
8.
RE: Masking Fails encountering a leading space
1
Recommend
Delphix Ambassador
John Hanratty
Posted 01-23-2019 03:13:00 PM
Reply
Options Dropdown
Hello Madhu: I've run this test on versions 5.2.3.1 and 5.3.1.2 with a SM 4x4 alpha-numeric algorithm with the ignore string provided.
My test case included spaces (front, middle, and 2 together), $ and ±.
Both tests are working as expected.
Please contact me via email if you would like to review.
Thanks Jack
jhanratty@delphix.com
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2023. All rights reserved.
Powered by Higher Logic