forked from bellwether/minerva
bug fix for new sql loader
This commit is contained in:
parent
af4f8bb999
commit
e294fc062b
2 changed files with 5 additions and 3 deletions
|
|
@ -55,6 +55,8 @@ def partition_string(partition):
|
|||
|
||||
# Wrapper to enable the inclusion of partitioning strings
|
||||
def load_sql(path, **params):
|
||||
params['partition_string'] = partition_string(params.get('partition', None))
|
||||
return m.load_template(path, **params)
|
||||
if 'partition' in params.keys():
|
||||
params['partition_string'] = partition_string(params['partition'])
|
||||
|
||||
return load_template(path, **params)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue