You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To achieve a first end-to-end delivery of the Snowflake optimization: #487 #544
There was an assumption that, to avoid issues with Snowflake mixed-capitalized column names, it was acceptable to convert all characters to uppercase. However, there are two issues with this approach:
it is not consistent with the dataframe decorator parameter: identifiers_as_lower
it does not support the use case where users may prefer to convert everything to uppercase
Proposal
The goal with this ticket is to add the following argument to both aql.dataframe and aql.load_file (snowflake-only), removing the previous identifiers_as_lower parameter:
Replace the aql.dataframe argument identifiers_as_lower by columns_names_capitalization
Add support for columns_names_capitalization when using load_file to Snowflake
Have tests covering these scenarios
Update release notes
The text was updated successfully, but these errors were encountered:
tatiana
changed the title
Allow users to decide on capitalization of column titles when using dataframe & load_file
Support customization of column titles capitalization when using dataframe & load_file
Jul 25, 2022
Closes: #564
Move towards a consistency strategy to change column names' capitalisation for both dataframes and files loaded using `load_file`.
* Expose 'columns_names_capitalization' both in `aql.load_file` and `aql.dataframe`
* Remove 'identifiers_as_lower' from `aql.dataframe`
Context
To achieve a first end-to-end delivery of the Snowflake optimization:
#487
#544
There was an assumption that, to avoid issues with Snowflake mixed-capitalized column names, it was acceptable to convert all characters to uppercase. However, there are two issues with this approach:
identifiers_as_lower
Proposal
The goal with this ticket is to add the following argument to both
aql.dataframe
andaql.load_file
(snowflake-only), removing the previousidentifiers_as_lower
parameter:Acceptance criteria
aql.dataframe
argumentidentifiers_as_lower
bycolumns_names_capitalization
columns_names_capitalization
when usingload_file
to SnowflakeThe text was updated successfully, but these errors were encountered: