{"id":1324,"date":"2022-03-05T19:50:02","date_gmt":"2022-03-05T11:50:02","guid":{"rendered":"http:\/\/www.eait.co\/?p=1324"},"modified":"2022-03-05T19:50:02","modified_gmt":"2022-03-05T11:50:02","slug":"hive-%e5%88%86%e5%8c%ba%e8%a1%a8%e5%92%8c%e5%86%85%e5%a4%96%e8%a1%a8","status":"publish","type":"post","link":"https:\/\/notes.coremix.net\/?p=1324","title":{"rendered":"Hive \u5206\u533a\u8868\u548c\u5185\u5916\u8868"},"content":{"rendered":"<h3>\u5916\u90e8\u8868<\/h3>\n<p>1\uff09\u7406\u8bba<\/p>\n<p>\u56e0\u4e3a\u8868\u662f\u5916\u90e8\u8868\uff0c\u6240\u4ee5Hive\u5e76\u975e\u8ba4\u4e3a\u5176\u5b8c\u5168\u62e5\u6709\u8fd9\u4efd\u6570\u636e\u3002\u5220\u9664\u8be5\u8868\u5e76<span style=\"color: #0000ff;\">\u4e0d\u4f1a\u5220\u9664\u6389\u8fd9\u4efd\u6570\u636e\uff0c\u4e0d\u8fc7\u63cf\u8ff0\u8868\u7684\u5143\u6570\u636e\u4fe1\u606f\u4f1a\u88ab\u5220\u9664\u6389\u3002<\/span><\/p>\n<p>2\uff09\u7ba1\u7406\u8868\u548c\u5916\u90e8\u8868\u7684\u4f7f\u7528\u573a\u666f\uff1a<\/p>\n<p>\u6bcf\u5929\u5c06\u6536\u96c6\u5230\u7684\u7f51\u7ad9\u65e5\u5fd7\u5b9a\u671f\u6d41\u5165HDFS\u6587\u672c\u6587\u4ef6\u3002\u5728\u5916\u90e8\u8868\uff08\u539f\u59cb\u65e5\u5fd7\u8868\uff09\u7684\u57fa\u7840\u4e0a\u505a\u5927\u91cf\u7684\u7edf\u8ba1\u5206\u6790\uff0c\u7528\u5230\u7684\u4e2d\u95f4\u8868\u3001\u7ed3\u679c\u8868\u4f7f\u7528\u5185\u90e8\u8868\u5b58\u50a8\uff0c\u6570\u636e\u901a\u8fc7SELECT+INSERT\u8fdb\u5165\u5185\u90e8\u8868\u3002<\/p>\n<p>3\uff09\u6848\u4f8b\u5b9e\u64cd<\/p>\n<p>\u5206\u522b\u521b\u5efa\u90e8\u95e8\u548c\u5458\u5de5\u5916\u90e8\u8868\uff0c\u5e76\u5411\u8868\u4e2d\u5bfc\u5165\u6570\u636e\u3002<\/p>\n<p>\uff081\uff09\u539f\u59cb\u6570\u636e<\/p>\n<p>\uff082\uff09\u5efa\u8868\u8bed\u53e5<\/p>\n<p>\u521b\u5efa\u90e8\u95e8\u8868<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"491\">create <span style=\"color: #ff0000;\">external<\/span> table if not exists default.dept(<\/p>\n<p>deptno int,<\/p>\n<p>dname string,<\/p>\n<p>loc int<\/p>\n<p>)<\/p>\n<p>row format delimited fields terminated by &#8216;\\t&#8217;;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u521b\u5efa\u5458\u5de5\u8868<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"491\">create <span style=\"color: #ff0000;\">external<\/span> table if not exists default.emp(<\/p>\n<p>empno int,<\/p>\n<p>ename string,<\/p>\n<p>job string,<\/p>\n<p>mgr int,<\/p>\n<p>hiredate string,<\/p>\n<p>sal double,<\/p>\n<p>comm double,<\/p>\n<p>deptno int)<\/p>\n<p>row format delimited fields terminated by &#8216;\\t&#8217;;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\uff083\uff09\u67e5\u770b\u521b\u5efa\u7684\u8868<\/p>\n<p>hive (default)&gt; show tables;<\/p>\n<p>OK<\/p>\n<p>tab_name<\/p>\n<p>dept<\/p>\n<p>emp<\/p>\n<p>\uff084\uff09\u5411\u5916\u90e8\u8868\u4e2d\u5bfc\u5165\u6570\u636e<\/p>\n<p>\u5bfc\u5165\u6570\u636e<\/p>\n<p>hive (default)&gt; <span style=\"color: #ff0000;\">load data local inpath<\/span> &#8216;\/opt\/module\/datas\/dept.txt&#8217; <span style=\"color: #ff0000;\">into table default.dept<\/span>;<\/p>\n<p>hive (default)&gt; load data local inpath &#8216;\/opt\/module\/datas\/emp.txt&#8217; into table default.emp;<\/p>\n<p>\u67e5\u8be2\u7ed3\u679c<\/p>\n<p>hive (default)&gt; select * from emp;<\/p>\n<p>hive (default)&gt; select * from dept;<\/p>\n<p>\uff085\uff09\u67e5\u770b\u8868\u683c\u5f0f\u5316\u6570\u636e<\/p>\n<p>hive (default)&gt; desc formatted dept;<\/p>\n<p>Table Type:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 EXTERNAL_TABLE<\/p>\n<h3>4.6.1 \u5206\u533a\u8868\u57fa\u672c\u64cd\u4f5c<\/h3>\n<p>1\uff09\u5f15\u5165\u5206\u533a\u8868\uff08\u9700\u8981\u6839\u636e\u65e5\u671f\u5bf9\u65e5\u5fd7\u8fdb\u884c\u7ba1\u7406\uff09<\/p>\n<p>\/user\/hive\/warehouse\/log_partition\/20180702\/20180702.log<\/p>\n<p>\/user\/hive\/warehouse\/log_partition\/20180703\/20180703.log<\/p>\n<p>\/user\/hive\/warehouse\/log_partition\/20180704\/20180704.log<\/p>\n<p>2\uff09\u521b\u5efa\u5206\u533a\u8868\u8bed\u6cd5<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"519\">hive (default)&gt; create table dept_partition(<\/p>\n<p>deptno int, dname string, loc string<\/p>\n<p>)<\/p>\n<p><span style=\"color: #ff0000;\">partitioned by (month string)<\/span><\/p>\n<p>row format delimited fields terminated by &#8216;\\t&#8217;;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>3\uff09\u52a0\u8f7d\u6570\u636e\u5230\u5206\u533a\u8868\u4e2d<\/p>\n<p>hive (default)&gt; load data local inpath &#8216;\/opt\/module\/datas\/dept.txt&#8217; into table default.dept_partition partition(month=&#8217;201809&#8242;);<\/p>\n<p>hive (default)&gt; load data local inpath &#8216;\/opt\/module\/datas\/dept.txt&#8217; into table default.dept_partition partition(month=&#8217;201808&#8242;);<\/p>\n<p>hive (default)&gt; load data local inpath &#8216;\/opt\/module\/datas\/dept.txt&#8217; into table default.dept_partition partition(month=&#8217;201807&#8242;);<\/p>\n<p>4\uff09\u67e5\u8be2\u5206\u533a\u8868\u4e2d\u6570\u636e<\/p>\n<p>\u5355\u5206\u533a\u67e5\u8be2<\/p>\n<p>hive (default)&gt; select * from dept_partition where month=&#8217;201809&#8242;;<\/p>\n<p>\u591a\u5206\u533a\u8054\u5408\u67e5\u8be2(<span style=\"color: #ff0000;\">\u67e5\u51fa\u4e09\u4efd<\/span>)<\/p>\n<p>hive (default)&gt; select * from dept_partition where month=&#8217;201809&#8242;<\/p>\n<p><span style=\"color: #ff0000;\">union<\/span><\/p>\n<p>select * from dept_partition where month=&#8217;201808&#8242;<\/p>\n<p><span style=\"color: #ff0000;\">union<\/span><\/p>\n<p>select * from dept_partition where month=&#8217;201807&#8242;;<\/p>\n<p>&nbsp;<\/p>\n<p>_u3.deptno\u00a0\u00a0\u00a0\u00a0\u00a0 _u3.dname\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 _u3.loc _u3.month<\/p>\n<p>10\u00a0\u00a0\u00a0\u00a0\u00a0 ACCOUNTING\u00a0\u00a0\u00a0\u00a0\u00a0 NEW YORK\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 201807<\/p>\n<p>10\u00a0\u00a0\u00a0\u00a0\u00a0 ACCOUNTING\u00a0\u00a0\u00a0\u00a0\u00a0 NEW YORK\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 201808<\/p>\n<p>10\u00a0\u00a0\u00a0\u00a0\u00a0 ACCOUNTING\u00a0\u00a0\u00a0\u00a0\u00a0 NEW YORK\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 201809<\/p>\n<p>20\u00a0\u00a0\u00a0\u00a0\u00a0 RESEARCH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DALLAS\u00a0 201807<\/p>\n<p>20\u00a0\u00a0\u00a0\u00a0\u00a0 RESEARCH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DALLAS\u00a0 201808<\/p>\n<p>20\u00a0\u00a0\u00a0\u00a0\u00a0 RESEARCH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 DALLAS\u00a0 201809<\/p>\n<p>30\u00a0\u00a0\u00a0\u00a0\u00a0 SALES\u00a0\u00a0 CHICAGO 201807<\/p>\n<p>30\u00a0\u00a0\u00a0\u00a0\u00a0 SALES\u00a0\u00a0 CHICAGO 201808<\/p>\n<p>30\u00a0\u00a0\u00a0\u00a0\u00a0 SALES\u00a0\u00a0 CHICAGO 201809<\/p>\n<p>40\u00a0\u00a0\u00a0\u00a0\u00a0 OPERATIONS\u00a0\u00a0\u00a0\u00a0\u00a0 BOSTON\u00a0 201807<\/p>\n<p>40\u00a0\u00a0\u00a0 \u00a0\u00a0OPERATIONS\u00a0\u00a0\u00a0\u00a0\u00a0 BOSTON\u00a0 201808<\/p>\n<p>40\u00a0\u00a0\u00a0\u00a0\u00a0 OPERATIONS\u00a0\u00a0\u00a0\u00a0 \u00a0BOSTON\u00a0 201809<\/p>\n<p>5\uff09\u589e\u52a0\u5206\u533a<\/p>\n<p>\u521b\u5efa\u5355\u4e2a\u5206\u533a<\/p>\n<p>hive (default)&gt; alter table dept_partition <span style=\"color: #ff0000;\">add<\/span> partition(month=&#8217;201806&#8242;) ;<\/p>\n<p>\u540c\u65f6\u521b\u5efa\u591a\u4e2a\u5206\u533a<\/p>\n<p>hive (default)&gt;\u00a0 alter table dept_partition add partition(month=&#8217;201805&#8242;) partition(month=&#8217;201804&#8242;);<\/p>\n<p>\u6ce8\uff1a<span style=\"color: #ff0000;\">\u589e\u52a0\u591a\u4e2a\u5206\u533a\u4e4b\u95f4\u7528\u7a7a\u683c&#8221; &#8220;\u9694\u5f00\uff0c\u5220\u9664\u591a\u4e2a\u5206\u533a\u7528&#8221;,&#8221;\u9694\u5f00<\/span><\/p>\n<p>6\uff09\u5220\u9664\u5206\u533a<\/p>\n<p>\u5220\u9664\u5355\u4e2a\u5206\u533a<\/p>\n<p>hive (default)&gt; alter table dept_partition <span style=\"color: #ff0000;\">drop<\/span> partition (month=&#8217;201804&#8242;);<\/p>\n<p>\u540c\u65f6\u5220\u9664\u591a\u4e2a\u5206\u533a<\/p>\n<p>hive (default)&gt; alter table dept_partition drop partition (month=&#8217;201805&#8242;), partition (month=&#8217;201806&#8242;);<\/p>\n<p>7\uff09\u67e5\u770b\u5206\u533a\u8868\u6709\u591a\u5c11\u5206\u533a<\/p>\n<p>hive&gt;show <span style=\"color: #ff0000;\">partitions<\/span> dept_partition;<\/p>\n<p>8\uff09\u67e5\u770b\u5206\u533a\u8868\u7ed3\u6784<\/p>\n<p>hive&gt;desc formatted dept_partition;<\/p>\n<p>&nbsp;<\/p>\n<p># Partition Information<\/p>\n<p># col_name\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 data_type\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 comment<\/p>\n<p>month\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 string<\/p>\n<h3>4.6.2 \u5206\u533a\u8868\u6ce8\u610f\u4e8b\u9879<\/h3>\n<p>1\uff09\u521b\u5efa\u4e8c\u7ea7\u5206\u533a\u8868<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"519\">hive (default)&gt; create table dept_partition2(<\/p>\n<p>deptno int, dname string, loc string<\/p>\n<p>)<\/p>\n<p><span style=\"color: #ff0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0partitioned by (month string, day string)<\/span><\/p>\n<p>row format delimited fields terminated by &#8216;\\t&#8217;;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>2\uff09\u6b63\u5e38\u7684\u52a0\u8f7d\u6570\u636e<\/p>\n<p>\uff081\uff09\u52a0\u8f7d\u6570\u636e\u5230\u4e8c\u7ea7\u5206\u533a\u8868\u4e2d<\/p>\n<p>hive (default)&gt; load data local inpath &#8216;\/opt\/module\/datas\/dept.txt&#8217; into table default.dept_partition2 <span style=\"color: #ff0000;\">partition(month=&#8217;201809&#8242;, day=&#8217;13&#8217;);<\/span><\/p>\n<p>\uff082\uff09\u67e5\u8be2\u5206\u533a\u6570\u636e<\/p>\n<p>hive (default)&gt; select * from dept_partition2 <span style=\"color: #ff0000;\">where month=&#8217;201809&#8242; and day=&#8217;13&#8217;<\/span>;<\/p>\n<p>3\uff09\u628a\u6570\u636e\u76f4\u63a5\u4e0a\u4f20\u5230\u5206\u533a\u76ee\u5f55\u4e0a\uff0c\u8ba9\u5206\u533a\u8868\u548c\u6570\u636e\u4ea7\u751f\u5173\u8054\u7684\u4e24\u79cd\u65b9\u5f0f<\/p>\n<p>\uff081\uff09\u65b9\u5f0f\u4e00\uff1a<span style=\"color: #ff0000;\">\u4e0a\u4f20\u6570\u636e\u540e\u4fee\u590d<\/span><\/p>\n<p>\u4e0a\u4f20\u6570\u636e<\/p>\n<p>hive (default)&gt; dfs -mkdir -p \/user\/hive\/warehouse\/dept_partition2\/month=201809\/day=12;<\/p>\n<p>hive (default)&gt; dfs -put \/opt\/module\/datas\/dept.txt \/user\/hive\/warehouse\/dept_partition2\/month=201809\/day=12;<\/p>\n<p>\u67e5\u8be2\u6570\u636e\uff08\u67e5\u8be2\u4e0d\u5230\u521a\u4e0a\u4f20\u7684\u6570\u636e\uff09<\/p>\n<p>hive (default)&gt; select * from dept_partition2 where month=&#8217;201809&#8242; and day=&#8217;12&#8217;;<\/p>\n<p>\u6267\u884c\u4fee\u590d\u547d\u4ee4<\/p>\n<p>hive&gt;<span style=\"color: #ff0000;\">msck repair table dept_partition2;<\/span><\/p>\n<p>\u518d\u6b21\u67e5\u8be2\u6570\u636e<\/p>\n<p>hive (default)&gt; select * from dept_partition2 where month=&#8217;201809&#8242; and day=&#8217;12&#8217;;<\/p>\n<p>\uff082\uff09\u65b9\u5f0f\u4e8c\uff1a<span style=\"color: #ff0000;\">\u4e0a\u4f20\u6570\u636e\u540e\u6dfb\u52a0\u5206\u533a<\/span><\/p>\n<p>\u4e0a\u4f20\u6570\u636e<\/p>\n<p>hive (default)&gt; dfs -mkdir -p \/user\/hive\/warehouse\/dept_partition2\/month=201809\/day=11;<\/p>\n<p>hive (default)&gt; dfs -put \/opt\/module\/datas\/dept.txt \/user\/hive\/warehouse\/dept_partition2\/month=201809\/day=11;<\/p>\n<p>\u6267\u884c\u6dfb\u52a0\u5206\u533a<\/p>\n<p>hive (default)&gt; alter table dept_partition2 add partition(month=&#8217;201809&#8242;, day=&#8217;11&#8217;);<\/p>\n<p>\u67e5\u8be2\u6570\u636e<\/p>\n<p>hive (default)&gt; select * from dept_partition2 where month=&#8217;201809&#8242; and day=&#8217;11&#8217;;<\/p>\n<p>\uff083\uff09\u65b9\u5f0f\u4e09\uff1a<span style=\"color: #ff0000;\">\u4e0a\u4f20\u6570\u636e\u540eload\u6570\u636e\u5230\u5206\u533a<\/span><\/p>\n<p>\u521b\u5efa\u76ee\u5f55<\/p>\n<p>hive (default)&gt; dfs -mkdir -p \/user\/hive\/warehouse\/dept_partition2\/month=201809\/day=10;<\/p>\n<p>\u4e0a\u4f20\u6570\u636e\uff08<span style=\"color: #ff0000;\">\u4f1a\u51fa\u73b0\u591a\u4efd\u6570\u636e\uff0c\u9700\u8981\u6dfb\u52a0overwrite\u5173\u952e\u5b57\uff0c overwrite table tablename<\/span>\uff09<\/p>\n<p>hive (default)&gt; load data local inpath &#8216;\/opt\/module\/datas\/dept.txt&#8217; into table dept_partition2 partition(month=&#8217;201809&#8242;,day=&#8217;10&#8217;);<\/p>\n<p>\u67e5\u8be2\u6570\u636e<\/p>\n<p>hive (default)&gt; select * from dept_partition2 where month=&#8217;201809&#8242; and day=&#8217;10&#8217;;<\/p>\n<h2>4.7 \u4fee\u6539\u8868<\/h2>\n<h3>4.7.1 \u91cd\u547d\u540d\u8868<\/h3>\n<p>\uff081\uff09\u8bed\u6cd5<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"500\">ALTER TABLE table_name <span style=\"color: #ff0000;\">RENAME TO new_table_name<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\uff082\uff09\u5b9e\u64cd\u6848\u4f8b<\/p>\n<p>hive (default)&gt; alter table dept_partition2 rename to dept_partition3;<\/p>\n<h3>4.7.2 \u589e\u52a0\u548c\u5220\u9664\u8868\u5206\u533a<\/h3>\n<p>\u8be6\u89c14.6.1\u5206\u533a\u8868\u57fa\u672c\u64cd\u4f5c\u3002\u540c\u4e0a<\/p>\n<h3>4.7.3 \u589e\u52a0\/\u4fee\u6539\/\u66ff\u6362\u5217\u4fe1\u606f<\/h3>\n<p>1\uff09\u8bed\u6cd5<\/p>\n<p>\u66f4\u65b0\u5217<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"519\">ALTER TABLE table_name CHANGE [COLUMN] col_old_name col_new_name column_type [COMMENT col_comment] [FIRST|AFTER column_name]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u589e\u52a0\u548c\u66ff\u6362\u5217<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"519\">ALTER TABLE table_name ADD|REPLACE COLUMNS (col_name data_type [COMMENT col_comment], &#8230;)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8\uff1aADD\u662f\u4ee3\u8868\u65b0\u589e\u4e00\u5b57\u6bb5\uff0c\u5b57\u6bb5\u4f4d\u7f6e\u5728\u6240\u6709\u5217\u540e\u9762(partition\u5217\u524d)\uff0cREPLACE\u5219\u662f\u8868\u793a\u66ff\u6362\u8868\u4e2d\u6240\u6709\u5b57\u6bb5\u3002<\/p>\n<p>2\uff09\u5b9e\u64cd\u6848\u4f8b<\/p>\n<p>\uff081\uff09\u67e5\u8be2\u8868\u7ed3\u6784<\/p>\n<p>hive&gt;desc dept_partition;<\/p>\n<p>\uff082\uff09\u6dfb\u52a0\u5217<\/p>\n<p>hive (default)&gt; alter table dept_partition add columns(deptdesc string);<\/p>\n<p>\uff083\uff09\u67e5\u8be2\u8868\u7ed3\u6784<\/p>\n<p>hive&gt;desc dept_partition;<\/p>\n<p>\uff084\uff09\u66f4\u65b0\u5217<\/p>\n<p>hive (default)&gt; alter table dept_partition<span style=\"color: #ff0000;\"> change column deptdesc desc int;<\/span><\/p>\n<p>\uff085\uff09\u67e5\u8be2\u8868\u7ed3\u6784<\/p>\n<p>hive&gt;desc dept_partition;<\/p>\n<p>\uff086\uff09\u66ff\u6362\u5217<\/p>\n<p>hive (default)&gt; alter table dept_partition replace columns(deptno string, dname string, loc string);<\/p>\n<p>\uff087\uff09\u67e5\u8be2\u8868\u7ed3\u6784<\/p>\n<p>hive&gt;desc dept_partition;<\/p>\n<h2>4.8 \u5220\u9664\u8868<\/h2>\n<p>hive (default)&gt; drop table dept_partition;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5916\u90e8\u8868 1\uff09\u7406\u8bba \u56e0\u4e3a\u8868\u662f\u5916\u90e8\u8868\uff0c\u6240\u4ee5Hive\u5e76\u975e\u8ba4\u4e3a\u5176\u5b8c\u5168\u62e5\u6709\u8fd9\u4efd\u6570\u636e\u3002\u5220\u9664\u8be5\u8868\u5e76\u4e0d\u4f1a\u5220\u9664\u6389\u8fd9\u4efd\u6570\u636e\uff0c\u4e0d\u8fc7\u63cf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1324","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/1324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1324"}],"version-history":[{"count":1,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/1324\/revisions"}],"predecessor-version":[{"id":1328,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/1324\/revisions\/1328"}],"wp:attachment":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}