Skip to content

SNOW-3002469: Support INCLUDE_METADATA in copy_into_table#4118

Open
sfc-gh-bkogan wants to merge 12 commits intomainfrom
bkogan-include-metadata
Open

SNOW-3002469: Support INCLUDE_METADATA in copy_into_table#4118
sfc-gh-bkogan wants to merge 12 commits intomainfrom
bkogan-include-metadata

Conversation

@sfc-gh-bkogan
Copy link
Collaborator

@sfc-gh-bkogan sfc-gh-bkogan commented Mar 12, 2026

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

    Fixes SNOW-3002469

  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
    • If adding any arguments to public Snowpark APIs or creating new public Snowpark APIs, I acknowledge that I have ensured my changes include AST support. Follow the link for more information: AST Support Guidelines
  3. Please describe how your code solves the related issue.

    Adds support for the INCLUDE_METADATA copy option for copy_into_table. This specifies a list of file metadata columns to also include with the copied rows. Docs here.

@sfc-gh-bkogan sfc-gh-bkogan changed the title SNOW-3002469: Suppot INCLUDE_METADATA in copy_into_table SNOW-3002469: Support INCLUDE_METADATA in copy_into_table Mar 12, 2026
@sfc-gh-bkogan sfc-gh-bkogan marked this pull request as ready for review March 12, 2026 22:32
@sfc-gh-bkogan sfc-gh-bkogan requested review from a team as code owners March 12, 2026 22:32
@sfc-gh-bkogan sfc-gh-bkogan marked this pull request as draft March 12, 2026 22:35
@sfc-gh-bkogan
Copy link
Collaborator Author

sfc-gh-bkogan commented Mar 12, 2026

Putting back to draft, just noticed there is a with_metadata method already. Investigating what it does.

Edit: unrelated, that's for querying from the file. It should not persist to copy_into_table.

@sfc-gh-bkogan sfc-gh-bkogan marked this pull request as ready for review March 13, 2026 18:12
@sfc-gh-bkogan sfc-gh-bkogan force-pushed the bkogan-include-metadata branch 2 times, most recently from 3ad1a40 to e9da3fa Compare March 17, 2026 22:41
@sfc-gh-bkogan sfc-gh-bkogan force-pushed the bkogan-include-metadata branch from e9da3fa to 97e0692 Compare March 17, 2026 23:44
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.

3 participants