You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
data-maker/pipeline.py

699 lines
23 KiB
Python

#!/usr/bin/env python3
5 years ago
class KEYS :
logger.write({"module":"bigquery","action":"read","input":{"sql":SQL}})
if 'autopilot' in ( list(args.keys())) :
else:
if df[name].unique().size > 0 :
4 years ago
def finalize(self,args):
otable = ".".join([args['store']['source']['args']['dataset'],args['from']])
dtable = ".".join([args['store']['target']['args']['dataset'],args['from']])
for _item in schema :
if 'dataset' not in args :
job = Process (target = publisher,args=( args,))
#