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

Zips that start with zero are being imported without the zero, causing some four-digit zips. #1

Open
willdougadams opened this issue Dec 8, 2017 · 1 comment

Comments

@willdougadams
Copy link

Paytronix is using this block, and tried to filter on zips that start with 0. The block is pulling them as numbers and omitting this leading zero, meaning these zips are all being displayed as four digits, and filtering on "starts with zero"
fails to find anything.

Client tracked the issue doe to zips being pulled in with: RPAD(CAST(${TABLE}.zip_code AS varchar), 5, '0'), which he believes should be LPAD instead so the zero is in the front.

@milli-koch
Copy link

+1 UKW Franchising

This should definitely be LPAD not RPAD. This caused some confusion for the user when trying to filter for any zipcodes starting with 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants