Skip to contents

The check that cannot pass on a mismatch: it recomputes the tile id from each cell_id and compares it with the partition the row is stored in. Counting rows or listing files cannot tell a right width from a wrong one, because a wrong tile id is still a valid tile id.

Usage

app_cell_tile_check(dir, ncol, con = NULL)

Arguments

dir

the app/cell directory written by app_cell_tiles()

ncol

grid width to check against (7200 global05, 3103 usa05)

con

optional DuckDB connection to run the scan on

Value

TRUE, invisibly; errors on mismatch