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

Truncation of long integers #180

Open
kadrlica opened this issue Apr 29, 2020 · 0 comments
Open

Truncation of long integers #180

kadrlica opened this issue Apr 29, 2020 · 0 comments
Labels

Comments

@kadrlica
Copy link
Collaborator

@djbrout noticed that long integers were being corrupted on upload to the DESDM DB (specifically the SOURCE_ID column of kadrlica.GAIA_DR2_X_DES_DR1). I think that NUMBER(20,0) is long enough to hold these integers (though someone should check that here), and I've confirmed that the full values are being stored as i8 on disk. Somewhere between disk and database the numbers are being truncated in the last 4 digits (5049751899273284480 on disk is being changed into 5049751899273280000 in the DB).

@kadrlica kadrlica added the bug label Apr 29, 2020
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