Grafana Loki `schema_config[].row_shards` and duplicate log

Hi all, what is the function of schema_config[].row_shards. With the default setting, i see duplicated logs when querying from grafana roughly as much as 15 duplicate entries. Is it safe to use 1 as value to avoid log deduplication?