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

Data truncation feature #166

Open
nicknestle opened this issue Oct 23, 2020 · 1 comment
Open

Data truncation feature #166

nicknestle opened this issue Oct 23, 2020 · 1 comment

Comments

@nicknestle
Copy link

For some databases, if the data is larger than the expected size of the column the record fails. A map-to function that allows trunctation at x characters has been requested by a few clients. They are aware that truncating data basically means the data isn't useful so this is more to protect against unexpectedly large data causing an error (e.g. sometime types 600 chars in an email field).

@solleks
Copy link
Collaborator

solleks commented Oct 23, 2020

This issue might be addressed by the 'substr' function (documented in this section) which was added this summer.

For example, substr(0, 128) in the Map Via column will truncate a field to 128 unicode characters.

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