Skip to content

Conversation

IlyaTsoi
Copy link
Contributor

  1. In the current logic the getVersionColumnForReplacingMergeTree() returns only version_column from a replicated table definition (here versionColumn = parameterArray[2].trim();), but a is_deleted column migth be there too.

  2. It's unnecessary to have separate if clauses for replicated and nonreplicated tables, we can union them.

…eturns only version_column from a replicated table definition (here `versionColumn = parameterArray[2].trim();`), but a is_deleted column migth be there too.

2. It's unnecessary to have separate if clauses for replicated and nonreplicated tables, we can union them.
@subkanthi
Copy link
Collaborator

Please check DBMetadataTest and add your new SQL that you are trying to fix.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants