bug fixes, write file and other misc with ETL
This commit is contained in:
parent
4320159f3d
commit
a7fe357b2c
|
@ -95,7 +95,7 @@ class DiskWriter(Writer):
|
|||
_delim = self._delimiter if 'delimiter' not in _args else _args['delimiter']
|
||||
_path = self._path if 'path' not in _args else _args['path']
|
||||
_mode = self._mode if 'mode' not in _args else _args['mode']
|
||||
info.to_csv(_path,index=False,sep=_delim, mode=_mode)
|
||||
info.to_csv(_path,index=False,sep=_delim)
|
||||
pass
|
||||
except Exception as e:
|
||||
#
|
||||
|
|
|
@ -99,7 +99,7 @@ class Transporter(Process):
|
|||
# _target['write']['lock'] = True
|
||||
pass
|
||||
_writer = transport.factory.instance(**_target)
|
||||
_writer.write(_data.copy(),**_args)
|
||||
_writer.write(_data,**_args)
|
||||
if hasattr(_writer,'close') :
|
||||
_writer.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue