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

Update snappy dependency #445

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

oneebhkhan
Copy link
Contributor

@oneebhkhan oneebhkhan commented Oct 31, 2023

Fixes #444

Motivation

Solve dependency issue to allow Lakehouse Sink Connector to write to local delta tables.

Modifications

Added a snappy dependency to work with M1 Macbook and changed exception to throwable in SinkWriter.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@oneebhkhan oneebhkhan requested a review from a team as a code owner October 31, 2023 14:00
@oneebhkhan
Copy link
Contributor Author

@horizonzy @hangc0276 please review

horizonzy
horizonzy previously approved these changes Oct 31, 2023
Copy link
Member

@horizonzy horizonzy left a comment

Choose a reason for hiding this comment

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

LGTM.

@@ -250,6 +250,12 @@
<version>${slf4j.version}</version>
</dependency>

<dependency>
Copy link
Member

Choose a reason for hiding this comment

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

To follow the code style, we can define the snappy-java in the dependencyManagement, then refer the snappy-java in the dependencies.

hangc0276
hangc0276 previously approved these changes Nov 1, 2023
Copy link
Collaborator

@hangc0276 hangc0276 left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @oneebhkhan

@oneebhkhan oneebhkhan dismissed stale reviews from hangc0276 and horizonzy via d8b19ba November 1, 2023 07:07
@horizonzy
Copy link
Member

LGTM. Thanks.

@shibd shibd merged commit 3cb63a8 into streamnative:master Nov 2, 2023
2 of 3 checks passed
zymap pushed a commit that referenced this pull request Nov 10, 2023
* add snappy dependency

* change exception to throwable

* follow code style for dependency management

(cherry picked from commit 3cb63a8)
zymap pushed a commit that referenced this pull request Nov 10, 2023
* add snappy dependency

* change exception to throwable

* follow code style for dependency management

(cherry picked from commit 3cb63a8)
@zymap
Copy link
Member

zymap commented Nov 10, 2023

cherry-picked to branch-3.1 and branch-3.0

hangc0276 pushed a commit that referenced this pull request Nov 14, 2023
* add snappy dependency

* change exception to throwable

* follow code style for dependency management

(cherry picked from commit 3cb63a8)
hangc0276 pushed a commit that referenced this pull request Nov 14, 2023
* add snappy dependency

* change exception to throwable

* follow code style for dependency management

(cherry picked from commit 3cb63a8)
@hangc0276
Copy link
Collaborator

cherry-picked to branch-2.11 and branch-2.10.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Delta Sink Connector does not work on M1 Macbook Pro
5 participants