SQL Plugin Issue SQLNumberExpr cannot be cast to SQLIdentifierExpr

We have an issue with the SQL Plugin. The plugin worked in a single server cluster, but in a multiple node cluster it did not.

POST _opendistro/_sql?
{
“query”: “SELECT * FROM myindex LIMIT 50”
}

{
“error”: {
“reason”: “com.alibaba.druid.sql.ast.expr.SQLNumberExpr cannot be cast to com.alibaba.druid.sql.ast.expr.SQLIdentifierExpr”,
“details”: “java.lang.ClassCastException: com.alibaba.druid.sql.ast.expr.SQLNumberExpr cannot be cast to com.alibaba.druid.sql.ast.expr.SQLIdentifierExpr”,
“type”: “ClassCastException”
},
“status”: 503
}

I tried running the same query on kibana_sample_data_flights index that comes with Kibana and it works fine.

POST _opendistro/_sql/?
{
    "query": """
    SELECT  * FROM kibana_sample_data_flights LIMIT 50
    """
}

---- result ----
{
  "took" : 5,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 10000,
      "relation" : "gte"
    },
    "max_score" : 1.0,
    "hits" : [
...
...
...
]

Explain:

POST _opendistro/_sql/_explain?
{
    "query": """
    SELECT  * FROM kibana_sample_data_flights LIMIT 50
    """
}

---- result ----
{
  "from" : 0,
  "size" : 50
}

Can you share the Opendistro SQL plugin it was run against.