Comments (2)
Also, wildcard db names or regex would be a killer feature. We have a lot of tables that end in _log. It would be nice to be able to indicate that all tables ending in _log could be ignored.
from condenser.
I agree it is redundant to also have to require the database name prefix on every table for MySQL. It is a byproduct of supporting PostgreSQL, where a database can contain multiple schemas, in which case each table would need to have the schema prefix as it can be different. However this isn't true for MySQL as schema and database are synonymous and you can only connect to one at a time.
The project could definitely be refactored to not have to specify the database/schema prefix for every table on MySQL, however we don't have the bandwidth to take on new features for this project currently, but do welcome contributions. If you want to make the change and submit a PR we would be happy to review and merge it.
Supporting wild card or regexes for table names would be interesting and possibly a bit more complicated. At least MySQL lets you add special characters to your table name, for example hello_.*
is a valid table name in MySQL. There would need to be a way to differentiate regex expressions from verbatim table names. Would welcome a PR to add support for it though.
from condenser.
Related Issues (20)
- SQL Server Source and Dest DB getting out of sync HOT 1
- Self referential tables are not supported HOT 1
- FastSubset is missing HOT 1
- PostgreSQL sequences need to be reset after subsetter is completed HOT 2
- Undocumented option HOT 1
- Ignore certain relations HOT 1
- Upstream tables that aren't ancestors of direct target table won't be included in the subset HOT 2
- Multiple foreign keys issue HOT 3
- Bundling as package? HOT 2
- Condenser hanging -- debugging options? HOT 1
- Measuring Loss of Data when cutting an edge to remove a cycle HOT 1
- subset_downstream generates incorrect SELECT queries if target table has multiple fk references HOT 3
- access denied on 'tonic_subset_temp_db_...' HOT 2
- Insert gives foreign key constraint error when correct dependency breaks are listed HOT 1
- ignore some columns on copy_rows HOT 1
- Writing subset to SQL file instead of to destination DB HOT 2
- Doesn't seem to work on ubuntu HOT 1
- Error when inserting into GENERATED ALWAYS AS IDENTITY columns (PostgreSQL) HOT 2
- Anonymization support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from condenser.