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

Add support for long integers #30

Open
russellpierce opened this issue Nov 6, 2015 · 1 comment
Open

Add support for long integers #30

russellpierce opened this issue Nov 6, 2015 · 1 comment
Labels
incomplete Incomplete, missing reproducible example or confirmation

Comments

@russellpierce
Copy link

Feature request. Long integers are a common data-type in today's DBs, but R still lacks a native way to represent integers larger than 2147483647. Could a dependency be added to RJDBC that would use https://cran.r-project.org/web/packages/bit64/index.html that would allow data to come from the attached DBs in the form of an integer rather than having to cast them to character in the query and convert them back into long integers once they are in R?

@s-u
Copy link
Owner

s-u commented Mar 18, 2021

Can you give an actual example? There should be no need for casting, it all depends on the representation supported by the driver. We can always fetch it as string and post-process, 1c6399c add automatic support for the at least on retrieval if the driver tags it appropriately with one of the types.

@s-u s-u added the incomplete Incomplete, missing reproducible example or confirmation label Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete Incomplete, missing reproducible example or confirmation
Projects
None yet
Development

No branches or pull requests

2 participants