bug fix for new sql loader

This commit is contained in:
Ari Brown 2024-03-01 13:35:06 -05:00
parent af4f8bb999
commit e294fc062b
2 changed files with 5 additions and 3 deletions

View file

@ -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)

View file

@ -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>",