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

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "minerva"
version = "0.7.4"
version = "0.7.5"
description = "Easier access to AWS Athena and Redshift"
authors = [
"Ari Brown <ari@airintech.com>",