Skip to contents

content_hashes() for a data frame rather than a table: the same DuckDB reduction, so a hash computed from decoded raster pixels equals one computed from the Parquet the raster was painted from.

Usage

content_hashes_df(df, by = "mdl_key", cols = c("cell_id", "val"))

Arguments

df

data frame holding by and cols

by

grouping column (e.g. mdl_key)

cols

payload columns, in a FIXED order

Value

data frame by, n, content_hash, sorted by by