Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dim__orgs.sql #183

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Update dim__orgs.sql #183

wants to merge 12 commits into from

Conversation

diveart
Copy link
Collaborator

@diveart diveart commented Jul 26, 2024

No description provided.

datafold[bot]

This comment was marked as resolved.

datafold[bot]

This comment was marked as resolved.

datafold[bot]

This comment was marked as resolved.

datafold[bot]

This comment was marked as resolved.

datafold[bot]

This comment was marked as resolved.

datafold[bot]

This comment was marked as resolved.

Copy link

@datafold datafold bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View CI Run Details →

Base branch Pull Request branch
master (59eb145) snowflake-patch-1 (6e0f17f)
Data Diffs of tables modified in this pull request: 1
  • Different: 1
DEMO.CORE.DIM__ORGS
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
 Columns with changed type/order: 1
column change
NUM_USERS NUMBER(18,0) → NUMBER(38,0)  
  Exclusive PKs 5 5
 3 column(s) with differing values
column number of rows
NUM_USERS 137  49.6%
SUB_PRICE 92  33.3%
SUB_PLAN 83  30.1%
View details →
 
6 potential data app dependencies
 
Unchanged Attributes
Total rows 281
Total columns 6
Common unique PKs 276
Rows with NULL PKs 0
Rows with duplicate PKs 0

Skipped Data Diffs of downstream tables: 3 Add "datafold:diff-all-downstream" label to this pull request to diff all affected tables
DEMO.CORE.fct__yearly__financials (table) Run Data Diff →
DEMO.CORE.sales__sync (table) Run Data Diff →
DEMO.CORE.fct__monthly__financials (table) Run Data Diff →

Copy link

@datafold datafold bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View CI Run Details →

Base branch Pull Request branch
master (59eb145) snowflake-patch-1 (69e5e81)
Data Diffs of tables modified in this pull request: 6
  • Different: 1
  • No PK: 3
  • Identical: 2
DEMO.CORE.DIM__ORGS
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
 Columns with changed type/order: 1
column change
NUM_USERS NUMBER(18,0) → NUMBER(38,0)  
  Exclusive PKs 7 7
 3 column(s) with differing values
column number of rows
NUM_USERS 158  49.8%
SUB_PRICE 108  34.1%
SUB_PLAN 99  31.2%
View details →
 
6 potential data app dependencies
 
Unchanged Attributes
Total rows 324
Total columns 6
Common unique PKs 317
Rows with NULL PKs 0
Rows with duplicate PKs 0

DEMO.CORE.ORG__CREATED
⚠️ To perform a full Data Diff, please set the primary key for the table. Documentation →
View details →
 
6 potential data app dependencies
 
Row count and schema unchanged
Total rows 537
Total columns 5
Schema changes 0

DEMO.CORE.FEATURE__USED
⚠️ To perform a full Data Diff, please set the primary key for the table. Documentation →
View details →
 
Row count and schema unchanged
Total rows 1,347
Total columns 3
Schema changes 0

DEMO.CORE.SIGNED__IN
⚠️ To perform a full Data Diff, please set the primary key for the table. Documentation →
View details →
 
6 potential data app dependencies
 
Row count and schema unchanged
Total rows 860
Total columns 3
Schema changes 0

DEMO.CORE.USER__CREATED
Primary keys USER_ID
💡 Primary key inferred from dbt uniqueness tests. Documentation →
View details →
 
Unchanged Attributes
Total rows 799
Total columns 7
Schema changes 0
Common unique PKs 799
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0

DEMO.CORE.SUBSCRIPTION__CREATED
Primary keys ORG_ID
💡 Primary key inferred from dbt uniqueness tests. Documentation →
View details →
 
Unchanged Attributes
Total rows 266
Total columns 6
Schema changes 0
Common unique PKs 266
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0

Skipped Data Diffs of downstream tables: 4 Add "datafold:diff-all-downstream" label to this pull request to diff all affected tables
DEMO.CORE.dim__users (table) Run Data Diff →
DEMO.CORE.fct__yearly__financials (table) Run Data Diff →
DEMO.CORE.fct__monthly__financials (table) Run Data Diff →
DEMO.CORE.sales__sync (table) Run Data Diff →

Copy link

@datafold datafold bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View CI Run Details →

Base branch Pull Request branch
master (a800340) snowflake-patch-1 (69e5e81)
Tables modified: 6 (details)
  • Different: 3
  • No PK: 3
DEMO.CORE.DIM__ORGS
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
  Total rows 500 324 -35.2%
 Columns with changed type/order: 1
column change
NUM_USERS NUMBER(18,0) → NUMBER(38,0)  
  Exclusive PKs 183 7
 4 column(s) with differing values
column number of rows
NUM_USERS 159  50.2%
SUB_PLAN 118  37.2%
SUB_PRICE 106  33.4%
SUB_CREATED_AT 31  9.8%
View details →
 
