JoyJava
January 19, 2018, 10:57am
1
SELECT * FROM “ES_databus”.“aa”.“default” where deleted = ‘0’ and audit_type in (‘C’,‘P’) order by audit_time DESC LIMIT 10 offset 0
query plan:
xxxxx], pushdown
=[{
“from” : 0,
“size” : 4000,
“query” : {
“bool” : {
“must” : [ {
“match” : {
“deleted” : {
“query” : “0”,
“type” : “boolean”
}
}
}, {
“bool” : {
“should” : [ {
“match” : {
“audit_type” : {
“query” : “C”,
“type” : “boolean”
}
}
}, {
“match” : {
“audit_type” : {
“query” : “P”,
“type” : “boolean”
}
}
} ]
}
} ]
}
}
}]) :
thx
can
January 19, 2018, 11:43pm
2
@JoyJava we currently support pushing down filters, aggregations, projects and limits into Elasticsearch but not sorting operations. That’s why in your situation, the filters are pushed down, but not the ORDER BY
+ LIMIT
combination. This is an improvement we are considering – we’ll reach out when available.
can:
@JoyJava we currently support pushing down filters, aggregations, projects and limits into Elasticsearch but not sorting operations. That’s why in your situation, the filters are pushed down, but not the ORDER BY + LIMIT combination. This is an improvement we are considering – we’ll reach out when available.
Can a single table query use the storage engine’s API?
thx
can
January 22, 2018, 8:04pm
4
@JoyJava depends on the query and the operations in it.
sudhko
April 6, 2018, 12:16am
5
Is this getting addressed in current release?