Skip to content

Commit

Permalink
fix(ingest): hive - add column comment as a column description (datah…
Browse files Browse the repository at this point in the history
  • Loading branch information
MugdhaHardikar-GSLab authored and PiotrSierkin-Ki committed Jul 26, 2022
1 parent dfad774 commit 799e258
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metadata-ingestion/docs/sources/hive/hive_recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ source:
type: hive
config:
host_port: <databricks workspace URL>:443
username: token
password: <api token>
username: token / username
password: <api token> / password
scheme: 'databricks+pyhive'

options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def dbapi_get_columns_patched(self, connection, table_name, schema=None, **kw):
"nullable": True,
"default": None,
"full_type": orig_col_type, # pass it through
"comment": _comment,
}
)
return result
Expand Down

0 comments on commit 799e258

Please sign in to comment.