Unchanged Attributes
Total columns 6
Common unique PKs 317
Rows with NULL PKs 0
Rows with duplicate PKs 0

DEMO.CORE.SUBSCRIPTION__CREATED
Primary keys ORG_ID
💡 Primary key inferred from dbt uniqueness tests. Documentation →
master snowflake-patch-1
DIFFERENCES
  Total rows 405 266 -34.3%
  Exclusive PKs 139 0
View details →
 
Unchanged Attributes
Total columns 6
Schema changes 0
Common unique PKs 266
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0

DEMO.CORE.USER__CREATED
Primary keys USER_ID
💡 Primary key inferred from dbt uniqueness tests. Documentation →
master snowflake-patch-1
DIFFERENCES
  Total rows 1,212 799 -34.1%
  Exclusive PKs 413 0
View details →
 
Unchanged Attributes
Total columns 7
Schema changes 0
Common unique PKs 799
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0

DEMO.CORE.FEATURE__USED
⚠️ To perform a full Data Diff, please set the primary key for the table. Documentation →
master snowflake-patch-1
DIFFERENCES
  Total rows 2,054 1,347 -34.4%
View details →
 
Unchanged Attributes
Total columns 3
Schema changes 0

DEMO.CORE.SIGNED__IN
⚠️ To perform a full Data Diff, please set the primary key for the table. Documentation →
master snowflake-patch-1
DIFFERENCES
  Total rows 1,292 860 -33.4%
View details →
 
Unchanged Attributes
Total columns 3
Schema changes 0

DEMO.CORE.ORG__CREATED
⚠️ To perform a full Data Diff, please set the primary key for the table. Documentation →
master snowflake-patch-1
DIFFERENCES
  Total rows 811 537 -33.8%
View details →
 
Unchanged Attributes
Total columns 5
Schema changes 0

Downstream tables: 4 (details)
  • Different: 4
DEMO.CORE.FCT__YEARLY__FINANCIALS
Primary keys DATE_YEAR
DIFFERENCES
 2 column(s) with differing values
column number of rows
YEARLY_REVENUE 1  100.0%
YEARLY_SUBSCRIBERS 1  100.0%
View details →
 
3 potential data app dependencies
 
Unchanged Attributes
Total rows 1
Total columns 3
Schema changes 0
Common unique PKs 1
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
 
 Modified upstream models   seed.demo.user__created
  seed.demo.signed__in
  seed.demo.org__created
  seed.demo.subscription__created
  model.demo.dim__orgs

DEMO.CORE.FCT__MONTHLY__FINANCIALS
Primary keys DATE_MONTH
master snowflake-patch-1
DIFFERENCES
  Total rows 7 5 -28.6%
  Exclusive PKs 2 0
 2 column(s) with differing values
column number of rows
CNT_SUBSCRIBERS 5  100.0%
SUM_REVENUE 5  100.0%
View details →
 
Unchanged Attributes
Total columns 3
Schema changes 0
Common unique PKs 5
Rows with NULL PKs 0
Rows with duplicate PKs 0
 
 Modified upstream models   seed.demo.user__created
  seed.demo.org__created
  seed.demo.signed__in
  seed.demo.subscription__created
  model.demo.dim__orgs

DEMO.CORE.DIM__USERS
Primary keys USER_ID
master snowflake-patch-1
DIFFERENCES
  Total rows 1,212 799 -34.1%
  Exclusive PKs 413 0
View details →
 
Unchanged Attributes
Total columns 1
Schema changes 0
Common unique PKs 799
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   seed.demo.user__created

DEMO.CORE.SALES__SYNC
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
  Total rows 36 21 -41.7%
  Exclusive PKs 36 21
View details →
 
Unchanged Attributes
Total columns 2
Schema changes 0
Common unique PKs 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   seed.demo.feature__used
  seed.demo.user__created
  seed.demo.signed__in
  seed.demo.org__created
  seed.demo.subscription__created
  model.demo.dim__orgs

@diveart diveart added demo demo PR to show features and removed demo demo PR to show features labels Nov 11, 2024
Copy link

@datafold datafold bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View CI Run Details →

