← Back to team overview

randgen team mailing list archive

[Bug 890694] [NEW] Simplification may need to preserve record length

 

Public bug reported:

For a certain small class of optimizer bugs, simplification that removes
all unnecessary columns produces an non-repeatable test case. The reason
is that the total record length decreases, making full table scans more
likely.

Therefore, simplification should try to either remove all columns, or
replace them with a single CHAR() column whose length is equal to the
sum of the length of the removed columns.

** Affects: randgen
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Random
Query Generator Team, which is subscribed to Random Query Generator.
https://bugs.launchpad.net/bugs/890694

Title:
  Simplification may need to preserve record length

Status in SQL Generator for testing SQL servers (MySQL, JavaDB, PostgreSQL):
  New

Bug description:
  For a certain small class of optimizer bugs, simplification that
  removes all unnecessary columns produces an non-repeatable test case.
  The reason is that the total record length decreases, making full
  table scans more likely.

  Therefore, simplification should try to either remove all columns, or
  replace them with a single CHAR() column whose length is equal to the
  sum of the length of the removed columns.

To manage notifications about this bug go to:
https://bugs.launchpad.net/randgen/+bug/890694/+subscriptions


Follow ups

References