Skip to content
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

Data analysts should be able to transform a Table using the rename_columns functions #3249

Merged
merged 16 commits into from
Feb 11, 2022

Conversation

jdunkerley
Copy link
Member

@jdunkerley jdunkerley commented Feb 3, 2022

Pull Request Description

Adding the rename_columns function to the System.Table.Data.Table and System.DataBase.Data.Table types.
Adding the use_first_row_as_names function to the System.Table.Data.Table type.

Closes https://www.pivotaltracker.com/story/show/181034927
Closes https://www.pivotaltracker.com/story/show/181034968

Important Notes

Implemented a Range.Find utility function to help with this.
Some minor issues added to bugs to investigate list.

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary.
  • All code conforms to the Scala, Java, and Rust style guides.
  • All documentation and configuration conforms to the markdown and YAML style guides.
  • All code has been tested where possible.

@jdunkerley jdunkerley changed the base branch from develop to wip/radeusgd/remove-columns-180994905 February 3, 2022 10:45
Base automatically changed from wip/radeusgd/remove-columns-180994905 to develop February 3, 2022 14:18
@jdunkerley jdunkerley force-pushed the wip/jd/rename-columns-181034927 branch from 9215aaa to 481f0f5 Compare February 7, 2022 15:36
@jdunkerley jdunkerley force-pushed the wip/jd/rename-columns-181034927 branch from 1b17985 to 6f626cd Compare February 9, 2022 13:27
radeusgd and others added 9 commits February 10, 2022 09:42
Align Column_Mapping

Add By_Position
Separating off the validation for By_Index so can reuse for rename

By_Position implemented

By_Index implemented
Adjusted behaviour following discussion with Ned, so that renames dominate untouched columns.

Moving to validation style checks for problems

Putting accumulator back

Rename work
Tidy of Unique Name Strategy
Tests for Unique Naming Strategy
Table rename working
Fix for Table
**Must follow up on slice**
@jdunkerley jdunkerley force-pushed the wip/jd/rename-columns-181034927 branch from bd73d39 to da3e5f7 Compare February 10, 2022 09:43
@jdunkerley jdunkerley marked this pull request as ready for review February 10, 2022 17:54
@jdunkerley jdunkerley requested a review from 4e6 as a code owner February 10, 2022 17:54
Copy link
Member

@wdanilo wdanilo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is absolutely awesome. I love the tests and how the documentation is written everywhere. Amazingly clean and looks like a lot of cool functionality 💯 ❤️

@jdunkerley jdunkerley merged commit 1814d3c into develop Feb 11, 2022
@jdunkerley jdunkerley deleted the wip/jd/rename-columns-181034927 branch February 11, 2022 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants