Support for QuestDB arrays #33
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What This Enables
This PR allows you to stream multi-dimensional array data from Kafka to QuestDB.
Previously, any message containing arrays would cause the connector to crash with
Unsupported typeerrors. Now you can store sensor readings, machine learning features, financial time series, and other array-based data.Real-World Use Cases Now Supported
IoT & Sensor Data
{ "device_id": "sensor_001", "temperature_readings": [20.1, 20.3, 20.5, 20.7], "location": "warehouse_a" }Machine Learning Features
{ "model_id": "classifier_v2", "feature_matrix": [[0.1, 0.8], [0.3, 0.6], [0.9, 0.2]], "prediction_confidence": 0.94 }Financial Market Data
{ "symbol": "AAPL", "ohlc_5min": [[150.1, 151.2, 149.8, 150.9], [150.9, 152.1, 150.3, 151.5]], "volume": [12500, 13200] }Your array data flows through to QuestDB and gets stored as native arrays, queryable with QuestDB's array functions.
Data Format Support
With Kafka Connect Schema
Schema-Free JSON (Most Common)
Current Limitations
Supported
Not Yet Supported
Future Support