Refactor Customers Model: Convert CTEs into Intermediate Models#2
Open
Refactor Customers Model: Convert CTEs into Intermediate Models#2
Conversation
989057f to
21de9d2
Compare
21de9d2 to
a48228a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
a48228a to
24411d3
Compare
This comment was marked as outdated.
This comment was marked as outdated.
24411d3 to
e639327
Compare
This comment was marked as outdated.
This comment was marked as outdated.
e639327 to
0b8e642
Compare
This comment was marked as outdated.
This comment was marked as outdated.
0a2188b to
a4dd026
Compare
4509780 to
4248a98
Compare
4248a98 to
e4ee394
Compare
e4ee394 to
e23db56
Compare
e23db56 to
e4ee394
Compare
e4ee394 to
6d4ed11
Compare
6d4ed11 to
5dc50e1
Compare
5dc50e1 to
70151fe
Compare
Signed-off-by: Even Wei <shinycockorach@gmail.com>
70151fe to
ae474ce
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
SummaryPR #2 refactors the Key Changes
Impact Analysisgraph LR
stg_orders["stg_orders<br/>(view)"]:::unchanged
stg_customers["stg_customers<br/>(view)"]:::unchanged
stg_payments["stg_payments<br/>(view)"]:::unchanged
customers["customers<br/>(table)"]:::modified
customer_order_pattern["customer_order_pattern<br/>(table)"]:::impacted
customer_segments["customer_segments<br/>(table)"]:::impacted
int_customer_payments["int_customer_payments<br/>(table)"]:::added
int_customer_orders["int_customer_orders<br/>(table)"]:::added
stg_customers --> customers
int_customer_orders --> customers
int_customer_payments --> customers
customers --> customer_order_pattern
customers --> customer_segments
stg_orders --> int_customer_payments
stg_payments --> int_customer_payments
stg_orders --> int_customer_orders
classDef added fill:#d4edda,stroke:#28a745,color:#000000
classDef removed fill:#f8d7da,stroke:#dc3545,color:#000000
classDef modified fill:#fff3cd,stroke:#ffc107,color:#000000
classDef impacted fill:#ffffff,stroke:#ffc107,color:#000000
classDef unchanged fill:#ffffff,stroke:#d3d3d3,color:#999999
☑️ ChecklistAll checks configured in the PR validation suite have been executed:
🔍 Suggested Actions
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview:
Refactored the customers model by turning two CTEs into intermediate models, enhancing readability and maintainability.
Changes:
Rationale:
Improves clarity and allows easier future modifications.
Testing:
Ensured accuracy and consistency in results post-refactor.
Review Request:
Feedback on the implementation and integration of the new models is welcomed.