vertica / spark-connector

This component acts as a bridge between Spark and Vertica, allowing the user to either retrieve data from Vertica for processing in Spark, or store processed data from Spark into Vertica.
Apache License 2.0
20 stars 21 forks source link

Updating Automated Tests #457

Closed Aryex closed 2 years ago

Aryex commented 2 years ago

Summary

This PR contains updates to the automated testing. In general, each PR now only runs unit tests, scalastyles, and functional test against latest Spark. Regression testing and other tests are done nightly.

Description

Replacing main.yml with on-pull-request.yml workflow, now run unit tests, scalastyle checks, and functional tests against the latest version of Spark.

Updated nightly.yml workflow to perform long-running tests. This includes:

Functional tests updated:

Readmes updated

Bug fixes:

Related Issue

Close #421 Close #402 Close #463

Additional Reviewers

codecov[bot] commented 2 years ago

Codecov Report

Merging #457 (532c2e9) into main (070fc7d) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #457   +/-   ##
=======================================
  Coverage   87.27%   87.27%           
=======================================
  Files          43       43           
  Lines        1965     1965           
  Branches      116      118    +2     
=======================================
  Hits         1715     1715           
  Misses        250      250           
Flag Coverage Δ
unittests 87.27% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ce/core/VerticaDistributedFilesystemReadPipe.scala 89.75% <ø> (ø)
...ertica/spark/datasource/json/VerticaJsonScan.scala 91.66% <ø> (ø)
.../spark/datasource/v2/VerticaDatasourceV2Read.scala 86.04% <100.00%> (ø)
...rtica/spark/util/version/VerticaVersionUtils.scala 97.82% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more