We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When constructing a TableDiff between the following tables with CompareFlags.show_unchanged_columns set to true:
TableDiff
CompareFlags.show_unchanged_columns
true
Key,Name Test1, AABBCC Test2, DDEEFF
Key,Name2 Test1, AABBCC Test2, DDEEFF
The TableDiff.col_renames property is set to 0 even though the resulting diff correctly shows the Name column being renamed to Name2.
TableDiff.col_renames
Name
Name2
I think this code is responsible for the issue:
if (!isEqual(v,pp,bb)) { have_schema = true; act = "("; act += v.toString(pp); act += ")"; if (active_column!=null) { active_column[j] = 1; col_renames++; } }
I don't understand why col_renames++ would only be performed when active_column!=null. Shouldn't this always be peformed?
col_renames++
active_column!=null
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When constructing a
TableDiff
between the following tables withCompareFlags.show_unchanged_columns
set totrue
:The
TableDiff.col_renames
property is set to 0 even though the resulting diff correctly shows theName
column being renamed toName2
.I think this code is responsible for the issue:
I don't understand why
col_renames++
would only be performed whenactive_column!=null
. Shouldn't this always be peformed?The text was updated successfully, but these errors were encountered: