This page documents production updates to Google Cloud Cortex Framework. Check this page for announcements about new or updated features, bug fixes, known issues, and deprecated functionality.
You can see the latest product updates for all of Google Cloud on the Google Cloud page, browse and filter all release notes in the Google Cloud console, or programmatically access release notes in BigQuery.
To get the latest product updates delivered to you, add the URL of this page to your feed reader, or add the feed URL directly.
September 19, 2025
Release 6.3.2
- 1-Click Deployer: 1-Click deployer now deploys the Sustainability module when SAP ECC or S/4 is selected.
- SAP:
- The CDC script now considers the
Lflag alongsideIandUwhen determining which records are updated in the raw dataset. This is to account for situations where the pipeline is somehow re-configured after data load, but the CDC dataset can still be reused to avoid re-processing existing data. - Column names in
StockInHandviews (ECC and S/4) forMATNRandWERKShave been aligned with other views to beMaterialNumber_MATNRandPlant_WERKS. Previous column namesArticleNumber_MATNRandSite_WERKSstill exist for compatibility reasons, but will be removed in a future release. Customers are advised to change their upstream consumption assets accordingly. - Column names in
SalesOrders_V2views (ECC and S/4) forERDATandERZEThave been aligned to new namesSalesDocumentCreationDate_ERDAT,SalesOrderItemCreationDate_ERDAT,SalesOrderCreationTime_ERZETandSalesDocumentItemCreationTime_ERZETto account for the correct granularity of their source table (eitherVBAPorVBAK) . Previous column namesCreationDate_ERDATandCreationTime_ERZETstill exist for compatibility reasons, but will eventually be removed in a future release. Customers are advised to change their upstream consumption assets accordingly. Also, Sales Order Item level calendar dimensions are now added by default. - Column names in
Deliveriesview forVGBEL,VGPOS, andXBLNRare updated toInternalReferenceDocumentNumber_VGBEL,InternalReferenceDocumentItem_VGPOSExternalReferenceDocumentNumber_XBLNRfor more clarity. Previous column namesSalesOrderNumber_VGBEL,SalesOrderItem_VGPOS, andReferenceDocumentNumber_XBLNRstill exist for compatibility reasons, but will eventually be removed in a future release. Customers are advised to change their upstream consumption assets accordingly. - Sales Order Item level calendar dimensions are now added by default.
- In
AccountingDocumentsview as well as the downstreamAccountingDocumentsReceivablesviews,DoubtfulReceivables, andDaysInArrearmetrics are now positive instead of negative to align with official SAP guidelines. SalesFulfillmentandSalesFulfillment_PerOrderviews are updated to useSalesOrders_V2instead ofSalesOrdersview as their upstream source for both ECC and S/4. The view signatures are unchanged.- ERD for both ECC and S/4 have been cleaned up and updated based on the latest changes.
- The CDC script now considers the
- Marketing: Cortex for Meridian reporting views adapted to TikTok, Meta, and YouTube (DV360) to focus on top of the funnel marketing campaigns. Search Ads data is skipped from aggregates as higher quality data is now available from Marketing Mix Modeling (MMM) Data Platform.
- SAP:
Qtyfield data type inStockInHandviews (ECC and S/4) has been changed fromSTRINGtoNUMERIC.- Currency conversion and currency decimal shift in
PurchaseDocuments_Flowviews (ECC and S/4) now align with the logic implemented in all other SAP reporting views. - Fixed incorrect GR quantity caused by an incorrect
JOINcondition. - Removed an excessive
LEFT JOINin the Unit of Measure Function and View Utility code to avoid possible duplicate rows. - Cleaned up unnecessary date casting and
ORDER BYclauses in some views to improve performance.
- Salesforce (SFDC):
- Currency conversion logic is now updated to account for possible source
currency fields that are not corporate currency in the objects
(for example,
Opportunities). - Updated ERD to include proper linkage to calendar dimension.
- Currency conversion logic is now updated to account for possible source
currency fields that are not corporate currency in the objects
(for example,
- SAP: The views
GLDocumentsHdrandRegionsMDare now removed as they are no longer relevant.
- Oracle builds may time out when using a private worker pool created with default parameters.
May 14, 2025
Release 6.3.1
- A dedicated Cortex-specific Cloud Build Service Account will now be automatically created during the deployment process for both the standard Quickstart demo and the Cortex for Meridian Quickstart demo.
- When executing
gcloud builds submitcommand for Cortex Framework deployments, the_BUILD_ACCOUNTparameter is now required. If you are updating an existing deployment, ensure you provide the appropriate build account in the following format:_BUILD_ACCOUNT='projects/SOURCE_PROJECT/serviceAccounts/SERVICE_ACCOUNT@SOURCE_PROJECT.iam.gserviceaccount.com'.
- Resolved inconsistencies between the standard and Cortex for Meridian Quickstart demos related to Cloud Build Service Account behavior.
- The Quickstart demo now automatically enables the Data Catalog API during its execution.
- Oracle builds may time out when using a private worker pool created with default parameters.
April 22, 2025
Release 6.3
- Cortex for Meridian.
- Cortex Framework for Meridian, Google's open-source Marketing Mix Modeling (MMM) tool (v1.0.5), delivers ready data models and automation of Meridian Model execution using Google Cloud tools like Colab Enterprise and Cloud Workflows.
- This integration empowers users to make data-driven marketing decisions by providing accurate campaign performance measurement and budget optimization.
- Cortex for Meridian simplifies the pre-modeling process by gathering and transforming data from core Cortex Framework data sources, including:
- Task Dependent DAGs:
- Provided out-of-the-box, recommended DAGs and task dependencies for SAP ECC/S4 reporting.
- Enabled the creation and deployment of customized task-dependent reporting settings for all data sources.
- CATGAP has been deprecated.
- SAP Machine Learning (ML) models have been deprecated.
- Resolved duplicate entries from
VendorsMD - Fixed DATE_ADD overflow issue in
InventoryByPlant. - Fixed mislabeled columns in
AccountingDocumentsReceivable. - Addressed JSON parsing errors related to FLOAT numbers in Meta Raw to DAG Change Data Capture (CDC).
- Fixed a typo in the
LeadsCaptureConversionsSalesforce (SFDC) reporting table:LeadFirstResponeDatestampcorrected toLeadFirstResponseDatestamp.
March 04, 2025
Release 6.2
New Data Sources
- Marketing: Cross Media & Product Connected Insights. Understand the effectiveness of marketing campaigns running across media platforms such as Google Ads, YouTube (with DV360), Meta, and TikTok for product and product category sales performance with the power of Gemini Flash 2.0. Access the Looker Block for Cross Media with sample dashboards for further analytics.
- Cortex Common Dimensions: Newly added utility views and tables created within the Data Foundation to enable advanced use cases across different data sources, such as Cross Media & Product Connected Insights. Currently Country, Product Hierarchy and Currency Conversion are available.
- Minor refactoring for Data Mesh configuration specs code, which are now moved to the
/src/common/py_libsdirectory.
- SAP CDC Deployer now provides detailed error messages on failure.
- SAP Reporting - Fixing abundant join condition in
PurchaseDocuments_Flowview. - For all DAGs, BigQuery execution now happens in the same location as the dataset.
- 1-click deployer usability fixes for CM360 and SFMC bucket names.
The following standalone accelerators and samples are removed from Cortex Framework:
- Demand Sensing
- AppLayer
- CATGAP
- SAP ML Model samples
January 28, 2025
Updated the Cortex libraries for Meta to use v21.0 of the Meta Marketing API.
December 19, 2024
Release 6.1
- SAP Annotations: All SAP Reporting views and fields are now fully annotated with functional descriptions and business context. Deploy Data Mesh to take advantage of this feature.
- Google Ads Campaign Daily Aggregates view has been redesigned:
- The
CampaignDailyAggByUserCountryview is now removed. - Relevant information is now integrated into the
CampaignDailyAggview.
- The
- SAP Financial Model Initial Load: The Financial Model's initial load has been separated into a dedicated DAG for better organization.
- SAP Inventory Module: Removed "Preview" tag.
- SAP Hierarchy Reader: As announced in the previous release notes, the
hier_readercode has been fully deprecated. RelevantSAMPLEscripts have been updated to use the new hierarchy reader DAG output tables. - SAP Fiscal and Currency functions: As announced in the previous release notes, these functions have been removed. Please use the relevant tables (
currency_conversion,currency_decimal, andfiscal_date_dim) instead.
- SAP Currency Decimal Fix: Fixed a decimal precision issue for SAP currency data.
- Minor JOIN Condition Issue: Fixed a JOIN condition in SAP Billings view comments.
- 1-Click Deployer:
- Fixed an issue with incorrect default Google Analytics 4 CDC dataset setting.
- Updated to use different output bucket names for SFMC and CM360.
- K9 Deployer: Fixed the issue where temporary files were copied to the tmp* directory in the target bucket and not removed.
- Minor Fixes: Addressed other minor issues related to dependency, configuration handling, Python library requirements, and DAG steps.
- Google Trends DAG: The Google Trends API calls issued by this DAG may intermittently fail. If this happens, try rerunning the DAG.
- 1-click deployer: The 1-click deployer for Oracle EBS currently requires manual naming. Autoname mode is not yet supported.
October 21, 2024
Release 6.0.1
- Quickstart demo updates for permissions with legacy accounts.
- CATGAP Python library vulnerability updates.
September 30, 2024
Release 6.0
GitHub Submodules
Submodules are officially removed. Workloads have been migrated as follows:
Note: As announced in release 5.4, workload specific repositories will continue to receive code updates for at least one more release.
New Data Sources
Marketing: YouTube (with DV360). Get comprehensive overview of your campaign spend, performance and audience targeting with actionable insights for paid media campaigns on YouTube purchased in DV360 platform. Access the Looker Block for YouTube (with DV360) with sample dashboards for faster data analysis and exploration.
Marketing: Google Analytics 4 (GA4). Understand website engagement and purchases using page views, time spent, call to action ratios, average purchases, lifetime value over time, traffic volumes, and success rates for defined conversion.
Oracle EBS: Measure and understand Order to Cash operational metrics around sales performance, order status, order fulfillment, invoicing, and receivables with new BigQuery integration templates and data models. Access the Looker Block for Oracle EBS with sample dashboards for further analytics.
New Cloud Build features support
Added support for the following Cloud Build features:
- Private worker pools: Run Cortex Framework deployment builds in your Cloud Build private worker pool.
- Regional builds: Specify a region for Cortex Framework deployment builds.
- User-specified service accounts: Run Cortex Framework deployment builds with a specific service account instead of the Cloud Build default.
SAP
- SAP Raw to CDC DAG: Rewrote logic and became less costly with about 25% improvement in performance.
- Fiscal dimension: All views now use the new Fiscal Dimension instead of function. ECC/S4 specific Fiscal Functions are now removed as announced in v3.1. Fiscal functions will be removed in the next version.
- Future deprecation: Legacy
Currency_ConversionandCurrency_Decimalfunctions will be deprecated in the next version. Join the viewscurrency_conversionandcurrency_decimalinstead. - Finance: New views for FSV, Cost, and Profit center hierarchy that supersedes the old
hier_readerlocal k9, which will be removed in the next version. For more information, see Cortex Framework: integration with SAP. - Improved
SalesStatus_Itemsand S/4Billinglogic. Inventory: Moved the following views and functions from
src/SAP/SAP_REPORTING/local_k9/inventory_snapshotstosrc/SAP/SAP_REPORTING/{SAP_FLAVOR}; and renamed them to make the structure more logical and succinct. Also added notes and instructions on this module in the Cortex Framework: integration with SAP . There isn't any content or logic change.- From
00_stock_characteristics_configtoStockCharacteristicsConfig. - From
00_slow_moving_thresholdtoSlowMovingThreshold. - From
0_{weekly|monthly}_inventory_aggregation.sqltoAggregate{Weekly|Monthly}Inventory. - From
stock_weekly_snapshots_inventory_aggregation_updatetoUpdateMonthlyInventoryAggregation. - From
01_stock_{weekly|monthly}_snapshotstoUpdate{Weekly|Monthly}StockSnapshots.
- From
Data Mesh
- Added support for annotations on nested fields.
- Removed inherited default values for lake regions and zone location types. These values need to be provided if deploying lakes and zones.
New documentation page
- Cortex documentation is now live! READMEs in GitHub have been deprecated and relocated to Google Cloud Cortex Framework documentation.
Misc Technical Notes
- Upgraded Google Ads API from v15 to v17.1. For field name changes, see Google Ads API upgrade notes.
- Moved deployment configs for Language and Currency to workload specific sections. This affects SAP and Oracle EBS data sources.
- Officially dropped Airflow v1 support.
- Adding test harness support for new BigQuery regions
africa-south1andeurope-west10. - Deployer log verbosity reduced by 75% for reporting deployment steps across all workloads.
- Cloud Composer (Airflow) DAGs now use current python and BigQuery operators in place of deprecated
airflow.operators.python_operatorandairflow.contrib.operators.bigquery_operatoroperators. - Patched multiple Python library vulnerabilities.
- Deprecated Credly badging.
Known issues and limitations
- Data Mesh deployments where only column descriptions are deployed require Data Catalog API to be enabled. This will be patched in a future release.
- Local K9 for SAP produces a temporary folder (tmp*) in the target bucket for DAGs. Please, remove it manually. There is no impact in the execution.
June 21, 2024
Release 5.4.2
This release changes the Cloud Build default service account behavior, and now it has one of the two types of service accounts by default:
- The legacy Cloud Build service account (
project-number@cloudbuild.gserviceaccount.com). - The project's compute service account (
project-number-compute@developer.gserviceaccount.com).
Consequently, the Quickstart demo deployment is updated to use either default service account. For more information, see Cloud Build Service Account Change.
May 15, 2024
Release 5.4.1
- Realigned table schema directory location for Google Ads, CM360 and TikTok, by moving it from
src/marketing/src/SOURCE/src/table_schematosrc/marketing/src/SOURCE/config/table_schemamatching other marketing sources. - Reporting table refresh operation is now atomic, which ensures data is available in reporting during table refresh.
Google Ads
- Renamed
Keywordsview toKeywordStats. - Added new reporting views to support campaign level metrics by country (
CampaignStats,CampaignStatsByUserCountry,GeoTargetConstant), and new experimental views (CampaignDailyAgg,CampaignDailyAggByUserCountry). - Enabled auto discovery for all accessible customer IDs. Therefore
login_customer_idno longer needs to be explicitly specified in the Secret Manager configuration. - Improved readability for raw view queries.
Meta
- Updated source raw request specification format to YAML. Required fields can now be specified in a readable format.
- Maximum load days and per request delay can be configured in
src/marketing/src/Meta/src/raw/pipelines/config.ini. - Added table annotations for reporting views.
- Fixed a bug for source raw load date range, causing data to be backfilled multiple times in edge cases.
- Included performance optimizations of the hierarchy flattener code for SAP Finance Financial Statement Version, Profit Center, and Cost Center hierarchies.
K9
- Converted scores to
INTEGERtype fromSTRINGbased on source definition. Sustainability views are now GA. - Holiday Calendar updated to correctly load data for most recent years.
- Added support for polymorphic fields to Salesforce Sales Cloud (SFDC).
- SFDC encoding text is now configurable in
src/SFDC/src/raw_dag_generator/dependencies/config.ini. Default value is UTF-8.
Repository READMEs
- Moved SAP and Salesforce Sales Cloud (SFDC) content from main README to their respective README files.
- Added Google BigQuery Connector for SAP configuration considerations to the README_SAP.
March 09, 2024
Release 5.4
Plan migration
- Cortex Framework employs multiple submodule repositories, however the Cortex Data Foundation repository would no longer contain submodules.
- Cloud Composer 1 is entering in post-maintenance mode, and Cortex support for Airflow 1 and Cloud Composer 1 is ending. Plan to upgrade to Airflow 2 and Cloud Composer 2. For more information, see Migrate environments to Cloud Composer 2.
Marketing
- New Meta data source: Measure and understand Meta (Facebook and Instagram) paid media campaign performance with new BigQuery integration templates, data models, and a Looker Semantic Model with sample dashboards for further analytics.
- New Salesforce Marketing Cloud (SFMC) data source: Measure and understand SFMC email marketing campaign performance with new BigQuery integration templates, data models, and Looker Semantic Model with sample dashboards for further analytics.
- Support for Google Ads API updated to v15.
SAP Finance
- Added New Profit and Loss view (
ProfitAndLoss) that shows company's revenues, expenses, and profits. Also demonstrating Financial Statement Version (FSV), cost-center, and profit-center hierarchy. - Added sample Financial Income Statement Dashboards for Profit and Loss view to the Looker Semantic Model for Cortex SAP Framework.
- Hierarchy flattener for profit-center and cost-center hierarchy.
- Improved performance and optimization to the
financial_statementscode, which significantly decreases execution time and resources required forFinancialStatementandBalanceSheetviews.
K9 - Sustainability
- Added Intelligent ESG data for Sustainability analysis utilizing Dun and Bradstreet sourced data with Sustainability Looker Studio Dashboard samples. This feature is experimental. The data model is subject to change in subsequent releases.
Other changes
- Now obtain and share a Credly Digital Badge after a successful deployment of Cortex Framework.
- Salesforce (SFDC): Added Line of Business Catalog tags for Data Mesh annotations.
- Updated Cortex Data Foundation principal README. This simplifies searches for deployment content and data sources separately. SAP, SFDC, and Marketing workloads have separate pages now.
- Updated
DAG ApacheBeam[gcp]version requirements to 2.53.0. New test harness regions added:me-central1andme-west1. Addressed a variety of vulnerabilities in Python library versions. - Known Issues And Limitations from previous release are still in effect.
- It's expected that only the company code
C006balances in the SAP Finance test harness data.
January 19, 2024
Release 5.3.1
- Fixed race condition and numbering sorting that leads to Cloud Build sequence bypass (
SAP_REPORTING/common/materializer/generate_build_files.py). - Experimental preview of hierarchy flattener and base view for P&L Report. These artifacts are subject to change to include further optimizations, but provide a preview of an upcoming feature.
January 04, 2024
Release 5.3
- New experimental functionality to deploy Data Mesh definitions leveraging Data Catalog, Dataplex and BigQuery. Current functionality includes definitions for lakes, zones, access policies, and other exciting features. By default, configuration only creates descriptions in BigQuery and doesn't require any additional configuration.
- Experimental Balance Sheet report with financial statement version flattening is available. Due to potential performance issues, the underlying data processing pipeline is under development for optimization and would be improved in a future release based on user input. Review CDC settings, as ACDOCA, BSEG and BKPF have modified clustering and partition settings.
- New persisted and optimized fiscal time dimension.
- Google Ads ingestion pipeline upgrade to Google Ads API version 15.
- Minor modifications to marketing ingestion pipelines for LiveRamp: streamlined imports for Python libraries.
- Directory
external_dagsfor SAP was converted into local K9. - Modification on
AccountsPayablefor S4 to match invoice based on reference.
Known issues and limitations
- Local K9 for SAP produces a temporary folder (
tmp) in the target bucket for DAGS. Remove it manually. There is no impact in the execution. - Nested fields aren't supported yet by Data Mesh annotations. They would be incorporated in a follow-up release.
- It's expected that data in the test harness for finance doesn't zero out in the balance sheet because it is incomplete.
November 20, 2023
Release 5.2.1
- Performance improvements for SAP Inventory. Updated
InventoryByPlantandInventoryKeyMetricsfor ECC and S4 to reduce memory processing requirements. Updated partitions and clusters forStockMonthlySnapshotsandStockWeeklySnapshot. - Increasing Cloud Build timeout for SAP reporting deployment and Data Foundation deployer.
September 28, 2023
Release 5.2
- LiveRamp for Marketing: New integration templates and data models to enable identity resolution by integrating with LiveRamp.
- SAP Reusable DAGs are now deployed via the K9 deployment mechanism so they now behave like other cross-workload DAGs. This applies to all DAGs in the
external_dagdirectory. These DAGs no longer search for SQL files frombq_data_replicationdirectory. If you have modified the SQLs for them, follow these steps to migrate:- Back up any SQL file(s) you have modified from
gs://<your_airflow_bucket>/data/bq_data_replication. - If any of the relevant DAG(s) are running, pause them in Airflow.
- Deploy Cortex Data Foundations v5.2.
- Copy your modified SQL file into the deployment directory, which by default is
gs://<your_deployment_bucket>/dags/sap/reporting/<dag_name>. - Copy
/dagsdirectory from the deployment bucket into your Airflow bucket. Then, wait for Airflow to refresh, and unpause the DAGs in Airflow. - Remove migrated files from
gs://<your_airflow_bucket>/data/bq_data_replication.
- Back up any SQL file(s) you have modified from
- Metadata for SAP and TikTok: New experimental annotations feature for SAP artifacts. The deployer now creates views with descriptions for views and their fields.
- Support for new regions: New supported regions incorporated into the test harness.
- Fix for set hierarchy reader in SAP, generating a node with no associated main data for the header.
August 28, 2023
Release 5.1
- New TikTok for Marketing: New integration templates and data models for TikTok to measure paid media campaign performance insights, through impressions and reach.
- Placeholders for K9 views are now created for each workload.
- New experimental feature to help gather necessary data to request support after a failed deployment. This feature gathers the logs and the configuration to be sent to
cortex-support@google.com. - Added option to calculate doubtful receivables and days in arrear as positive amount in AccountingDocuments.
- Pull request #9 from SAP Reporting, adding safe divide for Fill rate Percent.
August 03, 2023
Release 5.0.1
- Enhanced validation of permissions and assets existence as the first step in deployment. The former
Mando Checkeris now executed at the beginning of the validation process. The deployer attempts to create, write and delete temporary files and datasets in the targets to validate permissions. - Minor tweaks and some image refreshes in the Cortex Data Foundation README.
- Move pre-processing or post-processing K9 configuration to individual manifests to simplify execution.
- Test harness: Restore behavior to ignore a table in Raw if it exists, and it has no records, and
testDatais set toTrue. - Materializer: Restore behavior to attempt to build all views sequentially when
turbo modeis set toFalse.
July 14, 2023
Release 5.0
- Cortex for Marketing, has been added to the Data Foundation. For more information, see the Entity Relationship Diagram (ERD) in the docs folder.
- Created quickstart demo deployment.
- K9 cross-workload and source reusable models.
- Optional materialization and performance optimization enabled for all modules and views. This impacts the SQL templates previously containing a
CREATEstatement. Check the new default configurations as this attempts to replace some views with tables. - CATGAP has moved to K9. The deployment is disabled by default.
- The test harness data has now moved from buckets into BigQuery datasets available in all relevant regions. Test harness data isn't provided with any warranty of quality, but this change simplifies and speeds up the deployment for those exploring the framework.
- Substitutions are removed, except for Logs in Cloud Storage bucket. Configuration files are now normalized into
config.json. Legacy Dotenv files have been removed. - DeployCDC is now specific to each workload.
- GenerateExtraData is now removed, the control of this deployment is owned by K9.
SAP
- SAP-specific DAGs, like currency conversion, inventory management or hierarchy reader, were moved to the reporting module and are executed by default.
- Configured reporting configuration for materialization to improve match customer expectations, but it might not apply to your business at all.
- UNION deployment logic has been removed, but supported views continue to have the UNION template until further notice.
- The reporting module relies on the time dimension deployment in K9, it can be executed manually if deploying from the cortex-reporting submodule.
Salesforce
- New currency conversion for Salesforce. Since these are optional components for Salesforce deployments, they can be created through the placeholder settings. If you don't have the currency types and conversion in Salesforce, comment out or remove the calls in
SFDC/config/ingestion_settings.yaml. The configuration incdc_placeholder_settings.yamlnow takes care of the dependencies in the reporting views. - The reporting module relies on the time dimension deployment in K9, it can be executed manually if deploying from the Salesforce submodule.
Known issues and limitations
- SAP Reporting and Salesforce Reporting requires execution of K9 pre-processing if used as a separate submodule.
- ML Models repository still allows for substitutions.
- CM360 and Ads integration scripts are in
Experimentalmode while we gather early feedback from customers on usage. - Google Ads DAG is supported on Airflow v2 only.
April 01, 2023
Release 4.2
- New Supply Chain and Finance views: These views support KPIs for Inventory management, Vendor Performance, Accounts Payable and Spend Analysis. The new objects are:
- Reusable DAG scripts for inventory snapshots (
SAP_CDC/external_dag/inventory_snapshots): Initializer and periodic update for weekly and monthly inventory snapshots and aggregations, slow moving threshold, and stock characteristic configuration. Review forCORTEX-CUSTOMERcomments for potential updates needed for custom thresholds and material movements. These scripts are inPREVIEWand would be moved into another structure in deployment in the next major release. These scripts fill the base tables and need to be scheduled for the reporting views to function properly. - New views for reporting:
AccountsPayableOverview, DaysPayableOutstanding, InventoryByPlant, InventoryKeyMetrics, MaterialLedger, MaterialMovementTypesMD MaterialsBatchMD, POScheduleLine, PurchaseDocumentsHistory, SalesOrderStatus, SlowMovingThreshold, StockCharacteristicsConfig, StockInHand, StockMonthlySnapshots, and StockWeeklySnapshots. - New overview views:
VendorLeadTimeOverviewandVendorPerformanceOverview. These views show the reporting logic used in Looker in case you want to replicate them in another tool or a microservice. These views aren't deployed by default.
- Reusable DAG scripts for inventory snapshots (
- Materializer preview : By default, the new views that require a lot of computation are now deployed as materializing DAGs.
- Cortex Analytics Templates - Google Ads Pipelines (CATGAP) : This new experimental feature uses Natural Language Processing Machine Learning models to intelligently map product categories from Google Ads to SAP's product hierarchy. For more information, see CATGAP for details and further setup.
- Reporting views that expect parameters from currencies in
config/config.jsonnow produce the same result as many times as currencies are set as targets. Check forCORTEX-CUSTOMERcomments for specific guidance if you deploy the data foundation with more than one currency. - Parameters that control runtime (for example,
DEPLOY_SAP,DEPLOY_SFDC,DEPLOY_CDC, andTEST_DATA) are now read from theconfigfile. These are still defaulted incloudbuild.yamlsubstitutions. If you want to use the values in the file, the substitutions section incloudbuild.yamlneeds to be commented out. Substitutions from the command line would be phased out. - Compatibility for Airflow v1 and v2 updated for
currency_conversionDAG. - Addressing SFDC Issue #2.
Known Issues and Limitations
- If using the SAP Reporting submodule as standalone for deployment,
sap_config.jsonneeds to be manually generated fromconfig.envfor the materializer to read as input. Dotenv files would be removed in the next major release, and this would be addressed for SAP submodules. - New views aren't released for
UNIONmode.
February 17, 2023
Release 4.1
- More options for Salesforce integration with provided scripts or external tools: End-to-end integration from Salesforce APIs (provided out-of-the-box), structure mapping with no change data capture processing and optional CDC and mapping generation scripts.
- Option for
sequentialdeployment (TURBO=false) for SFDC incorporated. - Salesforce integration now updates the RAW tables with changes, merging changes on landing. This removes the need for additional CDC processing. Deltas are captured using SystemModstamp provided by Salesforce APIs.
IsArchivedflag is removed from CDC processing for Salesforce.- Errors originating from gsutil steps in
cloudbuild.sfdc.yamlnot finding files to copy are now caught and surfaced gracefully. - Removing some
substitutiondefaults (for example,LOCATION) fromcloudbuild.yamlfile so all configurations are either passed from the command line or read fromconfig/config.json. These parameters would be removed from substitution defaults in future releases. - Detecting version for Airflow in DAG templates to use updated libraries for Airflow v2 in SAP and Salesforce. This removes some deprecation warnings, but it might need additional libraries installed in your Airflow instance.
- Fix for test harness data not loading in an intended location when the location isn't passed as a substitution.
- Checking existence of DAG-generated files before attempting to copy with
gsutilto avoid errors. - Structure of RAW landed tables has changed to not require additional DAG processing. Review the documentation about mapping and use of the new extraction process before upgrading to avoid disruption.
January 16, 2023
Release 4.0
- New Salesforce data source. The module includes optional integration and CDC scripts and reporting views. For more information, see the Entity Relationship Diagram for a list of tables and views and the Looker repository for sample dashboards.
- New configuration file (
config/config.json) for deployment parameters. We maintain backward compatibility with the existinggcloud builds submitcommand parameters. Enhanced parameters likeSAP UNIONdatasets and those for Salesforce, can be configured inconfig.json. This file format replaces the.envformat forSAP_REPORTINGin the next releases. - New preview models for SAP Finance:
AccountingDocumentsReceivable, AccountsPayable, AccountsPayableTurnover, CashDiscountUtilization, CurrencyConversion(exposing table processed by DAG),VendorPerformance, and VendorConfig(dependant on TVARVC values). - New split views for SAP Order-To-Cash:
SalesOrderPricingandPricingConditions. For more information, see the updated Looker reports to make use of the split models.
Known issues and limitations
- Salesforce integration DAGs have been tested in Airflow 1.0 and Airflow 2.0. They might require library updates or use of backwards compatible libraries to be tested and confirmed in the next release.
- Finance views for SAP are good candidates for partial or total materialization. Check BigQuery's execution details to identify opportunities to create materialization processes and further optimizations that fit your data best.
November 27, 2022
Release 3.1
- New configurable partitioning and clustering on deployment of CDC landing tables and scripts. See example in
cdc_settings.yaml. - New date dimension generated from external DAGs through
_GEN_EXT=trueto allow for more flexibility in reporting. This table has been incorporated into viewsPOSchedule, MaterialsValuation, PurchaseDocuments, Deliveries, Billing, SalesOrderScheduleLine, AccountingDocuments, InvoiceDocuments_Flow, POOrderHistory, and SalesOrders_V2. The structure of the table is generated without data if_GEN_EXT=false. If you don't want to execute the generation of other DAGs for external sources, remove them from the list in the generation script. - Performance improvements to
AccountingDocuments, InvoiceDocuments_Flow,Billing, Deliveries, MaterialsValuation, PurchaseDocuments, POOrderHistory, and SalesOrders_V2when using currency conversion generated from DAG materializing results (seeCORTEX-CUSTOMERtags and differences when merging). - New preview views modularizing functionality from SalesOrders_V2:
OneTouchOrder, SalesOrderHeaderStatus, SalesOrderScheduleLine, SalesOrderPartnerFunction, and SalesOrderDetails_SAMPLE. - Replacing
ECCorS4specific functions with non-specific (for example,fiscal_Case_eccorfiscal_case_s4now isfiscal_case). SQL flavor-specific functions would be commented out from generation in the next release.
September 07, 2022
Release 3.0
- New submodule structure. All SAP-related submodules have been moved under the directory
src/SAP/. - Submodules now execute independently. SAP's ML Models and SAP Reporting submodules now have their own YAML file for independent execution.
- New experimental
UNIONlogic available if your SAP ECC and S/4 systems don't share the same MANDT. All views are now moved to/eccor/s4respectively. This alters the templates of all of the views and requires two sets of datasets (for example, oneraw landingfor ECC, one for S/4). These datasets can be passed to the deployment in the filesap_config.env. - SAP Reporting can now be deployed using a configuration file (
sap_config.env) instead of parameters from thegcloud builds submit --substitutionscommand. Parameters received from the substitutions override configurations in the file to maintain backwards compatibility. This affects all thecloudbuild.yamlfiles. - New simplified view for Sales Orders (
_SalesOrders_V2_) with less underlying joins for use cases that don't require them. - New experimental views for a collaboration with C3.ai. These views are considered
experimentalas we increase the functionality around and on top of them in collaboration with C3.ai. Experimental views are flagged with an## EXPERIMENTALcomment. - Turbo mode for SAP Reporting: The file
sap_config.envcontains a variable calledTURBO. If set totrue, thecloudbuild.yamlfile is generated dynamically from the dependencies file. This reduces the deployment time. - Candidates for enhancement points within the code, that is portions where customers should consider incorporating changes or applying extensions, are flagged with a comment
## CORTEX-CUSTOMER. - Templatized currency and language for views that require the values to be hardcoded for better performance.
- New non-changing views created as tables by default. Sources that are unlikely to ever change (for example, material document types, valuation areas) are now created as tables, instead of views, by default.
- Added the following new views:
WeatherDaily, SalesOrders_V2, DeliveryBlockingReasonsMD, BillingBlockingReasonsMD, StorageLocationsMD, PurchaseDocumentTypesMD, MovementTypesMD, ReasonForMovementTypesMD, SpecialStocksMD, PurchasingOrganizationsMD, BatchesMD, MaterialPlantsMD, ProductionOrders, PurchasingGroupsMD, MaterialsValuation, MaterialsMovement, MaterialTypesMD, BillOfMaterialsMD, DivisionsMD, and ValuationAreasMD. - Added new DAG for currency conversion and currency decimal shifting.
- When test data is set to true, the dynamically generated
MERGEoperation now copies the test data from the raw landing dataset into the CDC dataset. Test data in CDC dataset isn't copied as it is from the raw landing. Test data is still meant to provide a base for specific demo scenarios and isn't guaranteed to be a reliable source with any quality or referential integrity. - Started marking releases with tags. This release is v3.0
- Views for ECC are now matched in S4.
- New guide with recommendations for upgrades.
August 15, 2022
Release 2.2
- New external datasets available: Holidays, Weather, Trends and product hierarchy flattener to feed the Trends search terms.
- Region-specific deployments with test data are now possible. For more information about supported regions and limitations of regional datasets in BigQuery, see BigQuery locations.
- Addressing records with the same key and operation flag sent more than once in different chunks into raw landing.
- Escaping of table and column names in DAG and real-time view generation to avoid issues with reserved words (Issue #7).
- Minor tweak to CustomersMD: Coalesce address between customer main data and latest record in ADRC.
- Minor correction to OrderToCash: Use CDC dataset as source for VBRP.
Known issues
- Analytics hub supports regions in the EU and US . For more information, see Analytics hub introduction. If deploying the Weather DAG in a specific location where the source linked datasets aren't available, you might need to resort to another source for weather data or create a scheduled query to feed a copy in the same location, and use a transfer service to copy the records into a table in the desired location.
May 01, 2022
Release 2.1.1
- Fixed AddressesMD date format to
9999-12-31. - Merged original 800 and 200 demo client tables into test harness for ECC (now it has both 800 and 100). This client was mostly used for demos.
- Commenting out deployment of Product Recommender ML model as it requires specific reservations and a sample dataset that is only offered in the US region.
- Addressing Issue #4.
- Ignoring
.INCLUDEwhen generating DAGs and Runtime views. - Fixed RUNTIME view logic generation affecting keys with deletion.
- New Looker blocks available replacing the older blocks.
March 01, 2022
Release 2.1
Features and improvements
- Templatized deployment and SQL Flavour for views,
setting.yamlfile and test harness to deploy either ECC or S4:- New split source of data with
MANDT = 050for ECC andMANDT = 100for S/4. These populates automatically based on the_SQL_FLAVOURparameter in the build (default toECC). - Original dataset from ECC and S/4 mixed still present in the source bucket (
MANDT = 800). - The following views would be adapted to S/4 with source tables in a next minor release:
FixedAssets, SDStatus_Items, GLDocumentsHdr, BSID and BSAD implementations, InvoiceDocuments_flow,DeliveriesStatus_PerSalesOrg, SalesFulfillment_perOrder, SalesFulfillment, and UoMUsage_SAMPLE.
- New split source of data with
- Additional views for ECC and S/4 with Accounts Receivables and On-Time/In-Full analysis:
Billing, OrderToCas, and AccountingDocumentsReceivable. - Additional helper functions for currency conversion.
- Additional function for Due Date calculation for discounts.
- New helper function for Fiscal period.
- Renamed CDC parameters to match Reporting and ML Models.
- SAP Reporting now has a SQL Flavour switch to correctly deploy S4 or ECC based on the
_SQL_FLAVOURparameter. Possible values areECCorS4. - Enhanced reporting and calculation logics in:
Deliveries,PurchaseDocumentsandSalesOrders. - Reduced CDC deployment copy step by 80% implementing multithreaded copy.
- Optimized overall build time when Cloud Build has the container cached, improving overall deployment time by 50%.
Bug Fixes
- Fix for Runtime views not generated from
settings.yaml. - Deployment dependencies causing errors on view creation.
Known issues
- Hierarchy flattener not configured to find sets in new test data.
.INCLUDEin some tables in some versions of S/4 is known to be marked as key, which results in invalid SQLs in DAG generation. Recommendation as of now is to clear the keyflag field in the offending.INCLUDEentry in the replicatedDD03Ltable in BigQuery when generating the DAG.
New
- Cortex Application Layer: Google Marketplace offering showcasing how to consume the Cortex Data Foundation in your own cloud-native applications.
- Looker Blocks dashboards for Orders Fulfillment, Order Snapshot, Order Details, Sales Performance, Billing, and Pricing.