@[email protected] <[email protected]> could you please take a look?
On Wed, Dec 2, 2026 at 12:27 AM Bryan Yang <[email protected]> wrote: > Hi all, Good evening > > Could someone review PR #19485? It fixes a Python client bug that can > silently return incorrect values and extra rows when a query contains a > run-length encoded (RLE) numeric column. > > I reproduced this with an IoTDB 2.0.12 server and a table containing two > rows. On master, iterating over SELECT 42 AS label FROM readings returned > eight values, [0, 0, 0, 42, 0, 0, 0, 42], where the expected result was > [42, > 42]. Calling todf() on a fresh result raised AttributeError. With the > released Python client 2.0.12, both row iteration and todf() raised that > exception. > > The decoder repeated the raw bytes of the value. The patch repeats the > elements of the typed NumPy array, preserving the value and row count. Both > new regression tests failed before the fix and passed afterward. All 71 > Python client unit tests passed locally. > > Issue and reproduction: https://github.com/apache/iotdb/issues/19484 > Pull request: https://github.com/apache/iotdb/pull/19485 > > Thanks, > DaZuiZui >
