Skip to content

Commit 3b85092

Browse files
tcsiqiluQiShao647
authored andcommitted
fix: handle head:false table meta update bug
Signed-off-by: QiShao647 <siqilu647@qq.com>
1 parent 0f8daa3 commit 3b85092

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • python/fate_flow/components/components

‎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)