Unable to load elasticsearch class
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 332
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 9
Description
I am trying to run this code:
```
var es_reader = spark.Read()
.Format("org.elasticsearch.spark.sql")
.Option("inferSchema", "true")
.Option("es.read.field.as.array.include", "tags")
.Option("es.nodes", "myelasticsearch:9200")
.Option("es.net.http.auth.user", "elastic")
.Option("es.net.http.auth.pass", "mypass");
var security_df = es_reader.Load("my-index/");
```
```
[JvmBridge] java.lang.ClassNotFoundException: Failed to find data source: org.elasticsearch.spark.sql. Please find packages at http://spark.apache.org/third-party-projects.html
```
This same code is working in Jupyter. I have no clue what's going on.... Can someone help me pls
Contributor guide
Assessment
This issue has not been assessed yet.