can we shard data with dimensions??

Can we shard data with dimensions in incoming events??

http://druid.io/docs/latest/ingestion/batch-ingestion.html#partitioning-specification

Thanks Fangjin. While querying is there any configuration needed for this dimension as data partitioned by this dimension?

Nothing needs to be specified on Query side for dimension partitioning.