mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-31 17:30:42 +01:00
Stand up the SeaweedParquetPushdown service on an in-process gRPC bufconn listener and exercise it from a real gRPC client. Validates the M0 acceptance bar end-to-end without needing a filer: - TestPing_ReportsConfiguredVersionAndTrustMode: Ping returns the daemon's configured version and trust mode. - TestPing_DefaultsTrustModeToCatalogValidated: zero-Options Service defaults to catalog-validated. - TestPushdown_ReturnsUnimplementedWithStats: Pushdown returns Unimplemented with a PushdownStats attached as a status detail, with trust_mode populated and server_time_micros non-negative. This is the M0 acceptance criterion from PARQUET_PUSHDOWN_DEV_PLAN.md. - TestPushdown_RejectsInvalidRequestBeforeUnimplemented: validation fires before the Unimplemented path; an empty data_files request returns InvalidArgument. A heavier filer + daemon process-level integration test is deferred to test/parquet_pushdown/ in a later milestone; the dev plan's filer-startup phrasing covers ground M3 needs anyway, and bufconn is sufficient to lock in the wire format for M0.