{"id":41133,"date":"2023-11-09T04:24:16","date_gmt":"2023-11-02T15:42:51","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/"},"modified":"2024-05-04T08:11:37","modified_gmt":"2024-05-04T00:11:37","slug":"%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/","title":{"rendered":"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b"},"content":{"rendered":"<p>\u7531\u4e8e\u5728 Redash \u4e2d\u4f7f\u7528 Elasticsearch \u4f5c\u4e3a\u6570\u636e\u6e90\u65f6\u53d1\u73b0\u4e86 Redash \u7684 Elasticsearch \u89e3\u6790\u5668\uff08QueryRunner\uff09\u5b58\u5728\u95ee\u9898\uff0c\u4e3a\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u51b3\u5b9a\u6269\u5c55 QueryRunner\u3002<br \/>\n\u867d\u7136\u6211\u4eec\u4e5f\u53ef\u4ee5\u4fee\u6539\u73b0\u6709\u6587\u4ef6\u6765\u89e3\u51b3\u95ee\u9898\uff0c\u4f46\u8fd9\u6837\u505a\u53ef\u80fd\u4f1a\u5728\u5347\u7ea7\u65f6\u5e26\u6765\u9ebb\u70e6\uff0c\u56e0\u6b64\u6211\u4eec\u51b3\u5b9a\u672c\u6b21\u5c1d\u8bd5\u65b0\u589e QueryRunner\u3002<\/p>\n<h1>\u73af\u5883<\/h1>\n<p>Redash\uff08\u7248\u672c7.0.0\uff09<br \/>\nElasticsearch\uff08\u7248\u672c7.3.2\uff09<br \/>\nDocker<\/p>\n<h1>\u6269\u5c55\u5185\u5bb9<\/h1>\n<p>\u4f7f\u7528Elasticsearch\u8fdb\u884c\u591a\u4e2a\u805a\u5408\u67e5\u8be2\uff0c\u5e76\u5c06\u7ed3\u679c\u4ee5\u8868\u683c\u5f62\u5f0f\u6b63\u786e\u663e\u793a\u5728Redash\u4e2d\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u82e5\u80fd\u83b7\u5f97\u4e0e\u6307\u5b9a\u7684GROUP BY \u9805\u76ee1,\u9805\u76ee2\u76f8\u540c\u7684\u8868\u683c\u7ed3\u679c\uff0c\u5219\u53ef\u4ee5\u5728Redash\u4e2d\u521b\u5efa\u56fe\u8868\u3002<\/p>\n<p>\u5c06\u6765\u81eaElasticsearch\u7684\u67e5\u8be2\u7ed3\u679c\u89e3\u6790\u4e3a\u8868\u683c\u5f0f\u3002\uff08\u7701\u7565\u90e8\u5206\u6570\u636e\uff09<\/p>\n<pre class=\"post-pre\"><code>{\r\n    \"aggregations\": {\r\n        \"1st\": {\r\n            \"buckets\": [\r\n                {\r\n                    \"key\": \"2019\u5e7410\u670829\u65e5\",\r\n                    \"doc_count\": 60,\r\n                    \"2nd\": {\r\n                        \"buckets\": [\r\n                            {\r\n                                \"key\": \"\u30b7\u30b9\u30c6\u30e0\u90e8\",\r\n                                \"doc_count\": 10\r\n                            },\r\n                            {\r\n                                \"key\": \"\u4eba\u4e8b\u90e8\",\r\n                                \"doc_count\": 20\r\n                            },\r\n                            {\r\n                                \"key\": \"\u7dcf\u52d9\u90e8\",\r\n                                \"doc_count\": 30\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                {\r\n                    \"key\": \"2019\u5e7410\u670830\u65e5\",\r\n                    \"doc_count\": 600,\r\n                    \"2nd\": {\r\n                        \"buckets\": [\r\n                            {\r\n                                \"key\": \"\u30b7\u30b9\u30c6\u30e0\u90e8\",\r\n                                \"doc_count\": 100\r\n                            },\r\n                            {\r\n                                \"key\": \"\u4eba\u4e8b\u90e8\",\r\n                                \"doc_count\": 200\r\n                            },\r\n                            {\r\n                                \"key\": \"\u7dcf\u52d9\u90e8\",\r\n                                \"doc_count\": 300\r\n                            }\r\n                        ]\r\n                    }\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}\r\n<\/code><\/pre>\n<h1>\u5c06Redash\u6dfb\u52a0\u5230\u4e2d\u6587\u4e2d\u7684\u65b9\u6cd5<\/h1>\n<p>\u5982\u679c\u8981\u6dfb\u52a0\u65b0\u7684QueryRunner\uff0c\u53ef\u4ee5\u901a\u8fc7\u9884\u5148\u8bbe\u7f6e\u7684\u73af\u5883\u53d8\u91cf&#8221;REDASH_ADDITIONAL_QUERY_RUNNERS&#8221;\u6765\u8fdb\u884c\u6dfb\u52a0\u3002<\/p>\n<p>\u5728Redash\u4e2d\u63d0\u4f9b\u7684\u73af\u5883\u53d8\u91cf\u6e05\u5355\u3002<\/p>\n<h3>\u9644\u52a0\u7684\u52a0\u8f7d\u8bbe\u7f6e<\/h3>\n<p>\u5728docker-compose.yml\u6587\u4ef6\u4e2d\u6dfb\u52a0\u914d\u7f6e\u3002<br \/>\n\u6dfb\u52a0\u5185\u5bb9\u5c06\u8ffd\u52a0\u5230environment\u90e8\u5206\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"na\">environment<\/span><span class=\"pi\">:<\/span>\r\n  <span class=\"na\">REDASH_ADDITIONAL_QUERY_RUNNERS<\/span><span class=\"pi\">:<\/span> <span class=\"s2\">\"<\/span><span class=\"s\">redash.query_runner.elasticsearch_custamize\"<\/span>\r\n<\/code><\/pre>\n<h3>\u914d\u7f6e\u8ffd\u52a0\u7684\u6587\u4ef6\u3002<\/h3>\n<p>\u5c06\u8981\u6dfb\u52a0\u7684\u6587\u4ef6\u653e\u7f6e\u5728\u5df2\u7ecf\u5b58\u5728\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u4e2d\u3002<\/p>\n<pre class=\"post-pre\"><code>redash\/query_runner\r\n\u3000elasticsearch.py\r\n\u3000oracle.py\r\n\u3000pg.py\r\n   \u30fb\r\n   \u30fb\r\n\u3000elasticsearch_custamize.py\r\n   \u30fb\r\n<\/code><\/pre>\n<h3>\u542f\u52a8\uff08\u91cd\u65b0\u542f\u52a8\uff09Docker\u5bb9\u5668<\/h3>\n<p>\u5982\u679c\u8981\u5728\u5f00\u53d1\u7248\u8fdb\u884c\u786e\u8ba4\uff0c\u5219\u4ee5redash\u76ee\u5f55\u4e0b\u7684docker-compose.yml\u4f5c\u4e3a\u57fa\u7840\uff0c\u8fdb\u884cdocker-compose\u64cd\u4f5c\u3002<br \/>\n\u5982\u679c\u8981\u5728\u53d1\u5e03\u7248\u8fdb\u884c\u786e\u8ba4\uff0c\u5219\u9884\u5148\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u653e\u7f6e\u6587\u4ef6\u7684Redash Image\uff0c\u7136\u540e\u4ee5redash\/setup\u76ee\u5f55\u4e0b\u7684docker-compose.yml\u4f5c\u4e3a\u57fa\u7840\uff0c\u8fdb\u884cdocker-compose\u64cd\u4f5c\u3002<br \/>\n\u203b\u5982\u679c\u542f\u52a8\u65f6\u6307\u5b9a\u7684\u4f4d\u7f6e\u6ca1\u6709\u76ee\u6807\u6587\u4ef6\uff0c\u5219\u4f1a\u51fa\u73b0\u9519\u8bef\u3002<\/p>\n<pre class=\"post-pre\"><code>redash\r\n  \/setup\r\n    docker-compose.yml \u2190 \u30ea\u30ea\u30fc\u30b9\u7248\u7528\r\n  Dockerfile\r\n  docker-compose.yml \u3000\u2190 \u958b\u767a\u7528\r\n<\/code><\/pre>\n<h1>\u4f7f\u7528\u5df2\u6dfb\u52a0\u7684QueryRunner<\/h1>\n<h3>\u4ece\u65b0\u6570\u636e\u6765\u6e90\u4e2d\u9009\u62e9\u8981\u6dfb\u52a0\u7684\u6570\u636e\u6e90\u3002<\/h3>\n<p>\u5982\u679c\u6210\u529f\u52a0\u8f7d\uff0c\u5c06\u5728\u6570\u636e\u6e90\u5217\u8868\u4e2d\u663e\u793a\u3002<br \/>\n\u203b\u4f3c\u4e4e\u56fe\u7247\u662f\u5355\u72ec\u7ba1\u7406\u7684\uff0c\u8fd9\u6b21\u6211\u4eec\u5728\u4fdd\u7559\u73b0\u6709\u7684Elasticsearch\u7684\u540c\u65f6\uff0c\u7528\u4e0d\u540c\u7684\u540d\u79f0\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u6e90\uff0c\u56e0\u6b64\u4f3c\u4e4e\u6ca1\u6709\u663e\u793a\u4efb\u4f55\u56fe\u7247\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d44b537434c4406ca0602\/22-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u5982\u679c\u4e0d\u6309\u7167\u4e0b\u8ff0\u65b9\u5f0f\u66f4\u6539\u540d\u79f0\uff0c\u5c06\u4f1a\u8986\u76d6\u73b0\u6709\u7684\u7269\u54c1\uff0c\u56e0\u6b64\u9700\u8981\u6ce8\u610f\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">class<\/span> <span class=\"nc\">ElasticsearchCustom<\/span><span class=\"p\">(<\/span><span class=\"n\">BaseElasticSearch<\/span><span class=\"p\">):<\/span>\r\n\r\n    <span class=\"o\">@<\/span><span class=\"nb\">classmethod<\/span>\r\n    <span class=\"k\">def<\/span> <span class=\"nf\">name<\/span><span class=\"p\">(<\/span><span class=\"n\">cls<\/span><span class=\"p\">):<\/span>\r\n        <span class=\"k\">return<\/span> <span class=\"s\">'ElasticsearchCustom'<\/span>\r\n\r\n<span class=\"n\">register<\/span><span class=\"p\">(<\/span><span class=\"n\">ElasticsearchCustom<\/span><span class=\"p\">)<\/span>\r\n<\/code><\/pre>\n<p>\u8bf7\u8f93\u5165Elasticsearch\u7684\u8fde\u63a5\u4fe1\u606f\u5e76\u4fdd\u5b58\u3002<br \/>\n\u6211\u4eec\u5c06\u5728\u65b0\u6dfb\u52a0\u7684elasticsearch_custamize.py\u6587\u4ef6\u4e2d\u5b9a\u4e49\u914d\u7f6e\u4fe1\u606f\uff0c\u56e0\u4e3a\u8fd9\u662felasticsearch.py\u7684\u6269\u5c55\u7248\u672c\uff0c\u6240\u4ee5\u8fde\u63a5\u5b9a\u4e49\u4fe1\u606f\u5c06\u4e0e\u73b0\u6709\u7684Elasticsearch\u76f8\u540c\u6ce8\u518c\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d44b537434c4406ca0602\/26-0.png\" alt=\"image.png\" \/><\/div>\n<h3>\u4f7f\u7528Query\u4e2d\u5df2\u6ce8\u518c\u7684\u6570\u636e\u6e90\u521b\u5efa\u548c\u6267\u884c\u67e5\u8be2\u3002<\/h3>\n<p>\u4ee5\u4e0b\u662f\u8981\u6267\u884c\u7684\u67e5\u8be2\u3002<\/p>\n<pre class=\"post-pre\"><code>{\r\n    \"index\": \"\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u540d\",\r\n    \"size\": 100,\r\n    \"aggs\": {\r\n        \"1st\": {\r\n            \"terms\": {\r\n                \"field\": \"LogDate\"\r\n            },\r\n            \"aggs\": {\r\n                \"2nd\": {\r\n                    \"terms\": {\r\n                        \"field\": \"SectionName\"\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u7ecf\u8fc7elasticsearch_custamize.py\u7684\u5904\u7406\uff0c\u7ed3\u679c\u5c06\u5728Table\u4e2d\u663e\u793a\u51fa\u6765\u3002<\/p>\n<div>\n<div class=\"post-table\">1st2nd1st_doc_count2nd_doc_count2019\u5e7410\u670829\u65e5\u30b7\u30b9\u30c6\u30e0\u90e860102019\u5e7410\u670829\u65e5\u4eba\u4e8b\u90e860202019\u5e7410\u670829\u65e5\u7dcf\u52d9\u90e860302019\u5e7410\u670830\u65e5\u30b7\u30b9\u30c6\u30e0\u90e86001002019\u5e7410\u670830\u65e5\u4eba\u4e8b\u90e86002002019\u5e7410\u670830\u65e5\u7dcf\u52d9\u90e8600300<\/div>\n<\/div>\n<p>\u5982\u679c\u6211\u4eec\u80fd\u83b7\u5f97\u8fd9\u4e2a\u8868\u7684\u7ed3\u679c\uff0c\u5c31\u53ef\u4ee5\u5236\u4f5c\u51fa\u56fe\u8868\u6765\uff01<\/p>\n<p>\u5982\u679c\u6709\u65e0\u6cd5\u6ee1\u8db3\u7684\u8981\u6c42\u51fa\u73b0\u65f6\uff0c\u8003\u8651\u5230\u5404\u79cd\u67e5\u8be2\u7ed3\u679c\u7684 JSON \u6a21\u5f0f\uff0c\u4e0e\u5176\u8ba9\u7a0b\u5e8f\u53d8\u5f97\u590d\u6742\uff0c\u4e0d\u5982\u901a\u8fc7 QueryResult \u7684\u7ec4\u5408\u6280\u6765\u5b9e\u73b0\u4e5f\u4e0d\u9519\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7531\u4e8e\u5728 Redash \u4e2d\u4f7f\u7528 Elasticsearch \u4f5c\u4e3a\u6570\u636e\u6e90\u65f6\u53d1\u73b0\u4e86 Redash \u7684 Elastic [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41133","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6269\u5c55redash\u7684queryrunner\u80fd\u529b\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b\" \/>\n<meta property=\"og:description\" content=\"\u7531\u4e8e\u5728 Redash \u4e2d\u4f7f\u7528 Elasticsearch \u4f5c\u4e3a\u6570\u636e\u6e90\u65f6\u53d1\u73b0\u4e86 Redash \u7684 Elastic [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6269\u5c55redash\u7684queryrunner\u80fd\u529b\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-02T15:42:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T00:11:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d44b537434c4406ca0602\/22-0.png\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/\",\"name\":\"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-11-02T15:42:51+00:00\",\"dateModified\":\"2024-05-04T00:11:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u6269\u5c55redash\u7684queryrunner\u80fd\u529b\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b","og_description":"\u7531\u4e8e\u5728 Redash \u4e2d\u4f7f\u7528 Elasticsearch \u4f5c\u4e3a\u6570\u636e\u6e90\u65f6\u53d1\u73b0\u4e86 Redash \u7684 Elastic [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6269\u5c55redash\u7684queryrunner\u80fd\u529b\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-11-02T15:42:51+00:00","article_modified_time":"2024-05-04T00:11:37+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d44b537434c4406ca0602\/22-0.png"}],"author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/","name":"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-11-02T15:42:51+00:00","dateModified":"2024-05-04T00:11:37+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6269\u5c55Redash\u7684QueryRunner\u80fd\u529b"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%89%a9%e5%b1%95redash%e7%9a%84queryrunner%e8%83%bd%e5%8a%9b\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=41133"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41133\/revisions"}],"predecessor-version":[{"id":97158,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41133\/revisions\/97158"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}