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

Map str2num does not seem do anything with pyton 3 to ms sql server #116

Open
yozgoesdigital opened this issue Jan 7, 2019 · 0 comments

Comments

@yozgoesdigital
Copy link

When running the export tool and use map via str2num it does not seem to do anything. Also changed data type van varchar to NUMERIC on database side, but the tool changes the column type back to TEXT:

2019-01-07 15:47:06,718 commcare_export.writers WARNING Altering column cc_waste_intake.quantity from NUMERIC(18, 0) to TEXT for value: "<class 'str'>:7.45"

adding "--strict-types" in CLI command could be used as a workaround

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

1 participant