Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurprevot committed Jun 11, 2024
1 parent aebab71 commit 722796b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yaetos/db_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def pandas_types_to_hive_types(df, format='glue'):
:param df: pandas DataFrame
:return: Dictionary or list of dictionaries of column names and their Hive data types
"""
# TODO: add support for nested fields, just like in spark version
type_mapping = {
'object': 'STRING',
'bool': 'BOOLEAN',
Expand Down

0 comments on commit 722796b

Please sign in to comment.