mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-05-22 17:51:30 +00:00
Generates a 3-file Parquet "table" in a temp dir using parquet-go, boots SeaweedParquetPushdown on a bufconn listener with LocalLoader, and submits real RPCs covering the M1 surface: - TestPushdown_M1_RoundTrip: predicate-less, 2-column projection across 3 files. Asserts FileRanges reference the right file and fit inside it; first call has zero hits and one miss per file. - TestPushdown_M1_FooterCacheHits: a second identical request must produce one cache hit per file and zero misses, the dev plan's acceptance bar for cache hit-rate. - TestPushdown_M1_NoColumnProjection: empty Columns returns ranges for every column in every row group. - TestPushdown_M1_UnknownColumn: unknown column path is rejected. - TestPushdown_M1_FieldIdOnlyRejected: field-id without a path hint is rejected (catalog-schema resolution lands in M3). Filer-process-level integration is deferred: M1 does not require a filer, and the bufconn round-trip exercises every M1 code path end- to-end. test/parquet_pushdown/ stays available for the heavier filer-driven test that lands in or after M2.