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 23 forks source link

Update Vertica Docker image to work on M1 #516

Closed jeremyprime closed 1 year ago

jeremyprime commented 1 year ago

Summary

Update Vertica Docker image to work on M1.

Description

Add VERTICA_MEMDEBUG=2 environment variable so that the Vertica image works on Apple M1 machines. If this is not set then the Vertica image fails to start on M1 machines.

Ran tests locally (on an Intel machine), as well as all GitHub action tests. No issues with setting this as a default environment variable.

Related Issue

Closes #515.

Additional Reviewers

@alexey-temnikov @alexr-bq @ai-bq @jonathanl-bq

codecov[bot] commented 1 year ago

Codecov Report

Merging #516 (1dae316) into main (8f48c88) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #516   +/-   ##
=======================================
  Coverage   87.52%   87.52%           
=======================================
  Files          44       44           
  Lines        1996     1996           
  Branches      124      124           
=======================================
  Hits         1747     1747           
  Misses        249      249           
Flag Coverage Δ
unittests 87.52% <ø> (ø)

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

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more