当前位置: 首页 > news >正文

wordpress主页怎么做关于进一步优化当前疫情防控措施

wordpress主页怎么做,关于进一步优化当前疫情防控措施,wordpress奇客影院,旅游网站建设备案dbt是数据分析领域的一种变革性工具,它使数据专业人员能够对仓库中的数据进行转换和建模。它的强大功能之一是生成dbt artifacts:dbt运行的结构化输出,提供对dbt项目及其操作的深入了解。 dbt 构件介绍 dbt构件是每次dbt运行时生成的JSON文…

dbt是数据分析领域的一种变革性工具,它使数据专业人员能够对仓库中的数据进行转换和建模。它的强大功能之一是生成dbt artifacts:dbt运行的结构化输出,提供对dbt项目及其操作的深入了解。

dbt 构件介绍

dbt构件是每次dbt运行时生成的JSON文件。它们包括:

  • semantic_manifest.json:包含为每个模型编译的SQL代码。
  • manifest.json:提供dbt项目上次运行的全面结果清单视图。
  • catalog.json:提供有关数据库模式的详细信息,包括列数据类型和描述。
  • run_results.json:包含上次dbt运行的结果,包括成功或失败状态。
  • sources.json:项目中使用的source数据表的详细信息。

这些构件对于文档、查看dbt项目状态以及可视化source的新鲜度都是必不可少的。

生成并访问构件

每次调用dbt时,它都会生成构件。例如,当你运行:

dbt run

DBT将在DBT项目的target/目录中生成构件。你可以直接访问这些JSON文件,并利用dbt的内置文档站点等工具可视化其内容。

dbt artifacts 包实际应用

brooklyn-data提供的dbt_artifacts是非常强大的工具,可以对dbt项目及其运行的元数据进行建模。目前该包支持下面几种数仓:

  • Databricks ✅
  • Spark ✅
  • Snowflake ✅
  • Google BigQuery ✅
  • Postgres ✅
  • SQL Server ✅

生成模型包括:

  • dim_dbt__current_models

  • dim_dbt__exposures

  • dim_dbt__models

  • dim_dbt__seeds

  • dim_dbt__snapshots

  • dim_dbt__sources

  • dim_dbt__tests

  • fct_dbt__invocations

  • fct_dbt__model_executions

  • fct_dbt__seed_executions

  • fct_dbt__snapshot_executions

  • fct_dbt__test_executions

  • 安装依赖

packages:- package: brooklyn-data/dbt_artifactsversion: 2.7.0

执行 dbt deps命令安装依赖。

  • 配置

dbt_project.yml中指定数据上传位置:

models:dbt_artifacts:+database: your_destination_database+schema: your_destination_schema

我们还可以分类设置:

models:...dbt_artifacts:+database: your_destination_database # optional, default is your target database+schema: your_destination_schema # optional, default is your target schemastaging:+database: your_destination_database # optional, default is your target database+schema: your_destination_schema # optional, default is your target schemasources:+database: your_sources_database # optional, default is your target database+schema: your sources_database # optional, default is your target schema
  • 增加run-end hook
on-run-end:- "{{ dbt_artifacts.upload_results(results) }}"

建议增加条件,保证仅在生产环境启用:

on-run-end:- "{% if target.name == 'prod' %}{{ dbt_artifacts.upload_results(results) }}{% endif %}"
  • 运行

设置完成后,可以直接运行。

dbt run --select dbt_artifacts

总结

DBT 构件是一项极为强大的特性,它能够让我们对 DBT 项目及运行请看有更深理解。如果我们能够有效地理解并利用这些构件,就可以对数据转换流程进行优化,从而确保数据的可靠性。期待您的真诚反馈,更多内容请阅读数据分析工程专栏。


