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

Bug: Snowflake Cortex destination - Chunks get overwritten by the last chunk #38327

Merged
merged 4 commits into from
May 18, 2024

Conversation

bindipankhudi
Copy link
Contributor

This issue was observed when using google drive + file format to load data using overwrite mode.

@bindipankhudi bindipankhudi requested a review from a team as a code owner May 17, 2024 19:52
Copy link

vercel bot commented May 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2024 10:01pm

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/destination/snowflake-cortex labels May 17, 2024
new_data[METADATA_COLUMN] = chunk.metadata
new_data[DOCUMENT_CONTENT_COLUMN] = chunk.page_content
new_data[EMBEDDING_COLUMN] = chunk.embedding
record_copy = copy.deepcopy(chunk.record)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added deep copy and bit of a clean up.

Copy link
Collaborator

@aaronsteers aaronsteers left a comment

Choose a reason for hiding this comment

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

🚀

@bindipankhudi bindipankhudi merged commit d793c1d into master May 18, 2024
32 checks passed
@bindipankhudi bindipankhudi deleted the bindi/snowflake-cortex-unstructured-data-bugs branch May 18, 2024 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/destination/snowflake-cortex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants