Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4075

Mock table 'EMPNULLABLES' should allow nulls in all non-pk columns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.24.0
    • core
    • None

    Description

      Currently Mock table 'EMPNULLABLES' allows nulls in almost every column. It does not allow nulls in the primary key which is expected and the column 'ENAME' that is unexpected.

      I realized that 'ENAME' column was declared as not nullable after debugging for quite some time a test where I was wrongly assuming that all columns of the table were nullable.

      To avoid this kind of confusion in the future I propose to make 'ENAME' also nullable. The impact on existing tests is minimal.

      Attachments

        Activity

          People

            zabetak Stamatis Zampetakis
            zabetak Stamatis Zampetakis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m