Can't connect to Elasticsearch db

Hi. Have asked in the Slack already,

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


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


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

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