Can't connect to Elasticsearch db

Hi. Have asked in the Slack already, https://cube-js.slack.com/archives/CC0403RRR/p1623763078333700

Here is sample repo to reproduce the issue.

Thanks in advance for any ideas.

@aelyseev, glad this was resolved in Slack. It looks like this was caused by OpenDistro supporting only table_name in Select (without the database name)?

I think the changes you made in data schema was

From:

cube(`Shakespeare`, {
  sql: `SELECT * FROM "main"."shakespeare"`,

To:

cube(`Shakespeare`, {
  sql: `SELECT * FROM shakespeare`,

Please feel free to add other details that I missed :smiley: