chaokunyang commented on issue #2885: URL: https://github.com/apache/fory/issues/2885#issuecomment-3637583271
> For the same `int32` field, if locally it is set to `compress=false`, but the type_id received from remote is `VAR_INT32`, how should it be handled? If different processing is required based on the remote type_id, passing the type_id and add conditional branches to `fory_read_data()` might affect performance. We read field based remote type meta, since remote field already say it's varint32, we just read by varint32. This is essentially a type mismatch, we support such cases, but we should put it into a type id mismatch default case, and use a predefined switch case function to handle that. @urlyy -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
