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

Dazfuller/no data fix #43

Merged
merged 3 commits into from
Jun 29, 2024
Merged

Dazfuller/no data fix #43

merged 3 commits into from
Jun 29, 2024

Conversation

dazfuller
Copy link
Contributor

Fixes #42 by checking to see if the last data row is the same as, or before the final header record. If so then an empty row is returned

@dazfuller dazfuller added the bug Something isn't working label Jun 29, 2024
@dazfuller dazfuller self-assigned this Jun 29, 2024
Copy link

codecov bot commented Jun 29, 2024

Codecov Report

Attention: Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.

Project coverage is 91.87%. Comparing base (43f31e8) to head (6e8475a).

Current head 6e8475a differs from pull request most recent head e1e5dbd

Please upload reports for the commit e1e5dbd to get more accurate results.

Files Patch % Lines
...m/elastacloud/spark/excel/parser/ExcelParser.scala 86.36% 3 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           0_1_13-release      #43      +/-   ##
==================================================
+ Coverage           90.65%   91.87%   +1.22%     
==================================================
  Files                  21       21              
  Lines                 353      357       +4     
  Branches               61       63       +2     
==================================================
+ Hits                  320      328       +8     
+ Misses                 33       29       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dazfuller dazfuller merged commit 7c6342b into 0_1_13-release Jun 29, 2024
1 check passed
@dazfuller dazfuller deleted the dazfuller/no-data-fix branch June 29, 2024 12:23
dazfuller added a commit that referenced this pull request Jun 29, 2024
* change version to 0.1.13-SNAPSHOT

* Update project dependencies

Updated multiple dependencies across the project, including sbt version, plugin versions, and library versions. These changes help keep the project up to date and potentially benefit from updates and fixes in the newer versions of these dependencies.

* Update spark versions

This change adds Spark 3.5.1 as a supported version

* update apache commons compress library to remove CVE warning

* add new option to disable evaluation of formulas when reading the Excel source

* Update dependencies and refactor actions workflow (#41)

* Update apache poi to 5.2.5 and spark to 3.5.1

* Update scalaTestVersion

* Refactor actions workflow

* Rollback scala version update due to incompatibilities with coverage dependency

* Revert package upload path in actions

* add latest 3.4.x release

* Dazfuller/no data fix (#43)

* implement fix to handle files which contain no data (only headers)

* add new resource files for tests

* add tests to cover new cases

* change version to 0.1.13

---------

Co-authored-by: Jose Soto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant