Access Dune’s blockchain data and your own Dune tables in Databricks with Delta Sharing
Databricks Datashare shares tables with your Unity Catalog metastore through Databricks-to-Databricks Delta Sharing. You query them in Databricks like any other catalog.You can receive two kinds of tables:
Dune’s data: Dune’s curated tables, set up by Dune for your team.
Your own tables: tables in your Dune namespace with change data feed enabled, registered with sync_datashare, for example from dbt. See dbt Connector + Datashare.
The sharing identifier names the Unity Catalog metastore that receives the share. Its format is <cloud>:<region>:<metastore uuid>, for example aws:us-west-2:19a84bee-54bc-43a2-87de-023d0ec16016.Run this in a notebook or the SQL editor of the workspace you will use to query the data:
SELECT CURRENT_METASTORE();
You can also copy it from the Shared with me tab in Catalog Explorer. See Access using sharing identifier in the Databricks documentation.
Dune only needs the sharing identifier. Never send tokens, passwords, or other
credentials.
A SQL warehouse or a cluster running Databricks Runtime 14.1 or above. The tables behind the shared views use deletion vectors, which older runtimes cannot read.
varbinary columns (addresses, hashes) arrive as BINARY, not as hex strings. Filter on them with a binary literal:
WHERE tx_hash = X'efb2e2c26974f72d9f3f04c693db73ecc679dd60'
Databricks has no UINT256 or INT256 type. In Dune’s tables, Dune converts these columns to a supported type, for example DOUBLE. In your own tables, cast them before syncing, see Configuration.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Dune Docs","description":"Official documentation for building with Dune's data platform, query engine, and API.","colors":{"primary":"#0f0f15","light":"#ffffff","dark":"#0f0f15"},"logo":{"light":"https://mintcdn.com/dune/zh-3B8LgVmyrKOaG/logo/dune-logo-light.svg?fit=max\u0026auto=format\u0026n=zh-3B8LgVmyrKOaG\u0026q=85\u0026s=6fec71d5070d0923eb2924321131b1c2","dark":"https://mintcdn.com/dune/zh-3B8LgVmyrKOaG/logo/dune-logo-dark.svg?fit=max\u0026auto=format\u0026n=zh-3B8LgVmyrKOaG\u0026q=85\u0026s=2501750983cc95aa72d40acc6f005bd9","href":"https://docs.dune.com/"},"navbar":{"links":[{"href":"mailto:support@dune.com","label":"Support"}],"primary":{"type":"button","label":"Start building","href":"https://dune.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/dune-analytics","github":"https://github.com/duneanalytics","x":"https://x.com/dune","telegram":"https://t.me/dune_updates","youtube":"https://www.youtube.com/@dunecom"}},"seo":{"metatags":{"title":"Dune Docs","description":"Official documentation for building with Dune's data platform, query engine, and API.","og:site_name":"Dune Docs","twitter:card":"summary_large_image"},"indexing":"navigable"},"fonts":{"family":"Geist"},"integrations":{"amplitude":{"apiKey":"e76ce253e6eaa36e3be8e6872101e33a"},"ga4":{"measurementId":"G-H1G057R0KN"},"gtm":{"tagId":"GTM-P46XP3Z5"}},"contextual":{"options":["chatgpt","claude","copy","view"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dune","hasAudioNarration":false,"actualSubdomain":"dune","customDomains":["docs.dune.com"],"gitSource":{"type":"github","owner":"duneanalytics","repo":"dune-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aedb2e9b7010cc612506594","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Data Catalog","count":1405},{"language":"default","tag":"EVM Networks","count":895},{"language":"default","tag":"Decoded","count":373},{"language":"default","tag":"Raw","count":326},{"language":"default","tag":"Non-EVM Networks","count":270},{"language":"default","tag":"Curated Data","count":156},{"language":"default","tag":"Curated","count":129},{"language":"default","tag":"DEX","count":89},{"language":"default","tag":"THORChain","count":72},{"language":"default","tag":"API Reference","count":67}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"#topbar-cta-button>a>span,#navigation-items .sidebar-group>li>a,#sidebar-group>li>a,#search-bar-entry,.chat-assistant-floating-input>div{border-radius:9999px}.dark #topbar-cta-button>a>span{background-color:#fff}.dark #topbar-cta-button>a>span+div>span{color:#0f0f15}.dark #topbar-cta-button>a>span+div>svg{color:#0f0f15}#page-context-menu>button:first-child{border-top-left-radius:9999px;border-bottom-left-radius:9999px}#page-context-menu>button:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.cta-links a,.cta-links a:visited,.cta-links a:hover,.cta-links a:active,aside a,.note-container a,[class*=\"note\"] a,[class*=\"Note\"] a,[class*=\"callout\"] a,div[class*=\"admonition\"] a,div[role=\"note\"] a{text-decoration-color:white!important;text-decoration-thickness:2px!important;text-decoration-line:underline!important}table a{text-decoration:underline!important;text-underline-offset:2px;transition:opacity 0.2s ease}table a:hover{opacity:0.7}"}],"page":{"pagePath":"datashare/datashare-databricks","slug":"/datashare/datashare-databricks","pageMetadata":{"title":"Databricks Datashare","sidebarTitle":"Databricks","icon":"rectangle-terminal","description":"Access Dune's blockchain data and your own Dune tables in Databricks with Delta Sharing","href":"/datashare/datashare-databricks"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Access Dune’s blockchain data and your own Dune tables in Databricks with Delta Sharing\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Databricks Datashare shares tables with your Unity Catalog metastore through Databricks-to-Databricks `,_jsx(_components.a,{href:`https://docs.databricks.com/aws/en/delta-sharing/`,children:`Delta Sharing`}),`. You query them in Databricks like any other catalog.`]}),`\n`,_jsx(_components.p,{children:`You can receive two kinds of tables:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dune’s data`}),`: Dune’s curated tables, set up by Dune for your team.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your own tables`}),`: tables in your Dune namespace with change data feed enabled, registered with `,_jsx(_components.code,{children:`sync_datashare`}),`, for example from dbt. See `,_jsx(_components.a,{href:`/api-reference/connectors/dbt/datashares`,children:`dbt Connector + Datashare`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`There is no Databricks trial.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Dune copies each table once, then applies its changes every five minutes by default.`}),`\n`,_jsx(_components.li,{children:`Dune shares one view per table with your metastore, in one Delta Sharing share for your team.`}),`\n`,_jsx(_components.li,{children:`You create a catalog from the share and query the views.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-started`,children:`Get Started`}),`\n`,_jsxs(_components.p,{children:[`Databricks Datashare is an enterprise feature configured per team. To enable it, email `,_jsx(_components.a,{href:`mailto:datashares-sales@dune.com`,children:`datashares-sales@dune.com`}),` or `,_jsx(_components.a,{href:`https://dune.com/enterprise`,children:`contact the enterprise team`}),` with your sharing identifier.`]}),`\n`,_jsx(Heading,{level:`3`,id:`find-your-sharing-identifier`,children:`Find Your Sharing Identifier`}),`\n`,_jsxs(_components.p,{children:[`The sharing identifier names the Unity Catalog metastore that receives the share. Its format is `,_jsx(_components.code,{children:`\u003ccloud>:\u003cregion>:\u003cmetastore uuid>`}),`, for example `,_jsx(_components.code,{children:`aws:us-west-2:19a84bee-54bc-43a2-87de-023d0ec16016`}),`.`]}),`\n`,_jsx(_components.p,{children:`Run this in a notebook or the SQL editor of the workspace you will use to query the data:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`SELECT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` CURRENT_METASTORE();`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`You can also copy it from the `,_jsx(_components.strong,{children:`Shared with me`}),` tab in Catalog Explorer. See `,_jsx(_components.a,{href:`https://docs.databricks.com/aws/en/delta-sharing/recipient#access-using-sharing-identifier`,children:`Access using sharing identifier`}),` in the Databricks documentation.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Dune only needs the sharing identifier. Never send tokens, passwords, or other\ncredentials.`})}),`\n`,_jsx(Heading,{level:`2`,id:`access-the-data`,children:`Access the Data`}),`\n`,_jsxs(_components.p,{children:[`When Dune confirms the share, it appears in the `,_jsx(_components.strong,{children:`Shared with me`}),` tab in Catalog Explorer. Create a catalog from it:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` CATALOG`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` IF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` NOT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` EXISTS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dune `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`USING`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SHARE `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`provider`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`share`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This requires a metastore admin, or the `,_jsx(_components.code,{children:`CREATE CATALOG`}),` and `,_jsx(_components.code,{children:`USE PROVIDER`}),` privileges. See `,_jsx(_components.a,{href:`https://docs.databricks.com/aws/en/delta-sharing/read-data-databricks`,children:`Read data shared using Databricks-to-Databricks Delta Sharing`}),`.`]}),`\n`,_jsx(_components.p,{children:`Each table appears as a view with the same schema and table name as in Dune:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`SELECT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` *`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`FROM`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` dune`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ethereum`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.transactions`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`LIMIT`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A Databricks workspace enabled for Unity Catalog.`}),`\n`,_jsx(_components.li,{children:`A SQL warehouse or a cluster running Databricks Runtime 14.1 or above. The tables behind the shared views use deletion vectors, which older runtimes cannot read.`}),`\n`,_jsxs(_components.li,{children:[`Databricks limits on shared views apply: for example, at most 20 shared views in one query, and no history or streaming reads. See `,_jsx(_components.a,{href:`https://docs.databricks.com/aws/en/delta-sharing/read-data-databricks`,children:`Read data shared using Databricks-to-Databricks Delta Sharing`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`data-types`,children:`Data Types`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`varbinary`}),` columns (addresses, hashes) arrive as `,_jsx(_components.code,{children:`BINARY`}),`, not as hex strings. Filter on them with a binary literal:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`WHERE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` tx_hash `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'efb2e2c26974f72d9f3f04c693db73ecc679dd60'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Databricks has no `,_jsx(_components.code,{children:`UINT256`}),` or `,_jsx(_components.code,{children:`INT256`}),` type. In Dune’s tables, Dune converts these columns to a supported type, for example `,_jsx(_components.code,{children:`DOUBLE`}),`. In your own tables, cast them before syncing, see `,_jsx(_components.a,{href:`/api-reference/connectors/dbt/datashares#configuration`,children:`Configuration`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`details`,children:`Details`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Freshness`}),`: changes are applied every five minutes by default`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pricing`}),`: `,_jsx(_components.a,{href:`https://dune.com/enterprise`,children:`contact the enterprise team`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Support`}),`: `,_jsx(_components.a,{href:`mailto:datashares-sales@dune.com`,children:`datashares-sales@dune.com`}),` | `,_jsx(_components.a,{href:`mailto:support@dune.com`,children:`support@dune.com`})]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Databricks Datashare","sidebarTitle":"Databricks","icon":"rectangle-terminal","description":"Access Dune's blockchain data and your own Dune tables in Databricks with Delta Sharing","href":"/datashare/datashare-databricks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"Get Started","slug":"get-started","depth":2,"children":[{"title":"Find Your Sharing Identifier","slug":"find-your-sharing-identifier","depth":3,"children":[]}]},{"title":"Access the Data","slug":"access-the-data","depth":2,"children":[]},{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"Data Types","slug":"data-types","depth":2,"children":[]},{"title":"Details","slug":"details","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dune/3dc9988ffc23fc85/favicon-switcher.js","/_mintlify/custom/dune/11037b9cc10a9f51/amplitude.js"],"subdomain":"dune","siteName":"Dune Docs","title":"Databricks Datashare - Dune Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T01:31:20.176Z","originalFileLocation":"datashare/datashare-databricks.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Access Dune\u0026#x27;s blockchain data and your own Dune tables in Databricks with Delta Sharing\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dune Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dune/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dune/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dune/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dune/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Databricks Datashare - Dune Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Access Dune\u0026#x27;s blockchain data and your own Dune tables in Databricks with Delta Sharing\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dune Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dune.com/datashare/datashare-databricks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dune.mintlify.site/_mintlify/api/og/v2?division=Dune+Datashare\u0026amp;title=Databricks+Datashare\u0026amp;description=Access+Dune%27s+blockchain+data+and+your+own+Dune+tables+in+Databricks+with+Delta+Sharing\u0026amp;theme=d9c0cb23e9b44d10ee46351c\u0026amp;signature=2e7cbf8175848d1b4d094991776cee54396617e202fee4f86e79ebc370f9403f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Databricks Datashare - Dune Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Access Dune\u0026#x27;s blockchain data and your own Dune tables in Databricks with Delta Sharing\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dune.mintlify.site/_mintlify/api/og/v2?division=Dune+Datashare\u0026amp;title=Databricks+Datashare\u0026amp;description=Access+Dune%27s+blockchain+data+and+your+own+Dune+tables+in+Databricks+with+Delta+Sharing\u0026amp;theme=d9c0cb23e9b44d10ee46351c\u0026amp;signature=2e7cbf8175848d1b4d094991776cee54396617e202fee4f86e79ebc370f9403f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/dune/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dune Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f0f15\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dune.com/datashare/datashare-databricks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/datashare/datashare-databricks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dune.com/#organization\",\"name\":\"Dune Docs\",\"url\":\"https://docs.dune.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dune/zh-3B8LgVmyrKOaG/logo/dune-logo-light.svg?fit=max\u0026auto=format\u0026n=zh-3B8LgVmyrKOaG\u0026q=85\u0026s=6fec71d5070d0923eb2924321131b1c2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dune.com#website\",\"name\":\"Dune Docs\",\"url\":\"https://docs.dune.com\",\"publisher\":{\"@id\":\"https://docs.dune.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dune.com/datashare/datashare-databricks#webpage\",\"url\":\"https://docs.dune.com/datashare/datashare-databricks\",\"name\":\"Databricks Datashare\",\"description\":\"Access Dune's blockchain data and your own Dune tables in Databricks with Delta Sharing\",\"dateModified\":\"2026-11-03T01:31:20.176Z\",\"isPartOf\":{\"@id\":\"https://docs.dune.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dune.com/datashare/datashare-databricks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dune.com/datashare/datashare-databricks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dune Datashare\",\"item\":\"https://docs.dune.com/datashare/datashare\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Databricks Datashare\",\"item\":\"https://docs.dune.com/datashare/datashare-databricks\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dune.com/datashare/datashare-databricks#article\",\"headline\":\"Databricks Datashare\",\"name\":\"Databricks Datashare\",\"description\":\"Access Dune's blockchain data and your own Dune tables in Databricks with Delta Sharing\",\"url\":\"https://docs.dune.com/datashare/datashare-databricks\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dune.com/datashare/datashare-databricks#webpage\"},\"dateModified\":\"2026-11-03T01:31:20.176Z\",\"publisher\":{\"@id\":\"https://docs.dune.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dune.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dune Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Dune Docs","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Dune Docs","sidebarTitle":"Introduction","icon":"house","href":""},{"title":"Products Overview","icon":"grid-2","href":"/docs/product-comparison"},{"title":"Changelog","icon":"clock-rotate-left","href":"/docs/changelog"},{"title":"Data Changelog","icon":"database","href":"/docs/data-changelog"},{"group":"Use Cases","pages":[{"title":"Analytics","sidebarTitle":"Analytics","icon":"chart-line","href":"/docs/use-cases/analytics"},{"title":"Engineering","sidebarTitle":"Engineering","icon":"code","href":"/docs/use-cases/engineering"},{"title":"Accounting, Audit \u0026 AML","sidebarTitle":"Accounting, Audit \u0026 AML","icon":"scale-balanced","href":"/docs/use-cases/accounting-audit-aml"}]},{"group":"Data Hub","pages":[{"title":"Data Hub Overview","icon":"star","sidebarTitle":"Overview","href":"/web-app/overview"},{"group":"Write and Run Queries","icon":"code","pages":[{"title":"Query Editor Overview","icon":"code","sidebarTitle":"Query Editor Overview","href":"/web-app/query-editor/index"},{"title":"Create your first query","icon":"code","href":"/learning/how-tos/create-your-first-query"},{"title":"Writing Queries","icon":"pen","href":"/web-app/query-editor/query-window"},{"title":"Find Data Tables with the Data Explorer","icon":"magnifying-glass","sidebarTitle":"Find Data Tables","href":"/web-app/query-editor/data-explorer"},{"title":"Using Parameters","icon":"sliders","href":"/web-app/query-editor/parameters"},{"title":"Query Templates","icon":"file-code","href":"/learning/how-tos/query-templates"},{"title":"AI Query Tools","icon":"robot","sidebarTitle":"AI Query Tools","href":"/web-app/dune-ai"}]},{"group":"Visualize and Present Results","icon":"chart-bar","pages":[{"title":"Create your first visualization","icon":"chart-line","href":"/learning/how-tos/create-your-first-visualization"},{"title":"Charts and Graphs","icon":"chart-bar","sidebarTitle":"Charts and Graphs","href":"/web-app/visualizations/charts-graphs"},{"title":"Counters","icon":"hashtag","sidebarTitle":"Counters","href":"/web-app/visualizations/counters"},{"title":"Tables","icon":"table","sidebarTitle":"Tables","href":"/web-app/visualizations/tables"},{"title":"Build Dashboards","icon":"grid-2","sidebarTitle":"Build Dashboards","href":"/web-app/dashboards"}]},{"group":"Automate and Monitor","icon":"clock","pages":[{"title":"Schedule Queries and Dashboards","icon":"clock","sidebarTitle":"Schedule Queries","href":"/web-app/query-editor/query-scheduler"},{"title":"Set Up Alerts","icon":"bell","sidebarTitle":"Set Up Alerts","href":"/web-app/alerts"},{"title":"Query Lineage","icon":"sitemap","href":"/web-app/query-editor/query-lineage"},{"title":"Version History","icon":"clock-rotate-left","href":"/web-app/query-editor/version-history"}]},{"title":"Share and Embed","icon":"share-nodes","sidebarTitle":"Share and Embed","href":"/web-app/share"},{"group":"Import and Export Data","icon":"arrow-right-arrow-left","pages":[{"title":"Upload Data","icon":"upload","href":"/web-app/upload-data"},{"title":"Export Data","sidebarTitle":"Export Data","icon":"file-export","href":"/learning/how-tos/export-data-out"}]},{"title":"Search and Discover Content","icon":"magnifying-glass","sidebarTitle":"Search and Discover","href":"/web-app/search"},{"group":"Decode Smart Contracts","icon":"file-code","pages":[{"title":"How Contract Decoding Works","icon":"file-code","sidebarTitle":"How Decoding Works","href":"/web-app/decoding/decoding-contracts"},{"title":"Submission Best Practices","icon":"check","sidebarTitle":"Submission Best Practices","href":"/web-app/decoding/best-practices"},{"title":"Contract Submission Guide","sidebarTitle":"Contract Submission Guide","icon":"file-import","href":"/web-app/decoding/short-guide-contract-submission"},{"title":"Solana Program Decoding Submissions","icon":"file-code","sidebarTitle":"Solana Decoding","href":"/web-app/decoding/solana-decoding-submissions"},{"title":"Multichain Decoding","icon":"link","href":"/web-app/decoding/multichain-decoding"},{"title":"Decoding FAQs","icon":"circle-question","sidebarTitle":"FAQs","href":"/web-app/decoding/faqs"}]},{"group":"Manage Your Team","icon":"users","pages":[{"title":"Teams and Roles","icon":"users","sidebarTitle":"Teams and Roles","href":"/web-app/teams"},{"title":"Organizations","sidebarTitle":"Organizations","icon":"building","href":"/web-app/organizations"},{"title":"Google SSO Domain Restriction","sidebarTitle":"Google SSO","icon":"google","href":"/web-app/google-sso-domain-restriction"},{"title":"Okta SSO Setup","sidebarTitle":"Okta SSO","icon":"key","href":"/web-app/okta-sso"}]},{"title":"Enterprise Plan","sidebarTitle":"Enterprise Plan","icon":"building","href":"/enterprise/data-hub/overview"}]},{"group":"Data API","pages":[{"title":"Data API Overview","sidebarTitle":"Data API Overview","icon":"star","href":"/api-reference/api-overview"}]},{"group":"Agents","pages":[{"title":"Dune MCP","sidebarTitle":"MCP","icon":"robot","href":"/docs/agents/mcp"},{"title":"Dune CLI \u0026 Skills","sidebarTitle":"CLI \u0026 Skills","icon":"terminal","href":"/docs/agents/cli-and-skills"},{"title":"Dune MPP","sidebarTitle":"MPP","icon":"credit-card","href":"/docs/agents/mpp"}]},{"group":"Transform your Data","pages":[{"title":"dbt Connector Overview","icon":"star","href":"/api-reference/connectors/dbt/overview"},{"title":"Getting Started","icon":"rocket","href":"/api-reference/connectors/dbt/getting-started"},{"title":"Incremental Models","icon":"layer-group","href":"/api-reference/connectors/dbt/incremental-models"},{"title":"dbt Connector + Datashare","icon":"share-nodes","href":"/api-reference/connectors/dbt/datashares"},{"title":"CI/CD \u0026 Workflows","icon":"code-branch","href":"/api-reference/connectors/dbt/cicd-workflows"},{"title":"Pricing \u0026 Best Practices","icon":"credit-card","href":"/api-reference/connectors/dbt/pricing-best-practices"},{"title":"Supported SQL Operations","icon":"code","href":"/api-reference/connectors/sql-operations"}]},{"group":"BI Visualization Tools","pages":[{"title":"Trino Connector Overview","icon":"star","href":"/api-reference/connectors/trino/overview"},{"title":"Hex","icon":"cube","href":"/api-reference/connectors/trino/hex"},{"title":"Metabase","icon":"chart-bar","href":"/api-reference/connectors/trino/metabase"},{"title":"DBeaver","icon":"database","href":"/api-reference/connectors/trino/dbeaver"},{"title":"Trino SDKs","icon":"plug","href":"/api-reference/connectors/trino/sdks"}]},{"group":"Dune Datashare","pages":[{"title":"Datashare Overview","sidebarTitle":"Datashare Overview","icon":"star","href":"/datashare/datashare"},{"title":"Getting Started with Datashare","sidebarTitle":"Getting Started","description":"Interested in Dune Datashare? Test out our data on Snowflake or BigQuery!","icon":"rocket","href":"/datashare/datashare-trial"},{"title":"Databricks Datashare","sidebarTitle":"Databricks","icon":"rectangle-terminal","href":"/datashare/datashare-databricks"},{"title":"Snowflake Datashare","sidebarTitle":"Snowflake","icon":"snowflake","description":"Access Dune's blockchain data through the Snowflake Marketplace","href":"/datashare/datashare-snowflake"},{"title":"BigQuery Datashare","sidebarTitle":"BigQuery","icon":"cloud","href":"/datashare/datashare-bigquery"},{"title":"S3 Datashare","sidebarTitle":"S3 Export","icon":"aws","href":"/datashare/datashare-s3"},{"title":"Datashare FAQs","sidebarTitle":"FAQs","icon":"circle-question","href":"/datashare/datashare-faqs"},{"title":"Datashare Enterprise","icon":"building","href":"/enterprise/datashare/overview"}]}]},{"tab":"Data Catalog","pages":[{"title":"Data Catalog","href":"/data-catalog/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview/introduction"}]},{"tab":"SQL Query Engine","pages":[{"title":"SQL Query Engine","href":"/query-engine/overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/credits-billing/overview"}]}]},"basePath":"","title":"Databricks Datashare - Dune Docs","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}