# 08_userPortrait_bitmapDict
> Building Bitmap data in StarRocks uses Roaring Bitmap, which needs INTEGER as INPUT.
> StarRocks provides a function named bitmap_dict, that can be called in spark-load job,
> to map String values to Integer values when loading data to StarRocks.
>
> Note:
> When calling function bitmap_dict, some intermediate temp hive tables will be generated automatically.
> Submitting this job, needs write-privilege for hive tables.
# Configurations
- Configure soft links pointing to hadoop xml files
- Bouncing your fe and be services to enable these configs
```bash
[root@master1 conf]# pwd
/data/app/StarRocks-1.18.3/be/conf
[root@master1 conf]# ll
This file has been truncated. show original