Skip to content

Inquiry on Data Type Compatibility and Specification in Ingest API #639

@mrchypark

Description

@mrchypark

Dear Team,

Firstly, I would like to express my respect for your hard work and dedication to our project. I am reaching out to discuss a matter I encountered with the /api/v1/ingest endpoint. It appears that during the initial stream setup, a column with a float64 datatype is created. However, when data like the integer '1' is ingested into this float64 column, a 400 error with the message "Invalid Request: Could not process this event due to mismatch in datatype" is returned. Interestingly, inputting the value '1.1' processes correctly.

To better understand this, I manually inserted data and verified the schema via the schema API, confirming that the 'in' field is indeed 'Float64'. This has led me to wonder if this is the intended behavior, especially since I am not fully versed in strict typing systems.

My primary inquiry is whether there is a method to explicitly specify types when ingesting event data or metadata. This information would greatly aid in aligning our data ingestion processes with the system’s requirements. Alternatively, considering and documenting support for forced typecasting in certain special cases would be very helpful.

Thank you for your time and assistance in this matter.

Metadata

Metadata

Labels

enhancementNew feature or requestgood first issueGood for newcomershelp neededcommunity help is welcome and appreciated

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions