Skip to content

Commit

Permalink
more error fixes for redshift
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv committed Feb 28, 2024
1 parent fa788f3 commit 2abd1b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions defog/generate_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def generate_redshift_schema(
if scan:
cur.execute(f"SET search_path TO {schema}")
rows = identify_categorical_columns(cur, table_name, rows)
cur.close()
schemas[table_name] = rows

if upload:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def package_files(directory):
name="defog",
packages=find_packages(),
package_data={"defog": ["gcp/*", "aws/*"] + next_static_files},
version="0.62.0",
version="0.62.2",
description="Defog is a Python library that helps you generate data queries from natural language questions.",
author="Full Stack Data Pte. Ltd.",
license="MIT",
Expand Down

0 comments on commit 2abd1b7

Please sign in to comment.