org.eigenbase.util
Class Bug

java.lang.Object
  extended by org.eigenbase.util.Bug

public abstract class Bug
extends Object

Holder for a list of constants describing which bugs which have not been fixed.

You can use these constants to control the flow of your code. For example, suppose that bug FNL-123 causes the "INSERT" statement to return an incorrect row-count, and you want to disable unit tests. You might use the constant in your code as follows:

Statement stmt = connection.createStatement();
 int rowCount = stmt.execute(
     "INSERT INTO FemaleEmps SELECT * FROM Emps WHERE gender = 'F'");
 if (Bug.Fnl123Fixed) {
    assertEquals(rowCount, 5);
 }

The usage of the constant is a convenient way to identify the impact of the bug. When someone fixes the bug, they will remove the constant and all usages of it. Also, the constant helps track the propagation of the fix: as the fix is integrated into other branches, the constant will be removed from those branches.

Since:
2006/3/2
Version:
$Id: //open/dev/farrago/src/org/eigenbase/util/Bug.java#38 $
Author:
jhyde

Field Summary
static boolean Dt1446Fixed
          Whether dtbug1446 "Window Rank Functions not fully implemented" is fixed.
static boolean Dt1684Fixed
          Whether dtbug1684 "CURRENT_DATE not implemented in fennel calc" is fixed.
static boolean Dt1847Fixed
          Whether dtbug1684 "Integration issues" is fixed.
static boolean Dt239Fixed
           
static boolean Dt561Fixed
          Window Rank functions are supported through the validator but not implenmented by calculator.
static boolean Dt591Fixed
           
static boolean Dt785Fixed
           
static boolean Fnl25Fixed
          Whether issue FNL-25 is fixed.
static boolean Fnl3Fixed
          Whether issue Fnl-3 is fixed.
static boolean Fnl54Fixed
          Whether issue FNL-54: cast time to timestamp should initialize date to current_date is fixed.
static boolean Fnl77Fixed
          Whether issue FNL-77: Fennel calc returns CURRENT_TIMESTAMP in UTC, should be local time is fixed.
static boolean Frg103Fixed
          Whether issue FRG-103: validator allows duplicate target columns in insert is fixed.
static boolean Frg140Fixed
          Whether issue FRG-140: validator does not accept column qualified by schema name is fixed.
static boolean Frg187Fixed
          Whether issue FRG-187: FarragoAutoVmOperatorTest.testOverlapsOperator fails is fixed.
static boolean Frg189Fixed
          Whether issue FRG-189: FarragoAutoVmOperatorTest.testSelect fails is fixed.
static boolean Frg254Fixed
          Whether issue FRG-254: environment-dependent failure for SqlOperatorTest.testPrefixPlusOperator is fixed.
static boolean Frg26Fixed
          Whether issue FRG-26 is fixed.
static boolean Frg282Fixed
          Whether issue FRG-282: Support precision in TIME and TIMESTAMP data types is fixed.
static boolean Frg283Fixed
          Whether issue FRG-283: Calc cannot cast VARBINARY values is fixed.
static boolean Frg296Fixed
          Whether issue FRG-296: SUBSTRING(string FROM regexp FOR regexp) is fixed.
static boolean Frg327Fixed
          Whether issue FRG-327: AssertionError while translating IN list that contains null is fixed.
static boolean Frg375Fixed
          Whether issue FRG-375: The expression VALUES ('cd' SIMILAR TO '[a-e^c]d') returns TRUE.
static boolean Frg377Fixed
          Whether issue FRG-377: Regular character set identifiers defined in SQL:2008 spec like :ALPHA:, * :UPPER:, :LOWER:, ...
static boolean Frg378Fixed
          Whether issue FRG-378: Regular expressions in SIMILAR TO predicates potentially dont match SQL:2008 spec in a few cases. is fixed.
static boolean Frg73Fixed
          Whether issue FRG-73: miscellaneous bugs with nested comments is fixed.
static boolean Frg78Fixed
          Whether issue FRG-78: collation clause should be on expression instead of identifier is fixed.
 
Constructor Summary
Bug()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Dt239Fixed

public static final boolean Dt239Fixed
See Also:
Constant Field Values

Dt561Fixed

public static final boolean Dt561Fixed
Window Rank functions are supported through the validator but not implenmented by calculator. Disable tests and modified SqlRankFunction to return "Unknown Function".

See Also:
Constant Field Values

