[skip ci] Add comments of util file on benchmark (#9798)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
wt 2021-10-13 18:49:11 +08:00 committed by GitHub
parent 6a0c12248d
commit 59a92580fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,6 +143,7 @@ def get_dataset(hdf5_file_path):
def get_default_field_name(data_type=DataType.FLOAT_VECTOR):
""" Return fild name according to data type """
if data_type == DataType.FLOAT_VECTOR:
field_name = DEFAULT_F_FIELD_NAME
elif data_type == DataType.BINARY_VECTOR: