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

Support writing a dataframe that only contains subset of Weaviate class #30

Open
Tracked by #97
samos123 opened this issue Nov 16, 2022 · 1 comment
Open
Tracked by #97

Comments

@samos123
Copy link
Collaborator

samos123 commented Nov 16, 2022

Assume you have Weaviate class:

Article (title: String, content: String)

However your Spark dataframe also has an author column then I should still be able to write a the dataframe to Weaviate as long as it has the title and content columns.

This might simply not be possible due to the way Spark DataSource and DataWriter interfaces are implemented

@samos123
Copy link
Collaborator Author

I think one way could be to have an ignore list as option and inferSchema will ignore any columns in the dataframe that are in the ignore list.

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

No branches or pull requests

1 participant