Skip to content

Commit ff00f4d

Browse files
committed
fix: handle head:false table meta update bug
1 parent 0f8daa3 commit ff00f4d

File tree

1 file changed

+2
-1
lines changed
  • python/fate_flow/components/components

1 file changed

+2
-1
lines changed

python/fate_flow/components/components/upload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ def update_schema(self, fp):
233233
id_index = self.update_table_meta(data_head)
234234
read_status = True
235235
else:
236-
pass
236+
data_head = self.parameters.meta.header
237+
id_index = self.update_table_meta(data_head)
237238
return id_index, read_status
238239

239240
def upload_file(self, input_file, job_id, input_feature_count=None, table=None):

0 commit comments

Comments
 (0)