Hi Colin,

I'd like to propose apache/tsfile#1065 for 2.5.1. It was merged into
develop on November 5 and is not on the milestone yet.

Since #872, each TSDataType constant holds two caster lambdas. Flink's
ClosureCleaner checks every field that is neither static nor
transient, including the fields of enum constants, so a Flink job
whose functions reach a TSDataType fails on 2.5.0 with
"TSDataType$$Lambda... is not serializable". In iotdb-extras this
breaks the Flink TsFile connector: its
RowTsFileInputFormatIntegrationTest.testStreamExecution passes with
TsFile 2.4.0 and fails with 2.5.0. #1065 marks the two fields
transient; with it applied to v2.5.0, all of the connector's tests
pass.

iotdb-extras needs this before it can move to TsFile 2.5.x, which it
has to do together with libthrift 0.25.0 for the next IoTDB client.
Yuan suggested bringing it up here:
https://lists.apache.org/thread/gdtw0nmys3qobwoqgj7fjty9jvh60gm0

Thanks,
Zihan

Reply via email to