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
|
# Wrapper to enable the inclusion of partitioning strings
|
||||||
def load_sql(path, **params):
|
def load_sql(path, **params):
|
||||||
params['partition_string'] = partition_string(params.get('partition', None))
|
if 'partition' in params.keys():
|
||||||
return m.load_template(path, **params)
|
params['partition_string'] = partition_string(params['partition'])
|
||||||
|
|
||||||
|
return load_template(path, **params)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "minerva"
|
name = "minerva"
|
||||||
version = "0.7.4"
|
version = "0.7.5"
|
||||||
description = "Easier access to AWS Athena and Redshift"
|
description = "Easier access to AWS Athena and Redshift"
|
||||||
authors = [
|
authors = [
|
||||||
"Ari Brown <ari@airintech.com>",
|
"Ari Brown <ari@airintech.com>",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue