Just wondering if anyone has worked out how to store null values in a timestream database:
I have the following code:
dimensions = [
{'Name': 'gatewayId', 'Value': gatewayId}
]
connectedDays = {
'Dimensions': dimensions,
'MeasureName': 'connectedDays',
'MeasureValue': str(data[3]),
'MeasureValueType': 'BIGINT',
'Time': current_time
}
Either gatewayId or data[3] could be any empty strings and would need storing a nulls in the DB but I am not sure how to do this. I've tried passing all sorts like None (etc) but AWS timestream complains every time.
I am using python.
Its so new the documentation doesn't even cover it.
Thanks