瀏覽代碼

forgot to add variable in recursive function

ogert 4 年之前
父節點
當前提交
80b58fedbe
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      cdplib/db_migration/DataFrameToCollection.py

+ 4 - 2
cdplib/db_migration/DataFrameToCollection.py

@@ -132,7 +132,8 @@ class DataFrameToCollection():
                                 data=data,
                                 schema=sub_schema,
                                 grp_fields=grp_fields,
-                                _final_step=False)
+                                _final_step=False,
+                                already_reshaped=already_reshaped)
 
                     # Need to be checked since child elements can be empty
                     if sub_data is not None:
@@ -175,7 +176,8 @@ class DataFrameToCollection():
                                     data=data,
                                     schema=sub_schema,
                                     grp_fields=grp_fields + sub_grp_fields,
-                                    _final_step=False)
+                                    _final_step=False,
+                                    already_reshaped=already_reshaped)
 
                         if sub_data is not None: