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

Integer return values are Double objects in response #4

Open
gbrgr opened this issue Mar 20, 2022 · 2 comments
Open

Integer return values are Double objects in response #4

gbrgr opened this issue Mar 20, 2022 · 2 comments
Labels
component:rai-sdk-java type:bug Something isn't working

Comments

@gbrgr
Copy link
Contributor

gbrgr commented Mar 20, 2022

When I issue the query

response = client.execute(database, engine, "def output = 1", false);

(more generally, this concerns any integer column contained within the output), then response looks like this:

image

That is, integer response values seem to be stored as Doubles due to JSON serialization. I guess this is not expected @bradlo?

@gbrgr
Copy link
Contributor Author

gbrgr commented Mar 20, 2022

Addition: For PURE integration, I in the meantime included this hotfix: RelationalAI/legend-pure@cfc77e4

@bradlo bradlo added type:bug Something isn't working component:rai-sdk-java labels Oct 5, 2022
@billscheidel-rai
Copy link

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-4734.

This link is only accessible to employees of RelationalAI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:rai-sdk-java type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants