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

Task/rdmp 118 Allow Excel Attacher To Read From Arbitrary Start Point #1735

Merged
merged 12 commits into from
Jan 29, 2024

Conversation

JFriel
Copy link
Collaborator

@JFriel JFriel commented Jan 26, 2024

Problem

Not all excel sheets have the data start at cell A1, sometimes there are company headers and other items we are not interested in

Solution

Allow the user to specify a row and/or column override that ignores all info prior to that row/column
The row override is indexed from 1 to match Excel's formatting.
The column override supports [a-zA-z] along with integer values (0 indexed)

To Test

Create a data load using the excel attached where the excel sheet has junk data in the first few rows/columns.
No override should cause the load to fail, setting the overrides will allow the data load to succeed

@JFriel JFriel requested a review from a team January 26, 2024 09:57
Comment on lines +162 to +165
catch (Exception)
{
h = cell.NumericCellValue.ToString();
}

Check notice

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.
@jas88 jas88 self-requested a review January 29, 2024 15:10
@jas88 jas88 merged commit e461ffe into develop Jan 29, 2024
7 checks passed
@jas88 jas88 deleted the task/RDMP-118-improve-excel-attacher branch January 29, 2024 15:10
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.

None yet

2 participants