Load with indexpattern into dataframe using spark sql


(saisn) #1

Hi,

I am trying to load index as indexpattern using spark sql. But, doing so gives me an index doesn't exist error. Is there a way to load index pattern using spark sql ? Thanks

for eg:

index-* in below.

df = sqlContext.read.format("org.elasticsearch.spark.sql").load("index-*/type")


(system) #2