Commit Graph

170 Commits

Author SHA1 Message Date
Yam ZhengLim 50b7679080 Merge branch 'lee_build_rep_frozen_account_incidents' into 'main'
Lee build rep frozen account incidents

See merge request cief-data/dbt_cloud!30
2023-12-30 06:05:42 +00:00
CIEF ACC1 021cd467dc Added logic to identify migrated_companies 2023-12-29 10:32:28 +00:00
CIEF ACC1 20db620d27 added is_migrated_company, company_created_datetime, and next_order_datetime variable 2023-12-29 10:31:33 +00:00
CIEF ACC1 2912022f84 added next order datetime variable 2023-12-29 10:29:37 +00:00
CIEF ACC1 5f1a9b361d added is_credit_term_company variable 2023-12-29 09:48:22 +00:00
CIEF ACC1 c453c6189d added is_credit_term and is_migrated_company variable 2023-12-29 09:44:17 +00:00
CIEF ACC1 1b60be4522 Shipping data model - survival analysis 2023-12-29 09:43:22 +00:00
CIEF ACC1 a4c4fc83cb Shipping data model - rfm 2023-12-29 09:42:53 +00:00
CIEF ACC1 cfc1e36d9a Shipping data model - company lists 2023-12-29 09:42:08 +00:00
CIEF ACC1 4514c35db4 Shipping data model - company engagement behavior 2023-12-29 09:41:36 +00:00
CIEF ACC1 b285a9546d Shipping data model - cohort analysis development 2023-12-29 09:40:01 +00:00
CIEF ACC1 6c63f37d0c Debug calculation formula to avoid infinity when log(0) is encountered 2023-12-29 09:39:15 +00:00
CIEF ACC1 0b0af14e2a migrated_company_list for shipping 2023-12-22 07:36:03 +00:00
CIEF ACC1 21e3ecf9a6 Merge branch 'lee_build_rep_frozen_account_incidents' of gitlab.com:cief-data/dbt_cloud into lee_build_rep_frozen_account_incidents 2023-12-14 06:00:33 +00:00
CIEF ACC1 6ecff261f6 Logic fix for is_on_time_delivery 2023-12-14 06:00:32 +00:00
Yam ZhengLim 2712fb88db Merge branch 'lee_build_rep_frozen_account_incidents' into 'main'
Lee build rep frozen account incidents

See merge request cief-data/dbt_cloud!29
2023-12-10 06:57:04 +00:00
Yam ZhengLim 42202ccea1 Merge branch 'main' into 'lee_build_rep_frozen_account_incidents'
# Conflicts:
#   models/marts/reporting/rep_exchange__daily_orders.sql

Yam add order_created_week_number, order_created_month_day_number etc... from dim_dates to enhance order_created_datetime column
2023-12-10 06:56:45 +00:00
CIEF ACC1 eea798478c fix service_type 2023-12-01 01:37:57 +00:00
CIEF ACC1 68908bf57c Enhance company detail only 2023-11-22 16:26:31 +00:00
CIEF ACC1 eefb32db93 Change status into business driven naming 2023-11-22 16:25:16 +00:00
CIEF ACC1 01fa0f61d6 Change status into business naming driven 2023-11-22 16:13:47 +00:00
CIEF ACC1 8feb447f89 1688 cost calculation 0.4% fix 2023-11-22 16:11:57 +00:00
CIEF ACC1 775cc58358 Bank Slip 2023-11-22 16:08:39 +00:00
CIEF ACC1 436cd7ed92 Exclude Internal Purchase 2023-11-22 16:07:39 +00:00
CIEF ACC1 bcddb754ec White Form 2023-11-22 16:06:25 +00:00
CIEF ACC1 95e49fed81 Exclude Internal Purchase 2023-11-22 16:04:31 +00:00
CIEF ACC1 8cac940a65 Exclude Internal Purchase 2023-11-22 16:04:13 +00:00
CIEF ACC1 8ad1d143d0 Exclude Internal Purchase 2023-11-22 16:02:56 +00:00
CIEF ACC1 d1108da3e5 Moved variable into correct category for final cte. 2023-11-03 09:40:45 +00:00
CIEF ACC1 52348351a7 Migrate to new airbyte format 2023-11-03 08:43:32 +00:00
CIEF ACC1 ed72fe1a6e Migrate to new airbyte format 2023-11-03 08:39:06 +00:00
CIEF ACC1 30a08de7a0 fixed snowpark and pandas dataframe type error 2023-11-02 09:50:30 +00:00
CIEF ACC1 ea8317d5a3 Changed to new airbyte format and included frozen account google sheet 2023-11-02 09:37:35 +00:00
Yam ZhengLim 78b65467da Merge branch 'Enhance_rep_daily_orders_order_created_date' into 'main'
Add order_created_dates

See merge request cief-data/dbt_cloud!28
2023-10-23 16:58:27 +00:00
Yam ZhengLim 0f5f6665ec Add order_created_dates 2023-10-23 16:57:28 +00:00
CIEF ACC1 ff56b3c02e Merge branch 'lee_build_int_get_latest_cost' into 'main'
Redefine Status and build more REP

See merge request cief-data/dbt_cloud!27
2023-10-10 06:56:27 +00:00
CIEF ACC1 d59b6908ef Merge branch 'main' into 'lee_build_int_get_latest_cost'
# Conflicts:
#   models/marts/reporting/rep_exchange__daily_orders.sql
2023-10-10 06:55:55 +00:00
CIEF ACC1 6fa24f0a96 Because cost move to INT, delete some code 2023-10-10 05:23:46 +00:00
CIEF ACC1 9206cfa02e Added Model 2023-10-10 05:23:11 +00:00
CIEF ACC1 5d9f357837 Add Business Term status 2023-10-10 05:23:03 +00:00
CIEF ACC1 c27858b932 Added Model 2023-10-10 05:22:45 +00:00
CIEF ACC1 48870313ca Added Model 2023-10-10 05:22:41 +00:00
CIEF ACC1 ce381e8c74 split deduplicate function in intermediate 2023-10-03 06:50:43 +00:00
CIEF ACC1 7c377b793a spacing readjust 2023-10-03 06:46:23 +00:00
Yam ZhengLim 23aa258e68 Merge branch 'lee_customer_life_time_value' into 'main'
order lifetime value compute

See merge request cief-data/dbt_cloud!26
2023-10-03 06:41:18 +00:00
Yam ZhengLim 656d584da9 order lifetime value compute 2023-10-03 06:36:22 +00:00
CIEF ACC1 c1efd26ef5 Change 5 working day to 7 working day 2023-09-29 07:37:04 +00:00
CIEF ACC1 d1c0ff2319 PO stg file 2023-09-29 07:36:34 +00:00
CIEF ACC1 6e671ca880 Transaction Invoice stg file 2023-09-29 07:36:22 +00:00
CIEF ACC1 362cec7fa0 Clean wrong data 2023-09-24 11:47:14 +00:00