"use strict";(self.webpackChunkdocs_website=self.webpackChunkdocs_website||[]).push([[14400],{7653:(e,a,n)=>{n.d(a,{A:()=>t});const t={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"}},4732:(e,a,n)=>{n.d(a,{A:()=>l});var t=n(89379),i=n(96540),o=n(7653),r=n(89990),s=function(e,a){return i.createElement(r.A,(0,t.A)((0,t.A)({},e),{},{ref:a,icon:o.A}))};const l=i.forwardRef(s)},15680:(e,a,n)=>{n.d(a,{xA:()=>m,yg:()=>p});var t=n(96540);function i(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function o(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.push.apply(n,t)}return n}function r(e){for(var a=1;a=0||(i[n]=e[n]);return i}(e,a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l=t.createContext({}),c=function(e){var a=t.useContext(l),n=a;return e&&(n="function"==typeof e?e(a):r(r({},a),e)),n},m=function(e){var a=c(e.components);return t.createElement(l.Provider,{value:a},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var a=e.children;return t.createElement(t.Fragment,{},a)}},g=t.forwardRef((function(e,a){var n=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,m=s(e,["components","mdxType","originalType","parentName"]),u=c(n),g=i,p=u["".concat(l,".").concat(g)]||u[g]||d[g]||o;return n?t.createElement(p,r(r({ref:a},m),{},{components:n})):t.createElement(p,r({ref:a},m))}));function p(e,a){var n=arguments,i=a&&a.mdxType;if("string"==typeof e||i){var o=n.length,r=new Array(o);r[0]=g;var s={};for(var l in a)hasOwnProperty.call(a,l)&&(s[l]=a[l]);s.originalType=e,s[u]="string"==typeof e?e:i,r[1]=s;for(var c=2;c{n.d(a,{A:()=>f});var t=n(96540),i=n(20053);const o="availabilityCard_P5od",r="managedIcon_AxXO",s="platform_wqXv",l="platformAvailable_Y8lN";var c=n(4732),m=n(89379);const u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var d=n(89990),g=function(e,a){return t.createElement(d.A,(0,m.A)((0,m.A)({},e),{},{ref:a,icon:u}))};const p=t.forwardRef(g);const y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z"}}]},name:"cloud",theme:"outlined"};var h=function(e,a){return t.createElement(d.A,(0,m.A)((0,m.A)({},e),{},{ref:a,icon:y}))};const b=t.forwardRef(h),f=({saasOnly:e,ossOnly:a})=>t.createElement("div",{className:(0,i.A)(o,"card")},t.createElement("strong",null,"Feature Availability"),t.createElement("div",null,t.createElement("span",{className:(0,i.A)(s,!e&&l)},"Self-Hosted DataHub ",e?t.createElement(c.A,null):t.createElement(p,null))),t.createElement("div",null,t.createElement(b,{className:r}),t.createElement("span",{className:(0,i.A)(s,!a&&l)},"DataHub Cloud ",a?t.createElement(c.A,null):t.createElement(p,null))))},81147:(e,a,n)=>{n.r(a),n.d(a,{assets:()=>u,contentTitle:()=>c,default:()=>y,frontMatter:()=>l,metadata:()=>m,toc:()=>d});n(96540);var t=n(15680),i=n(43655);function o(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}function r(e,a){return a=null!=a?a:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):function(e,a){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),n.push.apply(n,t)}return n}(Object(a)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})),e}function s(e,a){if(null==e)return{};var n,t,i=function(e,a){if(null==e)return{};var n,t,i={},o=Object.keys(e);for(t=0;t=0||(i[n]=e[n]);return i}(e,a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const l={title:"Domains",slug:"/domains",custom_edit_url:"https://github.com/datahub-project/datahub/blob/master/docs/domains.md"},c="Domains",m={unversionedId:"docs/domains",id:"version-1.1.0/docs/domains",title:"Domains",description:"Starting in version 0.8.25, DataHub supports grouping data assets into logical collections called Domains. Domains are curated, top-level folders or categories where related assets can be explicitly grouped. Management of Domains can be centralized, or distributed out to Domain owners Currently, an asset can belong to only one Domain at a time.",source:"@site/versioned_docs/version-1.1.0/docs/domains.md",sourceDirName:"docs",slug:"/domains",permalink:"/docs/1.1.0/domains",draft:!1,editUrl:"https://github.com/datahub-project/datahub/blob/master/docs/domains.md",tags:[],version:"1.1.0",frontMatter:{title:"Domains",slug:"/domains",custom_edit_url:"https://github.com/datahub-project/datahub/blob/master/docs/domains.md"},sidebar:"overviewSidebar",previous:{title:"Dataset Usage & Query History",permalink:"/docs/1.1.0/features/dataset-usage-and-query-history"},next:{title:"Incidents",permalink:"/docs/1.1.0/incidents/incidents"}},u={},d=[{value:"Domains Setup, Prerequisites, and Permissions",id:"domains-setup-prerequisites-and-permissions",level:2},{value:"Using Domains",id:"using-domains",level:2},{value:"Creating a Domain",id:"creating-a-domain",level:3},{value:"Advanced: Setting a Custom Domain id",id:"advanced-setting-a-custom-domain-id",level:4},{value:"Assigning an Asset to a Domain",id:"assigning-an-asset-to-a-domain",level:3},{value:"UI-Based Assignment",id:"ui-based-assignment",level:4},{value:"Ingestion-time Assignment",id:"ingestion-time-assignment",level:4},{value:"Searching by Domain",id:"searching-by-domain",level:3},{value:"Additional Resources",id:"additional-resources",level:2},{value:"Videos",id:"videos",level:3},{value:"GraphQL",id:"graphql",level:3},{value:"Examples",id:"examples",level:4},{value:"Create a Nested Domain",id:"create-a-nested-domain",level:2},{value:"DataHub Blog",id:"datahub-blog",level:3},{value:"FAQ and Troubleshooting",id:"faq-and-troubleshooting",level:2},{value:"Related Features",id:"related-features",level:3}],g={toc:d},p="wrapper";function y(e){var{components:a}=e,n=s(e,["components"]);return(0,t.yg)(p,r(function(e){for(var a=1;a/api/graphiql"),".")),(0,t.yg)("h3",{id:"datahub-blog"},"DataHub Blog"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://medium.com/datahub-project/just-shipped-ui-based-ingestion-data-domains-containers-and-more-f1b1c90ed3a"},"Just Shipped: UI-Based Ingestion, Data Domains & Containers, Tableau support, and MORE!"))),(0,t.yg)("h2",{id:"faq-and-troubleshooting"},"FAQ and Troubleshooting"),(0,t.yg)("p",null,(0,t.yg)("strong",{parentName:"p"},"What is the difference between DataHub Domains, Tags, and Glossary Terms?")),(0,t.yg)("p",null,"DataHub supports Tags, Glossary Terms, & Domains as distinct types of Metadata that are suited for specific purposes:"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("strong",{parentName:"li"},"Tags"),": Informal, loosely controlled labels that serve as a tool for search & discovery. Assets may have multiple tags. No formal, central management."),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("strong",{parentName:"li"},"Glossary Terms"),": A controlled vocabulary, with optional hierarchy. Terms are typically used to standardize types of leaf-level attributes (i.e. schema fields) for governance. E.g. (EMAIL_PLAINTEXT)"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("strong",{parentName:"li"},"Domains"),": A set of top-level categories. Usually aligned to business units / disciplines to which the assets are most relevant. Central or distributed management. Single Domain assignment per data asset.")),(0,t.yg)("h3",{id:"related-features"},"Related Features"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"/docs/1.1.0/glossary/business-glossary"},"Glossary Terms")),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"/docs/1.1.0/tags"},"Tags"))))}y.isMDXComponent=!0}}]);