Fixed a function clause error for IotDB in batch mode.