change java type for shard_id in schema file gen