Skip to content

Commit 729f0f0

Browse files
IsaacWarrenhadia206
authored andcommitted
Update list of Snowflake views with new entries (#418)
1 parent f562c3f commit 729f0f0

File tree

1 file changed

+30
-12
lines changed

1 file changed

+30
-12
lines changed

BodoSQL/bodosql/tests/test_types/test_snowflake_catalog_ddl.py

+30-12
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@ def _show_views_snowflake_sample_data_output(terse=True):
17891789
if terse:
17901790
return pd.DataFrame(
17911791
{
1792-
"CREATED_ON": ["1969-12-31 16:00:00.000 -0800"] * 41,
1792+
"CREATED_ON": ["1969-12-31 16:00:00.000 -0800"] * 47,
17931793
"NAME": [
17941794
"APPLICABLE_ROLES",
17951795
"CLASSES",
@@ -1822,6 +1822,12 @@ def _show_views_snowflake_sample_data_output(terse=True):
18221822
"REPLICATION_DATABASES",
18231823
"REPLICATION_GROUPS",
18241824
"SCHEMATA",
1825+
"SEMANTIC_DIMENSIONS",
1826+
"SEMANTIC_FACTS",
1827+
"SEMANTIC_METRICS",
1828+
"SEMANTIC_RELATIONSHIPS",
1829+
"SEMANTIC_TABLES",
1830+
"SEMANTIC_VIEWS",
18251831
"SEQUENCES",
18261832
"SERVICES",
18271833
"STAGES",
@@ -1833,14 +1839,14 @@ def _show_views_snowflake_sample_data_output(terse=True):
18331839
"USAGE_PRIVILEGES",
18341840
"VIEWS",
18351841
],
1836-
"SCHEMA_NAME": ["SNOWFLAKE_SAMPLE_DATA.INFORMATION_SCHEMA"] * 41,
1837-
"KIND": ["VIEW"] * 41,
1842+
"SCHEMA_NAME": ["SNOWFLAKE_SAMPLE_DATA.INFORMATION_SCHEMA"] * 47,
1843+
"KIND": ["VIEW"] * 47,
18381844
}
18391845
)
18401846
else:
18411847
return pd.DataFrame(
18421848
{
1843-
"CREATED_ON": ["1969-12-31 16:00:00.000 -0800"] * 41,
1849+
"CREATED_ON": ["1969-12-31 16:00:00.000 -0800"] * 47,
18441850
"NAME": [
18451851
"APPLICABLE_ROLES",
18461852
"CLASSES",
@@ -1873,6 +1879,12 @@ def _show_views_snowflake_sample_data_output(terse=True):
18731879
"REPLICATION_DATABASES",
18741880
"REPLICATION_GROUPS",
18751881
"SCHEMATA",
1882+
"SEMANTIC_DIMENSIONS",
1883+
"SEMANTIC_FACTS",
1884+
"SEMANTIC_METRICS",
1885+
"SEMANTIC_RELATIONSHIPS",
1886+
"SEMANTIC_TABLES",
1887+
"SEMANTIC_VIEWS",
18761888
"SEQUENCES",
18771889
"SERVICES",
18781890
"STAGES",
@@ -1884,8 +1896,8 @@ def _show_views_snowflake_sample_data_output(terse=True):
18841896
"USAGE_PRIVILEGES",
18851897
"VIEWS",
18861898
],
1887-
"RESERVED": [""] * 41,
1888-
"SCHEMA_NAME": ["SNOWFLAKE_SAMPLE_DATA.INFORMATION_SCHEMA"] * 41,
1899+
"RESERVED": [""] * 47,
1900+
"SCHEMA_NAME": ["SNOWFLAKE_SAMPLE_DATA.INFORMATION_SCHEMA"] * 47,
18891901
"COMMENT": [
18901902
"The roles that can be applied to the current user.",
18911903
"The BUNDLE CLASS that the current user has privileges to view.",
@@ -1918,6 +1930,12 @@ def _show_views_snowflake_sample_data_output(terse=True):
19181930
"The databases for replication that are accessible to the current user's role.",
19191931
"The replication groups that are accessible to the current user's role.",
19201932
"The schemas defined in this database that are accessible to the current user's role.",
1933+
"The dimensions of Semantic Views defined in this database that are accessible to the current user's role.",
1934+
"The facts of Semantic Views defined in this database that are accessible to the current user's role.",
1935+
"The metrics of Semantic Views defined in this database that are accessible to the current user's role.",
1936+
"The relationships of Semantic Views defined in this database that are accessible to the current user's role.",
1937+
"The tables of Semantic Views defined in this database that are accessible to the current user's role.",
1938+
"The Semantic Views defined in this database that are accessible to the current user's role.",
19211939
"The sequences defined in this database that are accessible to the current user's role.",
19221940
"The services in this database that are accessible to the current user's role.",
19231941
"Stages in this database that are accessible by the current user's role",
@@ -1929,12 +1947,12 @@ def _show_views_snowflake_sample_data_output(terse=True):
19291947
"The usage privileges on sequences defined in this database that are accessible to the current user's role.",
19301948
"The views defined in this database that are accessible to the current user's role.",
19311949
],
1932-
"OWNER": [""] * 41,
1933-
"TEXT": [""] * 41,
1934-
"IS_SECURE": ["false"] * 41,
1935-
"IS_MATERIALIZED": ["false"] * 41,
1936-
"OWNER_ROLE_TYPE": [""] * 41,
1937-
"CHANGE_TRACKING": ["OFF"] * 41,
1950+
"OWNER": [""] * 47,
1951+
"TEXT": [""] * 47,
1952+
"IS_SECURE": ["false"] * 47,
1953+
"IS_MATERIALIZED": ["false"] * 47,
1954+
"OWNER_ROLE_TYPE": [""] * 47,
1955+
"CHANGE_TRACKING": ["OFF"] * 47,
19381956
}
19391957
)
19401958

0 commit comments

Comments
 (0)