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

Fields (multi-fields?) specified in eland.Dataframe columns variable are not always returned #692

Open
bartbroere opened this issue May 14, 2024 · 3 comments

Comments

@bartbroere
Copy link
Contributor

I encountered the issue that a field specified in eland.Dataframe's columns parameter ended up as an empty array in the Dataframe (all NaNs), even though it definitely was not empty.

After setting some breakpoints in eland.operations I found a fix that works on our index.
I did not yet reproduce it with the flights or ecommerce sample data yet, but I could work on that later.

bartbroere added a commit to bartbroere/eland that referenced this issue May 14, 2024
@bartbroere
Copy link
Contributor Author

I think this problem might occur with multi-fields specifically: https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html

@bartbroere bartbroere changed the title Fields specified in eland.Dataframe columns variable is not always returned Fields (multi-fields?) specified in eland.Dataframe columns variable are not always returned May 14, 2024
@bartbroere
Copy link
Contributor Author

I think we could reproduce this issue if we add a copy_to to the testing indices: https://www.elastic.co/guide/en/elasticsearch/reference/current/copy-to.html

I'm trying that now.

@pquentin
Copy link
Member

Thanks. Would you mind pasting here a JSON response from Elasticsearch where _source is a list and fields is set?

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

2 participants