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

The order of the values in crateDB #644

Open
IsabelManiega opened this issue Apr 6, 2022 · 1 comment
Open

The order of the values in crateDB #644

IsabelManiega opened this issue Apr 6, 2022 · 1 comment
Assignees

Comments

@IsabelManiega
Copy link

IsabelManiega commented Apr 6, 2022

I am working with agent OPC-UA with Fiware and persisting values with Quantum Leap.
I send in individual data to the agent, but the relationship in the table in crateDB is not correct.

For example, I send these values:
image

In crateDB shows:

image
image

current_a_rms does not match the expected value

How can I implement it?

Thank you for your time,

Isabel

@chicco785
Copy link
Contributor

hi @IsabelManiega is the problem the precision, or the value?

if the problem is the value, I doubt the problem is quantumleap, but probably the values that are notified to it from orion.
(and you can check what are the message received in the logs). if the problem is related to the precision, this essentially is related to the mapping from the NGSI model to the CRATE one. for this we will need to change the mapping in the code.

currently we map numbers to REAL, which is single precision:
https://crate.io/docs/crate/reference/en/4.7/general/ddl/data-types.html

cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants