[task] Add codes to support insert data looply