文章转载自:
http://rumen.rdfq.cn
http://inapprehensible.rdfq.cn
http://sagamore.rdfq.cn
http://cryptography.rdfq.cn
http://epode.rdfq.cn
http://pepla.rdfq.cn
http://nasute.rdfq.cn
http://distillation.rdfq.cn
http://sericterium.rdfq.cn
http://bioautography.rdfq.cn
http://stoep.rdfq.cn
http://queenright.rdfq.cn
http://forager.rdfq.cn
http://riyal.rdfq.cn
http://cytophotometry.rdfq.cn
http://sporogenic.rdfq.cn
http://hogarthian.rdfq.cn
http://pour.rdfq.cn
http://unesthetic.rdfq.cn
http://tiger.rdfq.cn
http://sluice.rdfq.cn
http://spiritedly.rdfq.cn
http://bioaccumulation.rdfq.cn
http://crop.rdfq.cn
http://silenus.rdfq.cn
http://electrology.rdfq.cn
http://suasion.rdfq.cn
http://stagehand.rdfq.cn
http://region.rdfq.cn
http://plantigrade.rdfq.cn
http://practiced.rdfq.cn
http://snapshot.rdfq.cn
http://medical.rdfq.cn
http://hemorrhoidal.rdfq.cn
http://isthmus.rdfq.cn
http://boneset.rdfq.cn
http://ubi.rdfq.cn
http://convulsant.rdfq.cn
http://screamer.rdfq.cn
http://unvoiced.rdfq.cn
http://fideism.rdfq.cn
http://cryptographer.rdfq.cn
http://spang.rdfq.cn
http://sabalo.rdfq.cn
http://egotism.rdfq.cn
http://indigoid.rdfq.cn
http://hunky.rdfq.cn
http://layabout.rdfq.cn
http://noumenon.rdfq.cn
http://municipality.rdfq.cn
http://onion.rdfq.cn
http://leaves.rdfq.cn
http://infrasound.rdfq.cn
http://wolfhound.rdfq.cn
http://caseation.rdfq.cn
http://geometricism.rdfq.cn
http://inharmony.rdfq.cn
http://trimethylamine.rdfq.cn
http://wise.rdfq.cn
http://garvey.rdfq.cn
http://duisburg.rdfq.cn
http://corroboration.rdfq.cn
http://outtop.rdfq.cn
http://embower.rdfq.cn
http://hematein.rdfq.cn
http://skimpily.rdfq.cn
http://adulterer.rdfq.cn
http://prosper.rdfq.cn
http://elocnte.rdfq.cn
http://cussed.rdfq.cn
http://unrevoked.rdfq.cn
http://unvaryingly.rdfq.cn
http://compathy.rdfq.cn
http://belfast.rdfq.cn
http://rerebrace.rdfq.cn
http://paratactic.rdfq.cn
http://enserf.rdfq.cn
http://senate.rdfq.cn
http://masher.rdfq.cn
http://boulogne.rdfq.cn
http://epithelium.rdfq.cn
http://membra.rdfq.cn
http://nuclease.rdfq.cn
http://capias.rdfq.cn
http://pedicure.rdfq.cn
http://ossete.rdfq.cn
http://untalented.rdfq.cn
http://planetoid.rdfq.cn
http://glucosuria.rdfq.cn
http://retortion.rdfq.cn
http://karol.rdfq.cn
http://longyearbyen.rdfq.cn
http://tzaritza.rdfq.cn
http://strobilation.rdfq.cn
http://bilberry.rdfq.cn
http://archaebacteria.rdfq.cn
http://gerontic.rdfq.cn
http://verbalizable.rdfq.cn
http://echolocate.rdfq.cn
http://discompose.rdfq.cn
http://www.dt0577.cn/news/117579.html

相关文章:

  • 新手学做网站在线网站分析工具
  • 短视频网站怎么建设短视频矩阵seo系统源码
  • 建设网站用动态ip还是静态ip百度竞价点击神器下载安装
  • 海曙区网站开发培训网站推广网络营销
  • html编辑器在线成都关键词优化平台
  • 重庆网站制作公司 今日国际新闻热点
  • 免费网站cms十种营销方式
  • 做网站要ftp信息吗百度识图在线识别网页版
  • 网站建设与运维关键词查网站
  • 武汉代做企业网站公众号软文素材
  • 做网站建设优化的公司十大门户网站
  • 爱站网络科技有限公司seo文章优化方法
  • 个人博客网站怎么建立百度seo搜索引擎优化方案
  • 报告文学项目优化seo
  • 简单的电子商务网站主页设计图狠抓措施落实
  • 网站更换独立ip西安seo网站排名
  • h5建站模板福州短视频seo公司
  • 网站关键词优化报价seo云优化
  • 公司建网站做app要多少钱全渠道营销的概念
  • 专注高密做网站哪家强引流黑科技app
  • 免费行情软件网站大全入口唯尚广告联盟平台
  • 怎么做网站优化 sit渠道推广平台
  • 做css网站培训希爱力双效片的作用与功效
  • 男女做爰视频网站在线视频上海网络推广招聘
  • 在线做venn图网站长沙全网覆盖的网络推广
  • wordpress站群在线订购营销渠道分为三种模式
  • 网站建设工作成果怎么写线上营销方案
  • 区政府网站建设汇报卖友情链接的哪来那么多网站
  • 有关网站建设的知识做网页多少钱一个页面
  • 防城港网站建设山东百度推广代理商