-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ingestion/redshift): fix schema field data type mappings #9053
fix(ingestion/redshift): fix schema field data type mappings #9053
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also do an audit to check if there's any other redshift data types that we might be missing here?
@@ -641,6 +644,7 @@ def gen_schema_fields(self, columns: List[RedshiftColumn]) -> List[SchemaField]: | |||
if col.sort_key: | |||
tags.append(TagAssociationClass(make_tag_urn(Constants.TAG_SORT_KEY))) | |||
|
|||
logger.debug(f"col.data_type = {col.data_type}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not log this - will be overwhelming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Added more types and for GEOMETRY, HLLSKETCH set the type as NullType because GEOGRAPHY is set to NullType |
No description provided.