write bloom_path in sql