Skip to content

SNOW-1552377: Add support for flatmap using udtf#2812

Merged
sfc-gh-aalam merged 8 commits intoSNOW-1830033-dataframe-api-bcrsfrom
aalam-SNOW-1552377-add-support-for-flatmap-using-udtf
Jan 7, 2025
Merged

SNOW-1552377: Add support for flatmap using udtf#2812
sfc-gh-aalam merged 8 commits intoSNOW-1830033-dataframe-api-bcrsfrom
aalam-SNOW-1552377-add-support-for-flatmap-using-udtf

Conversation

@sfc-gh-aalam
Copy link
Contributor

@sfc-gh-aalam sfc-gh-aalam commented Dec 26, 2024

  1. Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes SNOW-1552377

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
      • If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am adding new credentials
    • I am adding a new dependency
    • If this is a new feature/behavior, I'm adding the Local Testing parity changes.
    • I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: Thread-safe Developer Guidelines
  3. Please describe how your code solves the related issue.

    This PR adds implementation for Dataframe.flatmap and refactors implementation of Dataframe.map to de-duplicate common code used in flatmap.

@github-actions
Copy link

Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing

@github-actions
Copy link

Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing

@sfc-gh-aalam sfc-gh-aalam marked this pull request as ready for review January 2, 2025 19:13
@sfc-gh-aalam sfc-gh-aalam requested review from a team as code owners January 2, 2025 19:13
@sfc-gh-aalam sfc-gh-aalam requested review from sfc-gh-aling, sfc-gh-jdu and sfc-gh-yixie and removed request for a team January 2, 2025 19:13
Copy link
Contributor

@sfc-gh-jrose sfc-gh-jrose left a comment

Choose a reason for hiding this comment

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

Based on docstrings it seems unclear what the difference between map and flatmap is.

@sfc-gh-aalam
Copy link
Contributor Author

Based on docstrings it seems unclear what the difference between map and flatmap is.

let me update the doc strings. The main difference is df.map is 1-1 mapping for each row and flat map can have 1-many mapping.

@github-actions
Copy link

github-actions bot commented Jan 3, 2025

Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing

@github-actions
Copy link

github-actions bot commented Jan 3, 2025

Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing

@github-actions
Copy link

github-actions bot commented Jan 3, 2025

Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing

@sfc-gh-aalam sfc-gh-aalam merged commit 15bc20c into SNOW-1830033-dataframe-api-bcrs Jan 7, 2025
35 of 37 checks passed
@sfc-gh-aalam sfc-gh-aalam deleted the aalam-SNOW-1552377-add-support-for-flatmap-using-udtf branch January 7, 2025 21:53
@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants