Skip to content

Falsely derived type bigint  #778

@juliangrube1988

Description

@juliangrube1988

Describe the bug
I have a problem with the tables created for the entities:
The first data record determines the type of the table. If the first data record is 23.0, for example, a column with the type Bigint is created, but the next data type can be 23.1 and now only zero is written into the database for the property.

To Reproduce
Steps to reproduce the behavior:

  1. Send Value for attribute "temp" with Type: "Property" and value 0
  2. Check type of new created Column for attribute "temp": bigint
  3. Send Value for attribute "temp" with Type: "Property" and value 0.1
  4. Check content of added entry for attribute "temp": null

Expected behavior
Quantumleap should derive Number/Float instead of Integer since the data are transmitted from IOTAgent to Context Broker to Quantumleap as JSON Number.

Environment (please complete the following information):

  • Quantumleap 1.0.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions