

{"id":11661,"date":"2018-03-27T09:04:45","date_gmt":"2018-03-27T09:04:45","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=11661"},"modified":"2021-05-09T13:11:19","modified_gmt":"2021-05-09T07:41:19","slug":"impala-create-database-statement","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/","title":{"rendered":"Impala CREATE DATABASE Statement With Examples"},"content":{"rendered":"<p><span style=\"font-weight: 400\">It is possible to create a new database in <strong>Impala<\/strong>. So, in this article, we will discuss, how we can create it with Impala CREATE DATABASE Statement. Also, we will cover its syntax, usage as well as Example to understand it well.<\/span><\/p>\n<p>So, Let&#8217;s Start How Impala Create Database.<\/p>\n<h2><span style=\"font-weight: 400\">How Impala CREATE DATABASE Statement<\/span><\/h2>\n<p><span style=\"font-weight: 400\">By using Impala CREATE DATABASE Statement, we create a new database.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Basically, we can define a database in two ways, s<\/span>uch as:<\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">It can be a logical construct. Especially, for grouping together related tables, views, and functions within their own namespace. However, it is possible to use a separate database for each application, set of related tables, or the round of experimentation.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Also, it can be a physical construct represented by a directory tree in <strong>HDFS<\/strong>.<\/span> Moreover, under this directory, all Tables (internal tables), partitions, and data files are located. In addition, it is possible to perform several operations HDFS-level operations with a <strong>DROP DATABASE statement<\/strong>. For example, backing it up and measuring space usage, or remove it.<\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400\">a. A\u00a0Syntax for Create Database in Impala<\/span><\/h3>\n<p><span style=\"font-weight: 400\">So, the syntax for using\u00a0Impala CREATE DATABASE Statement is- <\/span><\/p>\n<pre class=\"EnlighterJSRAW\">CREATE (DATABASE|SCHEMA) [IF NOT EXISTS] database_name[COMMENT 'database_comment']\n[LOCATION hdfs_path];<\/pre>\n<h3><span style=\"font-weight: 400\">b. Statement type<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Impala CREATE DATABASE Statement is of DDL Type.<\/span><\/p>\n<h3><span style=\"font-weight: 400\">c. Usage<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Basically, under the main Impala data directory, a database is physically represented as a directory in HDFS, with a filename extension .db.<\/span> However, make sure, it is created for you if the associated HDFS directory does not exist.<\/p>\n<p>Also, if there is no physical or logical nesting, all databases and their associated directories are of top-level objects.<span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">In addition, we use USE statement, to make it the current database within an impala-shell session after creating a database.<\/span> Also, it is possible to reference tables in the current database without prepending any qualifier to their names.<span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Basically, the database we start is named default, while we first connect to Impala through impala-shell.<\/span><br \/>\n<span style=\"font-weight: 400\">In addition, there is another predefined database in Impala.<\/span> Such as _impala_builtins.<\/p>\n<p>That serves as the location for the built-in functions. Moreover, we can use below statement in order to see the <strong>built-in functions<\/strong>:<\/p>\n<p><strong>show functions in _impala_builtins;<br \/>\nshow functions in _impala_builtins like &#8216;*substring*&#8217;;<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Impala-shell session or another impala-shell connected to the same node can immediately access that database, after creating one.<\/span> In order to access the database through the Impala daemon on a different node, we issue the INVALIDATE METADATA statement first while connected to that other node.<span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Also, it is important to set the LOCATION attribute for a new database.<\/span> It is a way to work with sets of files in an HDFS directory structure outside the default Impala data directory, as opposed to setting the LOCATION attribute for each individual table.<\/p>\n<h2><span style=\"font-weight: 400\">Hive Considerations<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Hive Considerations means, Hive can always use a database, whenever we create one in Impala.<\/span> In addition, to make Impala permanently aware of the new database it issues an INVALIDATE METADATA statement in Impala, whenever we create a database in Hive.<strong><a href=\"https:\/\/data-flair.training\/blogs\/apache-hive-architecture\/\"><br \/>\n<\/a><\/strong><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Moreover, to lists all databases, or the databases whose name matches a wildcard pattern, we use the SHOW DATABASES statement.<\/span> Also, the SHOW DATABASES output includes a second column that displays the associated comment, for each database, if any, in Impala 2.5 and higher.<span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Amazon S3 Considerations<\/span><\/h2>\n<p><span style=\"font-weight: 400\">We can include an s3a:\/\/ prefix on the LOCATION attribute, in order to specify that any tables created within a database reside on the Amazon S3 system or not.<\/span> In Impala 2.6 and higher, there is a beautiful feature sustains.<\/p>\n<p>That is, it automatically creates any required folders as the databases, tables, and partitions are created. Also, removes them when they are dropped.<span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">Before Impala 2.6, we needed to create folders yourself.<\/span> Also, we needed to point Impala database, tables, or partitions at them, and manually remove folders when no longer needed.<\/p>\n<p>However, In Impala 2.6 and higher, its DDL statements can create or remove folders as needed in the Amazon S3 system. Like CREATE DATABASE, <strong>CREATE TABLE<\/strong>, DROP DATABASE CASCADE, <strong>DROP TABLE<\/strong>, and <strong>ALTER TABLE<\/strong> [ADD|DROP] PARTITION.<\/p>\n<h2><span style=\"font-weight: 400\">Cancellation<\/span><\/h2>\n<p><span style=\"font-weight: 400\">It is not possible to cancel it. That implies it Cannot be canceled.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">HDFS Permissions<\/span><\/h2>\n<p><span style=\"font-weight: 400\">However, it is essential that for the user ID that the impalaD daemon runs under, have to write permission for the parent HDFS directory under which the database is located.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Examples of Create Database<\/span><\/h2>\n<p><span style=\"font-weight: 400\">For Example,<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">create database first_db;\nuse first_db;\ncreate table t1 (x int);\ncreate database second_db;\nuse second_db;\n<\/pre>\n<p><span style=\"font-weight: 400\">&#8212; Each database has its own namespace for tables.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><br \/>\n<span style=\"font-weight: 400\">&#8212; You can reuse the same table names in each database.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">create table t1 (s string);\ncreate database temp;<\/pre>\n<p><span style=\"font-weight: 400\">&#8212; You can either USE a database after creating it,<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">&#8212; or qualify all references to the table name with the name of the database.<\/span><br \/>\n&#8212; Here, tables T2 and T3 are both created in the TEMP database.<\/p>\n<pre class=\"EnlighterJSRAW\">create table temp.t2 (x int, y int);\nuse database temp;\ncreate table t3 (s string);<\/pre>\n<p><span style=\"font-weight: 400\">&#8212; You cannot drop a database while it is selected by the USE statement.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">drop database temp;<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">ERROR: AnalysisException: Cannot drop current default database: temp<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8212; The always-available database &#8216;default&#8217; is a convenient one to USE<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">&#8212; before dropping a database you created.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">use default;<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">&#8212; Before dropping a database, first, drop all the tables inside it,<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">&#8212; or in Impala 2.3 and higher use the CASCADE clause.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">drop database temp;<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<p><span style=\"font-weight: 400\">ERROR: ImpalaRuntimeException: Error making &#8216;dropDatabase&#8217; RPC to Hive Metastore:<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">CAUSED BY: InvalidOperationException: Database temp is not empty<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">show tables in temp;<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">+&#8212;&#8212;+<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">| name |<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">+&#8212;&#8212;+<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">| t3 \u00a0\u00a0|<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">+&#8212;&#8212;+<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">&#8212; Impala 2.3 and higher:<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">drop database temp cascade;\n<\/pre>\n<p><span style=\"font-weight: 400\">&#8212; Earlier releases:<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><\/p>\n<pre class=\"EnlighterJSRAW\">drop table temp.t3;\ndrop database temp;<\/pre>\n<p>This is all on Impala CREATE DATABASE Statements.<\/p>\n<h2><span style=\"font-weight: 400\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400\">As a result, we have seen the whole concept of Impala CREATE DATABASE Statement. Still, if any doubt occurs in how to create impala database, feel free to ask in the comment section.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is possible to create a new database in Impala. So, in this article, we will discuss, how we can create it with Impala CREATE DATABASE Statement. Also, we will cover its syntax, usage&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":19072,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[549,5589,5697,6492,6495],"class_list":["post-11661","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-impala","tag-amazon-s3-considerations","tag-hdfs-permissions","tag-hive-considerations","tag-impala-create-data","tag-impala-create-database-statement"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Impala CREATE DATABASE Statement With Examples - DataFlair<\/title>\n<meta name=\"description\" content=\"How impala create database,HDFS Permissions, Examples of Create Database Amazon S3 Considerations, Hive Considerations, Syntax for Create Database in Impala\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Impala CREATE DATABASE Statement With Examples - DataFlair\" \/>\n<meta property=\"og:description\" content=\"How impala create database,HDFS Permissions, Examples of Create Database Amazon S3 Considerations, Hive Considerations, Syntax for Create Database in Impala\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-27T09:04:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-09T07:41:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/06\/Impala-CREATE-DATABASE-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Impala CREATE DATABASE Statement With Examples - DataFlair","description":"How impala create database,HDFS Permissions, Examples of Create Database Amazon S3 Considerations, Hive Considerations, Syntax for Create Database in Impala","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:\/\/data-flair.training\/blogs\/impala-create-database-statement\/","og_locale":"en_US","og_type":"article","og_title":"Impala CREATE DATABASE Statement With Examples - DataFlair","og_description":"How impala create database,HDFS Permissions, Examples of Create Database Amazon S3 Considerations, Hive Considerations, Syntax for Create Database in Impala","og_url":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-03-27T09:04:45+00:00","article_modified_time":"2021-05-09T07:41:19+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/06\/Impala-CREATE-DATABASE-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Impala CREATE DATABASE Statement With Examples","datePublished":"2018-03-27T09:04:45+00:00","dateModified":"2021-05-09T07:41:19+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/"},"wordCount":929,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/06\/Impala-CREATE-DATABASE-01.jpg","keywords":["Amazon S3 considerations","HDFS permissions","Hive considerations","Impala create Data","Impala CREATE DATABASE Statement"],"articleSection":["Impala Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/","url":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/","name":"Impala CREATE DATABASE Statement With Examples - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/06\/Impala-CREATE-DATABASE-01.jpg","datePublished":"2018-03-27T09:04:45+00:00","dateModified":"2021-05-09T07:41:19+00:00","description":"How impala create database,HDFS Permissions, Examples of Create Database Amazon S3 Considerations, Hive Considerations, Syntax for Create Database in Impala","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/06\/Impala-CREATE-DATABASE-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/06\/Impala-CREATE-DATABASE-01.jpg","width":1200,"height":628,"caption":"Impala CREATE DATABASE Statement with Examples"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/impala-create-database-statement\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Impala Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/impala\/"},{"@type":"ListItem","position":3,"name":"Impala CREATE DATABASE Statement With Examples"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=11661"}],"version-history":[{"count":1,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11661\/revisions"}],"predecessor-version":[{"id":94057,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11661\/revisions\/94057"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/19072"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=11661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=11661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=11661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}