Update mcap file with more detailed schemas? #1122
-
Currently we (ab-)use the possibility of writing JSON using a schema that accepts everything in instances where we don't know about the schema beforehand. In those situations it would be handy to be able to update the schemas of specific channels on existing files once the schema is known. I have not found any way of doing this so I guess it is not supported without rewritinh the whole file? |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
This is not supported by the MCAP format – a schema or channel cannot be changed. One way of addressing this would be to avoid writing messages until the schema is known (e.g. holding them in memory up to some limit). |
Beta Was this translation helpful? Give feedback.
This is not supported by the MCAP format – a schema or channel cannot be changed. One way of addressing this would be to avoid writing messages until the schema is known (e.g. holding them in memory up to some limit).