You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
titan_test_db = Database(
name="TITAN_TEST_DB",
comment="This is a database used for testing of titan[core].",
transient=True,
owner="SYSADMIN",
data_retention_time_in_days=None,
max_data_extension_time_in_days=None,
)
results in
snowflake.connector.errors.ProgrammingError: 001003: failed to execute sql, [CREATE DATABASE TITAN_TEST_DB TRANSIENT COMMENT = $$This is a database used for testing of titan[core].$$]
The correct syntax is: CREATE TRANSIENT DATABASE TITAN_TEST_DB COMMENT = $$This is a database used for testing of titan[core].$$;
The text was updated successfully, but these errors were encountered:
aleenprd
changed the title
BUG: wrong order or keywords on creating transient database
BUG: wrong order of keywords on creating transient database
Aug 26, 2024
Same thing for schemas snowflake.connector.errors.ProgrammingError: 001003: failed to execute sql, [CREATE SCHEMA TITAN_TEST_DB.TITAN_TEST_SCHEMA TRANSIENT COMMENT = $$This is a schema used for testing purposes of titan[core].$$]
results in
snowflake.connector.errors.ProgrammingError: 001003: failed to execute sql, [CREATE DATABASE TITAN_TEST_DB TRANSIENT COMMENT = $$This is a database used for testing of titan[core].$$]
The correct syntax is:
CREATE TRANSIENT DATABASE TITAN_TEST_DB COMMENT = $$This is a database used for testing of titan[core].$$;
The text was updated successfully, but these errors were encountered: