{"id":871,"date":"2019-03-14T05:56:01","date_gmt":"2019-03-14T05:56:01","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=871"},"modified":"2024-04-06T09:27:51","modified_gmt":"2024-04-06T09:27:51","slug":"hadoop-hive-basic-commands","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/","title":{"rendered":"Hadoop Hive Basic Commands"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1113\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\" alt=\"\" width=\"828\" height=\"315\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg 828w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-300x114.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-768x292.jpg 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\">Hadoop Hive Basic Commands<\/h1>\n<p>&nbsp;<\/p>\n<p><strong>Hadoop Hive Basic Commands<\/strong>, are you looking for a list of Top Rated Hive commands in <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop technology<\/a>? Or the one who is casually glancing for the best platform which is listing the Hadoop Hive Commands with examples for beginners? Then you\u2019ve landed on the Right Platform which is packed with Tons of Tutorials of Hive commands in Hadoop. Follow the below mentioned Hadoop Hive commands for Beginners which were originally designed by the world-class Trainers of <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop Training institute<\/a> Professionals.<\/p>\n<p>&nbsp;<\/p>\n<p>If you are the one who is a hunger to become the certified Pro <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop Developer<\/a>? Or the one who is looking for the best <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop Training institute<\/a> which offering advanced tutorials and <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop certification course<\/a> to all the tech enthusiasts who are eager to learn the technology from starting Level to Advanced Level.<\/p>\n<p>&nbsp;<\/p>\n<h2>Hadoop Hive Commands with Examples<\/h2>\n<p>&nbsp;<\/p>\n<h3><strong>Create Database<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>Using below given command we create a database.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1736\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/1-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"80\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/1-6.png 529w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/1-6-300x28.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Show Database:<\/strong> Using the below-given command we can list all databases.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1737\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/2-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"95\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/2-6.png 642w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/2-6-300x34.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Use Database:<\/strong> Using below given command we can use a particular database.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1738\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/3-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"80\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/3-6.png 540w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/3-6-300x28.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Drop Database:<\/strong> Using the below-given command we can remove a particular database.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1744\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/9-5.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"161\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/9-5.png 644w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/9-5-300x57.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1745\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/10-5.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"241\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/10-5.png 616w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/10-5-300x85.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Create Table:<\/strong> Using the below command create a table with multiple columns and describing datatype of each column.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1746\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/11-5.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"207\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/11-5.png 644w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/11-5-300x73.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Load data into a table:<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>Using the below command we load data into the table from local or cloud storage.<\/p>\n<p><strong>Data Source<\/strong>:<\/p>\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/14rESYcQ5lqNWKRZ6I9KW7b7sA2cZ5xXC\/view?usp=sharing\">https:\/\/drive.google.com\/file\/d\/14rESYcQ5lqNWKRZ6I9KW7b7sA2cZ5xXC\/view?usp=sharing<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1739\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/4-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"248\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/4-6.png 644w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/4-6-300x88.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Select Command:<\/strong> To display a record from the selected table.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1740\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/5-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"162\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/5-6.png 642w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/5-6-300x57.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Describe table:<\/strong> Using the below command we can describe the property of a table.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1741\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/6-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"170\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/6-6.png 634w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/6-6-300x60.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Alter:<\/strong> Alter command is used to add or to make changes in current table property.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1742\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/7-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"226\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/7-6.png 642w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/7-6-300x80.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Adding Column:<\/strong> Using below given command we can new column in our existing table.<\/h3>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1743\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/8-6.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"253\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/8-6.png 631w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/05\/8-6-300x89.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>FLIGHT INFORMATION<\/h3>\n<p>&nbsp;<\/p>\n<p><strong>To enter the hive shell:<\/strong><\/p>\n<p><strong>Command: hive<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-872\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-15.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"105\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-15.png 599w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-15-300x37.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To select a particular database:<\/strong><\/p>\n<p><strong>Command: use prwatech;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-873\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-14.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"82\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-14.png 602w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-14-300x29.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Create table flightinfo2008:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: create table flightinfo2008(Year SMALLINT, Month TINYINT, DayofMonth TINYINT,<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>DayOfWeek TINYINT,DepTime SMALLINT,<\/strong><\/p>\n<p><strong>CRSDepTime SMALLINT, ArrTime SMALLINT,<\/strong><\/p>\n<p><strong>CRSArrTime SMALLINT,UniqueCarrier STRING,<\/strong><\/p>\n<p><strong>FlightNum STRING, TailNum STRING,<\/strong><\/p>\n<p><strong>ActualElapsedTime SMALLINT, CRSElapsedTime<\/strong><\/p>\n<p><strong>SMALLINT,AirTime SMALLINT, ArrDelay<\/strong><\/p>\n<p><strong>SMALLINT, DepDelay SMALLINT,Origin STRING,<\/strong><\/p>\n<p><strong>DestSTRING,Distance INT,TaxiIn SMALLINT,<\/strong><\/p>\n<p><strong>TaxiOut SMALLINT, Cancelled<\/strong><\/p>\n<p><strong>SMALLINT,CancellationCode STRING, Diverted<\/strong><\/p>\n<p><strong>SMALLINT,CarrierDelay SMALLINT, WeatherDelay<\/strong><\/p>\n<p><strong>SMALLINT,NASDelay SMALLINT, SecurityDelay<\/strong><\/p>\n<p><strong>SMALLINT,LateAircraftDelaySMALLINT)COMMENT<\/strong><\/p>\n<p><strong>&#8216;Flight InfoTable&#8217; ROW FORMAT DELIMITED<\/strong><\/p>\n<p><strong>FIELDS TERMINATED BY &#8216;,&#8217;<\/strong><\/p>\n<p><strong>LINES TERMINATED BY &#8216;\\n&#8217;<\/strong><\/p>\n<p><strong>STORED AS TEXTFILE<\/strong><\/p>\n<p><strong>TBLPROPERTIES (&#8216;creator&#8217;=&#8217;Bruce Brown&#8217;, &#8216;created_at&#8217;=&#8217;Thu Sep 19 10:58:00 EDT 2013&#8217;);<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-874\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-15.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"395\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-15.png 546w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-15-300x140.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To load data in the table:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: LOAD DATA LOCAL INPATH &#8216;\/home\/cloudera\/Desktop\/2008.csv&#8217; INTO TABLE flightinfo2008;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-875\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-11.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"31\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-11.png 549w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-11-300x11.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To create table myflightinfo:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: create table myflightinfo(Year<\/strong><\/p>\n<p><strong>SMALLINT, DontQueryMonth TINYINT, DayofMonth<\/strong><\/p>\n<p><strong>TINYINT, DayOfWeek TINYINT,DepTime SMALLINT,<\/strong><\/p>\n<p><strong>ArrTime SMALLINT,UniqueCarrier STRING,<\/strong><\/p>\n<p><strong>FlightNum STRING,AirTime SMALLINT, ArrDelay<\/strong><\/p>\n<p><strong>SMALLINT, DepDelay SMALLINT,Origin STRING,<\/strong><\/p>\n<p><strong>Dest STRING, Cancelled SMALLINT,CancellationCode<\/strong><\/p>\n<p><strong>STRING)COMMENT &#8216;FlightInfoTable&#8217;PARTITIONED<\/strong><\/p>\n<p><strong>BY(Month TINYINT)ROW FORMAT DELIMITED<\/strong><\/p>\n<p><strong>FIELDS TERMINATED BY &#8216;,&#8217;LINES TERMINATED BY<\/strong><\/p>\n<p><strong>&#8216;\\n&#8217; STORED AS RCFILETBLPROPERTIES<\/strong><\/p>\n<p><strong>(&#8216;creator&#8217;=&#8217;Bruce Brown&#8217;, &#8216;created_at&#8217;=&#8217;MonSep 2 14:24:19 EDT 2013&#8217;);<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-876\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-11.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"272\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-11.png 585w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-11-300x96.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To load partition data in my flight info from flightinfo2008:<\/strong><\/p>\n<p><strong>Command: FROM FlightInfo2008<\/strong><\/p>\n<p><strong>INSERT INTO TABLE my flight info<\/strong><\/p>\n<p><strong>PARTITION (Month=2)<\/strong><\/p>\n<p><strong>SELECT Year, Month, DayofMonth, DayOfWeek, DepTime,ArrTime, UniqueCarrier, FlightNum,<\/strong><\/p>\n<p><strong>AirTime, ArrDelay, DepDelay, Origin, Dest, Cancelled,<\/strong><\/p>\n<p><strong>CancellationCode WHERE Month=2;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-877\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-11.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"159\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-11.png 477w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-11-300x56.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-878\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/7-11.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"103\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/7-11.png 605w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/7-11-300x36.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To see which partitioned data is stored:<\/strong><\/p>\n<p><strong>Command: SHOW PARTITIONS my flight info;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-879\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-9.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"87\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-9.png 604w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-9-300x31.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To create table myflightinfo2008:<\/strong><\/p>\n<p><strong>Command: CREATE TABLE myflightinfo2008 AS<\/strong><\/p>\n<p><strong>SELECT Year, Month, DepTime, ArrTime, FlightNum,<\/strong><\/p>\n<p><strong>Origin, Dest FROM FlightInfo2007WHERE (Month =<\/strong><\/p>\n<p><strong>7 AND DayofMonth = 3) AND (Origin=&#8217;JFK&#8217; AND<\/strong><\/p>\n<p><strong>Dest=&#8217;ORD&#8217;);<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-880\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/9-8.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"175\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/9-8.png 320w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/9-8-300x62.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To see the data in myflightinfo2008:<\/strong><\/p>\n<p><strong>Command: SELECT* FROM myflightinfo2008;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-881\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/10-9.png\" alt=\"Hadoop Hive Basic Commands\" width=\"850\" height=\"781\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/10-9.png 321w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/10-9-300x276.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/ktdATQwNv1Y\" width=\"650\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2><\/h2>\n<h2>Hadoop Hive commands for Beginners<\/h2>\n<h2><\/h2>\n<p><strong>To enter the Hive shell:<\/strong><\/p>\n<p><strong>Command:\u00a0 hive<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-886\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-16.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"89\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-16.png 575w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-16-300x31.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To create a database:<\/strong><\/p>\n<p><strong>Command: create database prwatech;<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-887\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-15.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"97\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-15.png 552w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-15-300x34.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To see the list of databases:<\/strong><\/p>\n<p><strong>Command: show databases;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-888\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-16.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"174\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-16.png 548w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-16-300x61.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To use a particular database to create a table:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: use prwatech;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-889\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-12.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"96\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-12.png 556w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-12-300x34.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Move data from lfs to hdfs:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: Hadoop fs -copyFromLocal \u2018&#8211;LOCATION OR PATH OF DOCUMENT&#8211;\u2019 \/user\/Cloudera (On new terminal)<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-890\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-12.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"52\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-12.png 553w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-12-300x18.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Create a table:<\/strong><\/p>\n<p><strong>Command: <\/strong><\/p>\n<p><strong>create table cricket (Player_NameSTRING,<\/strong><\/p>\n<p><strong>Runs_ScoredINT,Balls_FacedINT,Strike_Rate<\/strong><\/p>\n<p><strong>FLOAT) row format delimited fields terminated by \u2018,\u2019<\/strong><\/p>\n<p><strong>stored as textfile;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-891\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-12.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"139\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-12.png 586w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-12-300x49.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To load data into the table:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: LOAD DATA INPATH &#8216;\/user\/cloudera\/cricketdoc.txt&#8217; OVERWRITE INTO table cricket;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-892\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/7-12.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"169\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/7-12.png 595w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/7-12-300x59.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To create an external table:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: create external table cricket text<\/strong><\/p>\n<p><strong>(Player_NameSTRING,Runs_ScoredINT,Balls_Face<\/strong><\/p>\n<p><strong>dINT, Strike_Rate FLOAT) row format delimited<\/strong><\/p>\n<p><strong>fields terminated by \u2018,\u2019 stored as textfile LOCATION<\/strong><\/p>\n<p><strong>\u2018\/user\/Cloudera\/external\u2019;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-893\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-10.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"52\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-10.png 609w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-10-300x18.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To insert the data from the cricket table to external table cricket text:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: from cricket cric insert overwrite table<\/strong><\/p>\n<p><strong>cricket text select cric.Player_Name,<\/strong><\/p>\n<p><strong>cric.Runs_Scored, cric.Balls_Faced,cric.Strike_Rate;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-894\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/9-9.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"31\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/9-9.png 606w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/9-9-300x11.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-895\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/10-10.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"341\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/10-10.png 591w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/10-10-300x120.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To see the data in the external table:<\/strong><\/p>\n<p><strong>Command: select * from cricket text;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-896\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/11-8.png\" alt=\"Hive commands in Hadoop\" width=\"850\" height=\"384\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/11-8.png 584w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/11-8-300x136.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Get success in your career as a <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop developer<\/a> by being a part of the <a href=\"http:\/\/prwatech.com\/\">Prwatech<\/a>, India&#8217;s leading <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop training institute in Bangalore<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Hadoop Hive Basic Commands &nbsp; Hadoop Hive Basic Commands, are you looking for a list of Top Rated Hive commands in Hadoop technology? Or the one who is casually glancing for the best platform which is listing the Hadoop Hive Commands with examples for beginners? Then you\u2019ve landed on the Right Platform which is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,1643],"tags":[1847,1846,347,1849,1848],"class_list":["post-871","post","type-post","status-publish","format-standard","hentry","category-hadoop","category-hive","tag-common-commands-of-hive-scaler-topics","tag-explore-best-hive-commands-from-basic-to-advanced","tag-hadoop-hive-basic-commands","tag-hadoop-hive-tutorial-usage-of-hive-commands-in-hql-top-hive-commands-with-examples-in-hql","tag-top-hive-commands-with-examples-in-hql"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hadoop Hive Basic Commands with Examples | Prwatech<\/title>\n<meta name=\"description\" content=\"Here is the list of top rated best Hadoop Hive Basic Commands and hive commands in Hadoop with examples for freshers and Experienced.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hadoop Hive Basic Commands with Examples | Prwatech\" \/>\n<meta property=\"og:description\" content=\"Here is the list of top rated best Hadoop Hive Basic Commands and hive commands in Hadoop with examples for freshers and Experienced.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-14T05:56:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-06T09:27:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/\",\"url\":\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/\",\"name\":\"Hadoop Hive Basic Commands with Examples | Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\",\"datePublished\":\"2019-03-14T05:56:01+00:00\",\"dateModified\":\"2024-04-06T09:27:51+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Here is the list of top rated best Hadoop Hive Basic Commands and hive commands in Hadoop with examples for freshers and Experienced.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg\",\"width\":828,\"height\":315},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hadoop Hive Basic Commands\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hadoop Hive Basic Commands with Examples | Prwatech","description":"Here is the list of top rated best Hadoop Hive Basic Commands and hive commands in Hadoop with examples for freshers and Experienced.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Hadoop Hive Basic Commands with Examples | Prwatech","og_description":"Here is the list of top rated best Hadoop Hive Basic Commands and hive commands in Hadoop with examples for freshers and Experienced.","og_url":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-03-14T05:56:01+00:00","article_modified_time":"2024-04-06T09:27:51+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/","url":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/","name":"Hadoop Hive Basic Commands with Examples | Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","datePublished":"2019-03-14T05:56:01+00:00","dateModified":"2024-04-06T09:27:51+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Here is the list of top rated best Hadoop Hive Basic Commands and hive commands in Hadoop with examples for freshers and Experienced.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2.jpg","width":828,"height":315},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hive\/hadoop-hive-basic-commands\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Hadoop Hive Basic Commands"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=871"}],"version-history":[{"count":7,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":4525,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/871\/revisions\/4525"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}