Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16538

[Java] Refactor FakeResultSet to support arbitrary tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.0.0
    • 9.0.0
    • Java

    Description

      The existing FakeResultSet used in tests of the JDBC adapter is challenging to use to build arbitrary ResultSets - such as would be useful in dealing with issues like ARROW-16427.  Converting this to a more generic utility to build mock ResultSets would enable testing of JDBC vendor-specific behavior that is discovered, without actually referencing those drivers within test code.  Finally, it would be useful to more such a utility to a general class, leaving just the test code in the existing test class.

      Attachments

        Issue Links

          Activity

            People

              toddfarmer Todd Farmer
              toddfarmer Todd Farmer
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1.5h
                  1.5h