Field 'tags' is backed by an array but the associated Spark Schema does not reflect this

I am trying to read the data from index in ES using pyspark. I am able to load the data into the dataframe. Used this code
reader ="es").option("", True).option("es.port","9200").option("es.nodes", "").option("","XRAM,XCPU,count,message")

df = reader.load("webserverstats")


. Its schema is there. Later on this error occured.

Could anybody help resolve this issue.

Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.