Base branch Pull Request branch
master (7334c0f) snowflake-patch-1 (7b958eb)
⚠️ Datafold could not compare your changes to the commit (59eb145) in the master/main branch that your current branch was created from. Instead, Datafold has used artifacts from the next available commit (7334c0f) from the master/main branch.To resolve this, please provide dbt artifacts for the commit 59eb145 using the datafold-sdk by [following these instructions](https://docs.datafold.com/integrations/orchestrators/custom_integrations/#submit-dbt-artifacts).
Tables modified: 1 (details)
  • Different: 1
DEMO.CORE.DIM__ORGS
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
 Columns with changed type/order: 1
column change
NUM_USERS NUMBER(18,0) → NUMBER(38,0)  
  Exclusive PKs 10 10
 3 column(s) with differing values
column number of rows
NUM_USERS 254  47.8%
SUB_PRICE 201  37.9%
SUB_PLAN 170  32.0%
View details →
 
Unchanged Attributes
Total rows 541
Total columns 6
Common unique PKs 531
Rows with NULL PKs 0
Rows with duplicate PKs 0

Downstream tables: 3 (details)
  • Different: 1
  • Identical: 2
DEMO.CORE.SALES__SYNC
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
  Total rows 26 11 -57.7%
  Exclusive PKs 15 0
View details →
 
Unchanged Attributes
Total columns 2
Schema changes 0
Common unique PKs 11
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

DEMO.CORE.FCT__YEARLY__FINANCIALS
Primary keys DATE_YEAR
View details →
 
Unchanged Attributes
Total rows 1
Total columns 3
Schema changes 0
Common unique PKs 1
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

DEMO.CORE.FCT__MONTHLY__FINANCIALS
Primary keys DATE_MONTH
View details →
 
Unchanged Attributes
Total rows 8
Total columns 3
Schema changes 0
Common unique PKs 8
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

Copy link

@datafold datafold bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View CI Run Details →

Base branch Pull Request branch
master (7334c0f) snowflake-patch-1 (b8ff87c)
⚠️ Datafold could not compare your changes to the commit (59eb145) in the master/main branch that your current branch was created from. Instead, Datafold has used artifacts from the next available commit (7334c0f) from the master/main branch.To resolve this, please provide dbt artifacts for the commit 59eb145 using the datafold-sdk by [following these instructions](https://docs.datafold.com/integrations/orchestrators/custom_integrations/#submit-dbt-artifacts).
Tables modified: 1 (details)
  • Different: 1
DEMO.CORE.DIM__ORGS
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
 Columns with changed type/order: 1
column change
NUM_USERS NUMBER(18,0) → NUMBER(38,0)  
  Exclusive PKs 10 10
 3 column(s) with differing values
column number of rows
NUM_USERS 254  47.8%
SUB_PRICE 201  37.9%
SUB_PLAN 170  32.0%
View details →
 
Unchanged Attributes
Total rows 541
Total columns 6
Common unique PKs 531
Rows with NULL PKs 0
Rows with duplicate PKs 0

Downstream tables: 3 (details)
  • Different: 1
  • Identical: 2
DEMO.CORE.SALES__SYNC
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
  Total rows 26 11 -57.7%
  Exclusive PKs 15 0
View details →
 
Unchanged Attributes
Total columns 2
Schema changes 0
Common unique PKs 11
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

DEMO.CORE.FCT__YEARLY__FINANCIALS
Primary keys DATE_YEAR
View details →
 
Unchanged Attributes
Total rows 1
Total columns 3
Schema changes 0
Common unique PKs 1
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

DEMO.CORE.FCT__MONTHLY__FINANCIALS
Primary keys DATE_MONTH
View details →
 
Unchanged Attributes
Total rows 8
Total columns 3
Schema changes 0
Common unique PKs 8
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

Copy link

@datafold datafold bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View CI Run Details →

Base branch Pull Request branch
master (7334c0f) snowflake-patch-1 (e3fa207)
Tables modified: 1 (details)
  • Different: 1
DEMO.CORE.DIM__ORGS
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
 Columns with changed type/order: 1
column change
NUM_USERS NUMBER(18,0) → NUMBER(38,0)  
  Exclusive PKs 10 10
 3 column(s) with differing values
column number of rows
NUM_USERS 254  47.8%
SUB_PRICE 201  37.9%
SUB_PLAN 170  32.0%
View details →
 
Unchanged Attributes
Total rows 541
Total columns 6
Common unique PKs 531
Rows with NULL PKs 0
Rows with duplicate PKs 0

Downstream tables: 3 (details)
  • Different: 1
  • Identical: 2
DEMO.CORE.SALES__SYNC
Primary keys ORG_ID
master snowflake-patch-1
DIFFERENCES
  Total rows 26 11 -57.7%
  Exclusive PKs 15 0
View details →
 
Unchanged Attributes
Total columns 2
Schema changes 0
Common unique PKs 11
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

DEMO.CORE.FCT__MONTHLY__FINANCIALS
Primary keys DATE_MONTH
View details →
 
Unchanged Attributes
Total rows 8
Total columns 3
Schema changes 0
Common unique PKs 8
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

DEMO.CORE.FCT__YEARLY__FINANCIALS
Primary keys DATE_YEAR
View details →
 
Unchanged Attributes
Total rows 1
Total columns 3
Schema changes 0
Common unique PKs 1
Added/removed rows 0
Rows with NULL PKs 0
Rows with duplicate PKs 0
Columns with different values 0
 
 Modified upstream models   model.demo.dim__orgs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants