bug fix: max_rows missing
This commit is contained in:
parent
6d84b25d95
commit
8418208da0
|
@ -159,7 +159,7 @@ class Components :
|
||||||
# df = pd.DataFrame(df[ int (partition) ],columns = columns)
|
# df = pd.DataFrame(df[ int (partition) ],columns = columns)
|
||||||
# max_rows = int(args['partition_max_rows']) if 'partition_max_rows' in args else 1000000
|
# max_rows = int(args['partition_max_rows']) if 'partition_max_rows' in args else 1000000
|
||||||
# N = np.divide(df.shape[0],max_rows).astype(int) + 1
|
# N = np.divide(df.shape[0],max_rows).astype(int) + 1
|
||||||
info = {"parition":int(partition),"gpu":_args["gpu"],"rows":int(df.shape[0]),"cols":int(df.shape[1]),"part_size":int(PART_SIZE),"partition-info":{"count":int(N),"max_rows":max_rows}}
|
info = {"parition":int(partition),"gpu":_args["gpu"],"rows":int(df.shape[0]),"cols":int(df.shape[1]),"part_size":int(PART_SIZE)}
|
||||||
logger.write({"module":"generate","action":"partition","input":info})
|
logger.write({"module":"generate","action":"partition","input":info})
|
||||||
_args['partition'] = int(partition)
|
_args['partition'] = int(partition)
|
||||||
_args['continuous']= args['continuous'] if 'continuous' in args else []
|
_args['continuous']= args['continuous'] if 'continuous' in args else []
|
||||||
|
|
Loading…
Reference in New Issue