Dt591Fixed

public static final boolean Dt591Fixed
See Also:
Constant Field Values

Dt785Fixed

public static final boolean Dt785Fixed
See Also:
Constant Field Values

Dt1446Fixed

public static final boolean Dt1446Fixed
Whether dtbug1446 "Window Rank Functions not fully implemented" is fixed.

See Also:
Constant Field Values

Fnl3Fixed

public static final boolean Fnl3Fixed
Whether issue Fnl-3 is fixed.

See Also:
Constant Field Values

Fnl77Fixed

public static final boolean Fnl77Fixed
Whether issue FNL-77: Fennel calc returns CURRENT_TIMESTAMP in UTC, should be local time is fixed.

See Also:
Constant Field Values

Frg327Fixed

public static final boolean Frg327Fixed
Whether issue FRG-327: AssertionError while translating IN list that contains null is fixed.

See Also:
Constant Field Values

Frg377Fixed

public static final boolean Frg377Fixed
Whether issue FRG-377: Regular character set identifiers defined in SQL:2008 spec like :ALPHA:, * :UPPER:, :LOWER:, ... etc. are not yet implemented in SIMILAR TO expressions. is fixed.

See Also:
Constant Field Values

Dt1684Fixed

public static final boolean Dt1684Fixed
Whether dtbug1684 "CURRENT_DATE not implemented in fennel calc" is fixed.

See Also:
Constant Field Values

Dt1847Fixed

public static final boolean Dt1847Fixed
Whether dtbug1684 "Integration issues" is fixed.

See Also:
Constant Field Values

Fnl25Fixed

public static final boolean Fnl25Fixed
Whether issue FNL-25 is fixed. (also filed as dtbug 153)

See Also:
Constant Field Values

Fnl54Fixed

public static final boolean Fnl54Fixed
Whether issue FNL-54: cast time to timestamp should initialize date to current_date is fixed.

See Also:
Constant Field Values

Frg26Fixed

public static final boolean Frg26Fixed
Whether issue FRG-26 is fixed.

See Also:
Constant Field Values

Frg73Fixed

public static final boolean Frg73Fixed
Whether issue FRG-73: miscellaneous bugs with nested comments is fixed.

See Also:
Constant Field Values

Frg78Fixed

public static final boolean Frg78Fixed
Whether issue FRG-78: collation clause should be on expression instead of identifier is fixed.

See Also:
Constant Field Values

Frg103Fixed

public static final boolean Frg103Fixed
Whether issue FRG-103: validator allows duplicate target columns in insert is fixed.

See Also:
Constant Field Values

Frg140Fixed

public static final boolean Frg140Fixed
Whether issue FRG-140: validator does not accept column qualified by schema name is fixed.

See Also:
Constant Field Values

Frg187Fixed

public static final boolean Frg187Fixed
Whether issue FRG-187: FarragoAutoVmOperatorTest.testOverlapsOperator fails is fixed.

See Also:
Constant Field Values

Frg189Fixed

public static final boolean Frg189Fixed
Whether issue FRG-189: FarragoAutoVmOperatorTest.testSelect fails is fixed.

See Also:
Constant Field Values

Frg254Fixed

public static final boolean Frg254Fixed
Whether issue FRG-254: environment-dependent failure for SqlOperatorTest.testPrefixPlusOperator is fixed.

See Also:
Constant Field Values

Frg282Fixed

public static final boolean Frg282Fixed
Whether issue FRG-282: Support precision in TIME and TIMESTAMP data types is fixed.

See Also:
Constant Field Values

Frg283Fixed

public static final boolean Frg283Fixed
Whether issue FRG-283: Calc cannot cast VARBINARY values is fixed.

See Also:
Constant Field Values

Frg296Fixed

public static final boolean Frg296Fixed
Whether issue FRG-296: SUBSTRING(string FROM regexp FOR regexp) is fixed.

See Also:
Constant Field Values

Frg375Fixed

public static final boolean Frg375Fixed
Whether issue FRG-375: The expression VALUES ('cd' SIMILAR TO '[a-e^c]d') returns TRUE. It should return FALSE. is fixed.

See Also:
Constant Field Values

Frg378Fixed

public static final boolean Frg378Fixed
Whether issue FRG-378: Regular expressions in SIMILAR TO predicates potentially dont match SQL:2008 spec in a few cases. is fixed.

See Also:
Constant Field Values
Constructor Detail

Bug

public Bug()