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
randgen: use hidden rowid column in columnFamilyMutator
This commit extends the column family mutator to work in the special
(but somewhat common) case when the table has a single column that is
not the primary key. When the user doesn't specify a primary key,
CREATE TABLE adds a hidden 'rowid' column to use as the primary key.
We now use this column in addition to the explicitly defined column to
exercise randomized column families. In particular, this would have
caught the CIText bug with multiple column families from a couple weeks
ago.
Additionally, this commit extends the logic test framework to support
`statement disable-cf-mutator ok` variant which disables the CF mutator
if applicable (it's applied only to CREATE TABLE stmts). Previously, the
only way to disable the mutator was to explicitly include column family
definitions, and `disable-cf-mutator` seems nicer.
This new option is used in many places to make the output of SHOW CREATE
TABLE deterministic. An attempt is made to minimize the test churn while
also disabling the CF mutator in reduced scopes.
Release note: None
0 commit comments