Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Mar 20, 2025

What changes were proposed in this pull request?

This PR aims o support filter and where for DataFrame.

Why are the changes needed?

For feature parity.

Does this PR introduce any user-facing change?

No, this is a new addition.

How was this patch tested?

Pass the CIs and manual test on MacOS with Apache Spark 4.0.0 RC3.

$ sbin/start-connect-server.sh
$ swift test --filter DataFrameTests

Was this patch authored or co-authored using generative AI tooling?

No.

@dongjoon-hyun
Copy link
Member Author

Could you review this PR when you have some time, @peter-toth ?

@peter-toth
Copy link

Sure @dongjoon-hyun, thanks for pinging me. I'm happy to review this PR, but please allow me a day or 2 to set up a swift env and play a bit with this connector.

@dongjoon-hyun
Copy link
Member Author

Thank you so much. No problem at all, @peter-toth .

@dongjoon-hyun
Copy link
Member Author

Do you have a chance to take a look at this, @peter-toth ?

Copy link

@peter-toth peter-toth left a comment

Choose a reason for hiding this comment

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

Do you have a chance to take a look at this, @peter-toth ?

Yes, actually I have just finished testing this PR.
Sorry for the delay, but I had to update my MacOS to Sequoia and also wanted to look into the connector code and do some testing.

The change looks good.

@dongjoon-hyun
Copy link
Member Author

Thank you so much for spending your time to help this, @peter-toth !
Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-51570 branch March 22, 2025 22:44
dongjoon-hyun added a commit that referenced this pull request Apr 21, 2025
### What changes were proposed in this pull request?

This PR aims to add `build-ubuntu-arm` test pipeline.

### Why are the changes needed?

`Linux` arm64 architecture becomes public preview as a new GitHub Action runner. We had better utilize this resource in our test infra.
- https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Since `setup-swift` GitHub Action doesn't support `ubuntu-24.04-arm` yet, this PR runs the `Swift` docker image on `ubuntu-24.04-arm` GitHub Action runner.
- swift-actions/setup-swift#705

`Swift` Docker images support both `AMD64` and `ARM64` architectures.
- https://hub.docker.com/layers/library/swift/6.1.0/images/sha256-e0ce72c88f5f446d5e0c149d34c7b6d29a33d6410b228d55b575988f9e02e15a

    <img width="426" alt="Screenshot 2025-04-21 at 16 59 50" src="https://github.com/user-attachments/assets/b40146de-db98-4a90-9954-2a44439ee9db" />

### How was this patch tested?

After passing the CIs and check the following in the CI logs.

```
Linux 114e749feb29 6.8.0-1021-azure #25-Ubuntu SMP Wed Jan 15 20:23:05 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
```

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #52 from dongjoon-hyun/SPARK-51782.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
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.

2 participants