|
|
@ -222,7 +222,9 @@ class Components :
|
|
|
|
# Let us merge the dataset here and and have a comprehensive dataset
|
|
|
|
# Let us merge the dataset here and and have a comprehensive dataset
|
|
|
|
|
|
|
|
|
|
|
|
_df = pd.DataFrame.join(df,_df)
|
|
|
|
_df = pd.DataFrame.join(df,_df)
|
|
|
|
|
|
|
|
for _item in _schema :
|
|
|
|
|
|
|
|
if _item['type'] in ['DATE','TIMESTAMP','DATETIME'] :
|
|
|
|
|
|
|
|
_df[_item['name']] = _df[_item['name']].astype(str)
|
|
|
|
writer.write(_df[cols],schema=_schema,table=args['from'])
|
|
|
|
writer.write(_df[cols],schema=_schema,table=args['from'])
|
|
|
|
# writer.write(df,table=table)
|
|
|
|
# writer.write(df,table=table)
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|