-
-
Save pavel-paulau/4da0f5e5cc37285e7265 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cbq> EXPLAIN SELECT DISTINCT year FROM bucket-1 LIMIT 20 | |
{ | |
"resultset": [ | |
{ | |
"input": { | |
"input": { | |
"input": { | |
"as": "bucket-1", | |
"bucket": "bucket-1", | |
"ids": null, | |
"input": { | |
"as": "", | |
"bucket": "bucket-1", | |
"cover": false, | |
"index": "#alldocs", | |
"pool": "default", | |
"ranges": null, | |
"type": "scan" | |
}, | |
"pool": "default", | |
"projection": null, | |
"type": "fetch" | |
}, | |
"result": [ | |
{ | |
"as": "year", | |
"expr": { | |
"left": { | |
"path": "bucket-1", | |
"type": "property" | |
}, | |
"right": { | |
"path": "year", | |
"type": "property" | |
}, | |
"type": "dot_member" | |
}, | |
"star": false | |
} | |
], | |
"type": "projector" | |
}, | |
"type": "eliminate-duplicates" | |
}, | |
"type": "limit", | |
"value": 20 | |
} | |
], | |
"info": [ | |
{ | |
"caller": "http_response:160", | |
"code": 100, | |
"key": "total_rows", | |
"message": "1" | |
}, | |
{ | |
"caller": "http_response:162", | |
"code": 101, | |
"key": "total_elapsed_time", | |
"message": "43.11233ms" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment