eland icon indicating copy to clipboard operation
eland copied to clipboard

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

Open bartbroere opened this issue 1 year ago • 3 comments
trafficstars

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 avatar May 14 '24 12:05 bartbroere

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

bartbroere avatar May 14 '24 12:05 bartbroere

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.

bartbroere avatar May 14 '24 12:05 bartbroere

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

pquentin avatar May 15 '24 05:05 pquentin