COPY command allows for efficient bulk copying of data into a sharded table. The data will be distributed across shards according to your sharding setup. For more information on the PostgreSQL COPY command, see the PostgreSQL documentation.
Some examples: