-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
PRs (with tests!) welcomea fix or feature which is appropriate to be implemented by volunteersa fix or feature which is appropriate to be implemented by volunteersSQL ServerMicrosoft SQL Server, e.g. mssqlMicrosoft SQL Server, e.g. mssqldialectsgeneral dialect tag. useful for unsupported dbs or deprecations. not needed for specific dbs.general dialect tag. useful for unsupported dbs or deprecations. not needed for specific dbs.fairly easymaybe a little more involved than "easy' but still doable for motivated newcomersmaybe a little more involved than "easy' but still doable for motivated newcomersuse casenot really a feature or a bug; can be support for new DB features or user use cases not anticipatednot really a feature or a bug; can be support for new DB features or user use cases not anticipated
Milestone
Description
Discussed in #7333
Originally posted by MarcusJellinghaus November 16, 2021
Hello,
I have this code to create a new table based on the structure of an existing table.
source_engine = driver_connection.create_sqlserver_engine(source_server, source_database)
engine_new = driver_connection.create_sqlserver_engine(new_server, new_database)
import sqlalchemy
smeta = sqlalchemy.MetaData(bind=source_engine)
table = sqlalchemy.Table(source_table_name, smeta, schema=source_schema_name, autoload=True)
table.metadata.create_all(engine_new)
I'm using the latest SQL Server (2019) and the table is based on columnstore,
The creation of the table does not work well. The creation of the columnstore index fails.
Is this expected to be supported? Did I overlook something? Or shall I prepare python and SQL scripts to report this as an issue?
Metadata
Metadata
Assignees
Labels
PRs (with tests!) welcomea fix or feature which is appropriate to be implemented by volunteersa fix or feature which is appropriate to be implemented by volunteersSQL ServerMicrosoft SQL Server, e.g. mssqlMicrosoft SQL Server, e.g. mssqldialectsgeneral dialect tag. useful for unsupported dbs or deprecations. not needed for specific dbs.general dialect tag. useful for unsupported dbs or deprecations. not needed for specific dbs.fairly easymaybe a little more involved than "easy' but still doable for motivated newcomersmaybe a little more involved than "easy' but still doable for motivated newcomersuse casenot really a feature or a bug; can be support for new DB features or user use cases not anticipatednot really a feature or a bug; can be support for new DB features or user use cases not anticipated