Skip to content

Commit

Permalink
fix pandas empty check
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitor committed Jul 12, 2023
1 parent b419550 commit f9db740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fastetl/custom_functions/utils/create_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def create_table_from_teiid(
"""

df_source_columns = _get_teiid_columns_datatype(source)
if df_source_columns:
if df_source_columns.empty:
df_source_columns["converted_length"] = ""
types_mapping = _load_yaml("config/types_mapping.yml")
df_destination_columns = df_source_columns.apply(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
with open("README.md", "r") as fh:
long_description = fh.read()

__version__ = "0.0.17"
__version__ = "0.0.18"

"""Perform the package apache-airflow-providers-fastetl setup."""
setup(
Expand Down

0 comments on commit f9db740

Please sign in to comment.