Follow-up to the zero-column support #22765.
The core PR made zero-column tables (shape (N, 0)) representable and threaded their row counts through table-producing algorithms, interop, and plc.Table. The remaining gap is in the IO readers, which still collapse zero-column reads to (0, 0) and lose the row count.
To do
Follow-up to the zero-column support #22765.
The core PR made zero-column tables (shape
(N, 0)) representable and threaded their row counts through table-producing algorithms, interop, andplc.Table. The remaining gap is in the IO readers, which still collapse zero-column reads to(0, 0)and lose the row count.To do
ParquetReaderTest,OrcReaderTest, andCsvReaderTest.ZeroColumnsPreservesRowCount)DataFrame._num_rows_override, theDataFrameScanzero-width path,Scan._get_parquet_row_count_from_metadata, and the related xfails ininject_gpu_engine.py