{"id":485,"date":"2024-12-24T00:18:25","date_gmt":"2024-12-23T16:18:25","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=485"},"modified":"2024-12-24T00:18:25","modified_gmt":"2024-12-23T16:18:25","slug":"%e5%a6%82%e4%bd%95%e5%b0%86-aws-glue-%e7%88%ac%e7%bd%91%e7%a8%8b%e5%ba%8f%e4%b8%8e-amazon-athena-%e7%bb%93%e5%90%88%e4%bd%bf%e7%94%a8%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2024\/12\/24\/%e5%a6%82%e4%bd%95%e5%b0%86-aws-glue-%e7%88%ac%e7%bd%91%e7%a8%8b%e5%ba%8f%e4%b8%8e-amazon-athena-%e7%bb%93%e5%90%88%e4%bd%bf%e7%94%a8%ef%bc%9f\/","title":{"rendered":"\u5982\u4f55\u5c06 AWS Glue \u722c\u7f51\u7a0b\u5e8f\u4e0e Amazon Athena \u7ed3\u5408\u4f7f\u7528\uff1f"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u5c06 <strong>AWS Glue \u722c\u7f51\u7a0b\u5e8f<\/strong>\uff08Glue Crawlers\uff09\u4e0e <strong>Amazon Athena<\/strong> \u7ed3\u5408\u4f7f\u7528\uff0c\u53ef\u4ee5\u5e2e\u52a9\u81ea\u52a8\u5316\u6570\u636e\u53d1\u73b0\u3001\u521b\u5efa\u6570\u636e\u76ee\u5f55\u3001\u4ee5\u53ca\u9ad8\u6548\u5730\u67e5\u8be2\u5b58\u50a8\u5728 <strong>Amazon S3<\/strong> \u4e2d\u7684\u7ed3\u6784\u5316\u6216\u534a\u7ed3\u6784\u5316\u6570\u636e\u3002\u4ee5\u4e0b\u662f\u5c06 AWS Glue \u722c\u7f51\u7a0b\u5e8f\u4e0e Athena \u7ed3\u5408\u4f7f\u7528\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u6b65\u9aa4 1: \u521b\u5efa AWS Glue \u722c\u7f51\u7a0b\u5e8f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001<strong>\u767b\u5f55 AWS \u7ba1\u7406\u63a7\u5236\u53f0<\/strong>\uff0c\u8fdb\u5165 AWS Glue \u63a7\u5236\u53f0\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001\u5728\u5de6\u4fa7\u5bfc\u822a\u680f\u4e2d\uff0c\u9009\u62e9 <strong>Crawlers<\/strong>\uff0c\u7136\u540e\u70b9\u51fb <strong>Add crawler<\/strong>\uff08\u6dfb\u52a0\u722c\u7f51\u7a0b\u5e8f\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3001\u5728\u201c\u521b\u5efa\u722c\u7f51\u7a0b\u5e8f\u201d\u754c\u9762\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Crawler name<\/strong>\uff1a\u4e3a\u4f60\u7684\u722c\u7f51\u7a0b\u5e8f\u547d\u540d\uff0c\u4f8b\u5982 <code>my-crawler<\/code>\u3002<\/li>\n\n\n\n<li><strong>Data store<\/strong>\uff1a\u9009\u62e9\u6570\u636e\u6e90\u7c7b\u578b\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u9009\u62e9 <strong>S3<\/strong> \u4f5c\u4e3a\u6570\u636e\u6e90\uff08\u5982\u679c\u6570\u636e\u5b58\u50a8\u5728 Amazon S3 \u4e2d\uff09\u3002<\/li>\n\n\n\n<li><strong>Include path<\/strong>\uff1a\u9009\u62e9 S3 \u5b58\u50a8\u6876\u8def\u5f84\uff0c\u722c\u7f51\u7a0b\u5e8f\u5c06\u626b\u63cf\u8be5\u8def\u5f84\u4e0b\u7684\u6570\u636e\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u9009\u62e9 <code>s3:\/\/my-bucket\/my-folder\/<\/code>\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">4\u3001\u5728\u201c\u9009\u62e9\u76ee\u6807\u6570\u636e\u5e93\u201d\u754c\u9762\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9009\u62e9 <strong>AWS Glue \u6570\u636e\u76ee\u5f55<\/strong>\uff0c\u5e76\u6307\u5b9a\u4e00\u4e2a\u6570\u636e\u5e93\u3002Glue \u6570\u636e\u76ee\u5f55\u662f Athena \u67e5\u8be2\u7684\u57fa\u7840\uff0c\u5b83\u5b58\u50a8\u4e86\u8868\u7684\u5143\u6570\u636e\uff08\u5373\u8868\u7ed3\u6784\u3001\u5217\u6570\u636e\u7c7b\u578b\u7b49\uff09\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u6ca1\u6709\u73b0\u6709\u7684\u6570\u636e\u5e93\uff0c\u53ef\u4ee5\u9009\u62e9 <strong>\u521b\u5efa\u65b0\u6570\u636e\u5e93<\/strong>\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">5\u3001\u5728\u201c\u9009\u62e9\u722c\u7f51\u7a0b\u5e8f\u7684\u914d\u7f6e\u201d\u754c\u9762\uff0c\u9009\u62e9 <strong>\u722c\u7f51\u7a0b\u5e8f\u7684IAM\u89d2\u8272<\/strong>\uff0c\u8be5\u89d2\u8272\u9700\u8981\u6709\u8db3\u591f\u7684\u6743\u9650\u6765\u8bbf\u95ee S3 \u5b58\u50a8\u6876\u548c AWS Glue \u6570\u636e\u76ee\u5f55\u3002\u4f60\u53ef\u4ee5\u9009\u62e9\u5df2\u6709\u7684\u89d2\u8272\uff0c\u6216\u8005\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u89d2\u8272\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6\u3001<strong>\u8bbe\u7f6e\u722c\u7f51\u7a0b\u5e8f\u7684\u8c03\u5ea6<\/strong>\uff08\u53ef\u9009\uff09\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f60\u53ef\u4ee5\u8bbe\u7f6e\u722c\u7f51\u7a0b\u5e8f\u7684\u8c03\u5ea6\u9891\u7387\uff0c\u4f8b\u5982\u6bcf\u5929\u3001\u6bcf\u5c0f\u65f6\u7b49\uff0c\u81ea\u52a8\u626b\u63cf S3 \u4e2d\u7684\u6570\u636e\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">7\u3001<strong>\u4fdd\u5b58\u5e76\u8fd0\u884c\u722c\u7f51\u7a0b\u5e8f<\/strong>\uff1a\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u70b9\u51fb <strong>Finish<\/strong>\uff0c\u7136\u540e\u8fd0\u884c\u722c\u7f51\u7a0b\u5e8f\u3002\u5b83\u4f1a\u626b\u63cf\u6307\u5b9a\u7684 S3 \u8def\u5f84\uff0c\u81ea\u52a8\u53d1\u73b0\u6570\u636e\u7ed3\u6784\uff0c\u5e76\u5c06\u6570\u636e\u7ed3\u6784\u6ce8\u518c\u5230 Glue \u6570\u636e\u76ee\u5f55\u4e2d\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u6b65\u9aa4 2: \u68c0\u67e5 AWS Glue \u6570\u636e\u76ee\u5f55\u4e2d\u7684\u8868<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u5728 AWS Glue \u63a7\u5236\u53f0\u4e2d\uff0c\u8fdb\u5165<\/strong> <strong>Data Catalog<\/strong>\uff08\u6570\u636e\u76ee\u5f55\uff09\u90e8\u5206\u3002<\/li>\n\n\n\n<li>\u70b9\u51fb <strong>Databases<\/strong>\uff0c\u627e\u5230\u4f60\u6307\u5b9a\u7684\u6570\u636e\u5e93\uff08\u5728\u521b\u5efa\u722c\u7f51\u7a0b\u5e8f\u65f6\u6307\u5b9a\u7684\u6570\u636e\u5e93\uff09\uff0c\u7136\u540e\u67e5\u770b <strong>Tables<\/strong>\uff08\u8868\u683c\uff09\u3002<\/li>\n\n\n\n<li>\u5728\u8fd9\u91cc\uff0c\u4f60\u4f1a\u770b\u5230\u722c\u7f51\u7a0b\u5e8f\u626b\u63cf\u5e76\u6ce8\u518c\u7684\u6570\u636e\u8868\u3002\u6bcf\u4e2a\u8868\u4f1a\u5305\u542b S3 \u4e2d\u6570\u636e\u7684\u7ed3\u6784\u63cf\u8ff0\uff08\u4f8b\u5982\u5217\u540d\u3001\u6570\u636e\u7c7b\u578b\u7b49\uff09\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u6b65\u9aa4 3: \u914d\u7f6e Amazon Athena<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u767b\u5f55 AWS \u7ba1\u7406\u63a7\u5236\u53f0<\/strong>\uff0c\u8fdb\u5165 <strong>Amazon Athena<\/strong> \u63a7\u5236\u53f0\u3002<\/li>\n\n\n\n<li>\u5728 Athena \u63a7\u5236\u53f0\u4e2d\uff0c\u786e\u4fdd <strong>\u67e5\u8be2\u7ed3\u679c\u4f4d\u7f6e<\/strong>\uff08Query Result Location\uff09\u5df2\u8bbe\u7f6e\u4e3a S3 \u5b58\u50a8\u6876\u8def\u5f84\u3002\u4f8b\u5982\uff0c<code>s3:\/\/my-query-results-bucket\/<\/code>\u3002<\/li>\n\n\n\n<li>\u5728 Athena \u67e5\u8be2\u7f16\u8f91\u5668\u4e2d\uff0c\u786e\u4fdd\u9009\u62e9\u7684 <strong>\u6570\u636e\u5e93<\/strong> \u662f\u4e0e Glue \u6570\u636e\u76ee\u5f55\u4e2d\u521b\u5efa\u7684\u6570\u636e\u5e93\u76f8\u5bf9\u5e94\u7684\u6570\u636e\u5e93\u3002<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5982\u679c\u4f60\u6ca1\u6709\u770b\u5230\u6570\u636e\u5e93\uff0c\u53ef\u4ee5\u9009\u62e9 <strong>Refresh<\/strong>\uff08\u5237\u65b0\uff09\uff0c\u4ee5\u66f4\u65b0 Athena \u4e2d\u7684\u6570\u636e\u5e93\u5217\u8868\u3002<\/li>\n\n\n\n<li>Athena \u4f1a\u81ea\u52a8\u8bbf\u95ee Glue \u6570\u636e\u76ee\u5f55\u4e2d\u7684\u8868\u548c\u7ed3\u6784\uff0c\u65e0\u9700\u624b\u52a8\u521b\u5efa\u8868\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u6b65\u9aa4 4: \u4f7f\u7528 Amazon Athena \u67e5\u8be2 Glue \u6570\u636e\u76ee\u5f55\u4e2d\u7684\u6570\u636e<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5728 Athena \u63a7\u5236\u53f0\u7684\u67e5\u8be2\u7f16\u8f91\u5668\u4e2d\uff0c\u4f60\u73b0\u5728\u53ef\u4ee5\u50cf\u4f7f\u7528 SQL \u67e5\u8be2\u6570\u636e\u5e93\u4e00\u6837\uff0c\u4f7f\u7528 SQL \u67e5\u8be2 Glue \u6570\u636e\u76ee\u5f55\u4e2d\u7684\u8868\u3002 \u4f8b\u5982\uff0c\u5982\u679c\u722c\u7f51\u7a0b\u5e8f\u626b\u63cf\u4e86\u5b58\u50a8\u5728 S3 \u4e2d\u7684 <code>my-data<\/code> \u6587\u4ef6\u5939\uff0c\u5e76\u81ea\u52a8\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a <code>sales_data<\/code> \u7684\u8868\uff0c\u4f60\u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u67e5\u8be2\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   SELECT * FROM sales_data LIMIT 10;<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u901a\u8fc7 SQL \u67e5\u8be2\uff0c\u4f60\u53ef\u4ee5\u5728 Athena \u4e2d\u5bf9\u8fd9\u4e9b\u8868\u8fdb\u884c\u590d\u6742\u7684\u5206\u6790\uff0c\u4f7f\u7528\u6807\u51c6\u7684 SQL \u67e5\u8be2\u8bed\u6cd5\u6267\u884c\u5404\u79cd\u805a\u5408\u3001\u8fc7\u6ee4\u3001\u8fde\u63a5\u7b49\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u6b65\u9aa4 5: \u5b9a\u671f\u66f4\u65b0\u6570\u636e\u76ee\u5f55<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5982\u679c\u4f60\u5728 S3 \u4e2d\u65b0\u589e\u6216\u66f4\u6539\u4e86\u6570\u636e\uff0cAWS Glue \u722c\u7f51\u7a0b\u5e8f\u4f1a\u5b9a\u671f\u626b\u63cf\u65b0\u7684\u6570\u636e\u5e76\u66f4\u65b0 Glue \u6570\u636e\u76ee\u5f55\u3002\u5982\u679c\u4f60\u8bbe\u7f6e\u4e86\u5b9a\u65f6\u4efb\u52a1\uff0c\u5b83\u5c06\u81ea\u52a8\u66f4\u65b0\u5143\u6570\u636e\uff0c\u4ee5\u53cd\u6620\u65b0\u7684\u6570\u636e\u7ed3\u6784\u3002<\/li>\n\n\n\n<li>\u4f60\u53ef\u4ee5\u901a\u8fc7\u5728 Glue \u63a7\u5236\u53f0\u4e2d\u5b9a\u671f\u8fd0\u884c\u722c\u7f51\u7a0b\u5e8f\u6765\u786e\u4fdd\u6570\u636e\u76ee\u5f55\u7684\u66f4\u65b0\u3002<\/li>\n\n\n\n<li>\u4f8b\u5982\uff0c\u82e5\u6709\u65b0\u6587\u4ef6\u4e0a\u4f20\u81f3 S3 \u5b58\u50a8\u6876\uff0c\u722c\u7f51\u7a0b\u5e8f\u4f1a\u91cd\u65b0\u626b\u63cf\u5e76\u66f4\u65b0\u8868\u683c\u7684\u7ed3\u6784\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b\uff1a\u5c06 JSON \u6587\u4ef6\u6ce8\u518c\u5230 Glue \u6570\u636e\u76ee\u5f55\u5e76\u4f7f\u7528 Athena \u67e5\u8be2<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5047\u8bbe\u4f60\u6709\u4e00\u4e2a\u5305\u542b JSON \u6587\u4ef6\u7684 S3 \u5b58\u50a8\u6876\uff0c\u5982 <code>s3:\/\/my-bucket\/json-data\/<\/code>\u3002<\/li>\n\n\n\n<li>\u4f60\u4f7f\u7528 AWS Glue \u722c\u7f51\u7a0b\u5e8f\u626b\u63cf\u8be5\u8def\u5f84\uff0c\u5c06\u8fd9\u4e9b JSON \u6587\u4ef6\u6ce8\u518c\u5230 Glue \u6570\u636e\u76ee\u5f55\u4e2d\u7684\u8868\uff08\u4f8b\u5982 <code>json_table<\/code>\uff09\u3002<\/li>\n\n\n\n<li>\u5728 Athena \u4e2d\uff0c\u4f60\u53ef\u4ee5\u67e5\u8be2\u8be5\u8868\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   SELECT * FROM json_table LIMIT 10;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u67e5\u8be2\u5c06\u8fd4\u56de\u5b58\u50a8\u5728 S3 \u4e2d\u7684 JSON \u6570\u636e\u5185\u5bb9\uff0c\u6309\u8868\u7684\u7ed3\u6784\u8fdb\u884c\u89e3\u6790\u548c\u67e5\u8be2\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5176\u4ed6\u4f18\u5316\u4e0e\u7ba1\u7406\u5efa\u8bae<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6570\u636e\u683c\u5f0f\u8f6c\u6362<\/strong>\uff1aAWS Glue \u722c\u7f51\u7a0b\u5e8f\u4e0d\u4ec5\u652f\u6301\u81ea\u52a8\u8bc6\u522b\u6570\u636e\u683c\u5f0f\uff0c\u8fd8\u53ef\u4ee5\u5e2e\u52a9\u5c06\u6570\u636e\u8f6c\u6362\u4e3a\u66f4\u9ad8\u6548\u7684\u683c\u5f0f\uff08\u5982 Parquet \u6216 ORC\uff09\u3002\u8fd9\u53ef\u4ee5\u63d0\u9ad8 Athena \u67e5\u8be2\u7684\u6027\u80fd\u548c\u6210\u672c\u6548\u76ca\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u65f6\u3002<\/li>\n\n\n\n<li><strong>\u6743\u9650\u7ba1\u7406<\/strong>\uff1a\u786e\u4fdd\u4e3a AWS Glue \u722c\u7f51\u7a0b\u5e8f\u3001Athena \u548c S3 \u914d\u7f6e\u9002\u5f53\u7684 IAM \u89d2\u8272\u548c\u6743\u9650\uff0c\u4ee5\u4fdd\u8bc1\u6570\u636e\u8bbf\u95ee\u548c\u64cd\u4f5c\u7684\u5b89\u5168\u6027\u3002<\/li>\n\n\n\n<li><strong>\u538b\u7f29\u548c\u5206\u533a<\/strong>\uff1a\u5bf9\u4e8e\u5927\u6570\u636e\u96c6\uff0c\u5efa\u8bae\u4f7f\u7528\u5206\u533a\u5b58\u50a8\uff08\u4f8b\u5982\u6309\u65e5\u671f\u5206\u533a\uff09\uff0c\u5e76\u538b\u7f29\u6570\u636e\uff08\u4f8b\u5982\u4f7f\u7528 Parquet \u683c\u5f0f\uff09\u3002\u8fd9\u6837\u53ef\u4ee5\u5728 Athena \u67e5\u8be2\u65f6\u51cf\u5c11\u626b\u63cf\u7684\u6587\u4ef6\u91cf\uff0c\u8fdb\u4e00\u6b65\u63d0\u9ad8\u67e5\u8be2\u6548\u7387\u3002<\/li>\n\n\n\n<li><strong>\u5b58\u50a8\u683c\u5f0f<\/strong>\uff1a\u5982\u679c\u539f\u59cb\u6570\u636e\u662f JSON \u6216 CSV \u683c\u5f0f\uff0c\u5efa\u8bae\u901a\u8fc7 Glue \u5c06\u5176\u8f6c\u6362\u4e3a\u5217\u5f0f\u5b58\u50a8\u683c\u5f0f\uff08\u5982 Parquet \u6216 ORC\uff09\u3002\u8fd9\u4e9b\u683c\u5f0f\u5bf9\u5927\u89c4\u6a21\u67e5\u8be2\u66f4\u53cb\u597d\uff0c\u80fd\u6709\u6548\u964d\u4f4e Athena \u67e5\u8be2\u7684\u6210\u672c\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u603b\u7ed3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c06 AWS Glue \u722c\u7f51\u7a0b\u5e8f\u4e0e Amazon Athena \u7ed3\u5408\u4f7f\u7528\uff0c\u53ef\u4ee5\u5b9e\u73b0\u81ea\u52a8\u7684\u6570\u636e\u53d1\u73b0\u3001\u5143\u6570\u636e\u7ba1\u7406\uff0c\u5e76\u4f7f\u4f60\u80fd\u591f\u901a\u8fc7\u7b80\u5355\u7684 SQL \u67e5\u8be2\u5bf9\u5b58\u50a8\u5728 S3 \u4e2d\u7684\u7ed3\u6784\u5316\u548c\u534a\u7ed3\u6784\u5316\u6570\u636e\u8fdb\u884c\u5f3a\u5927\u5206\u6790\u3002\u901a\u8fc7\u81ea\u52a8\u5316\u548c\u7075\u6d3b\u7684\u6570\u636e\u76ee\u5f55\u7ba1\u7406\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5e94\u5bf9\u6d77\u91cf\u6570\u636e\u7684\u67e5\u8be2\u9700\u6c42\uff0c\u540c\u65f6\u8282\u7701\u7ba1\u7406\u590d\u6742\u6570\u636e\u7ed3\u6784\u7684\u65f6\u95f4\u548c\u6210\u672c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06 AWS Glue \u722c\u7f51\u7a0b\u5e8f\uff08Glue Crawlers\uff09\u4e0e Amazon Athena \u7ed3\u5408\u4f7f\u7528\uff0c\u53ef\u4ee5\u5e2e\u52a9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-485","post","type-post","status-publish","format-standard","hentry","category-sql"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=485"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/485\/revisions"}],"predecessor-version":[{"id":486,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/485\/revisions\/486"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}