使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
涡轮模式
本页介绍了为 Cortex Framework Data Foundation 部署启用 Turbo 模式的可选步骤。在 config.json
文件中设置数据流水线时,请考虑 Google Cloud Cortex Framework 提供的以下两种部署模式。
标准模式 (turboMode=false
):
如果您仍在调整数据源,或者怀疑视图和实际数据表之间可能存在不一致的情况,建议您选择此选项。在此模式下,部署流程会尝试创建配置中定义的所有视图,即使某些视图存在错误也是如此。这可能需要更长时间,但有助于在一次运行中找出所有潜在问题(视图和表之间的不匹配)。
增强型模式 (turboMode=true
):
此模式适用于在正确完成数据源配置后更快地进行部署。部署流程会动态生成一个 cloudbuild.views.yaml
文件,其中包含正确依赖项文件(例如 dependencies_ecc.txt
或 dependencies_s4.txt
)中的每个视图,作为构建的单个步骤。这可以显著缩短部署时间(最多可缩短 10 倍)。不过,缺点是,如果部署期间任何视图出现错误,整个流程都会停止。这可能不适合调试用途,因为您可能需要重新运行部署才能确定具体错误。
建议您在初始设置或问题排查时选择“标准”,以后再选择“Turbo”以加快部署速度。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-06。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-06。"],[[["Turbo Mode is an optional setting within the Cortex Framework Data Foundation deployment that offers faster deployment speeds."],["Standard Mode (`turboMode=false`) is designed for initial setup and troubleshooting, allowing the identification of errors in multiple views during a single deployment run."],["Turbo Mode (`turboMode=true`) is optimized for quicker deployments after the data source configuration is finalized, generating dependency files on-the-fly."],["While Turbo Mode greatly increases deployment speed, an error in any view will halt the entire process, making Standard Mode better for debugging."],["The recommendation is to use Standard Mode initially and switch to Turbo Mode once the data source is correctly configured."]]],[]]