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

Unit test failure when JVM default charset is not UTF-8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • avatica-1.8.0
    • avatica
    • None

    Description

      The changes done in CALCITE-1103 (potentially along with the new test for unicode column names in CALCITE-835) was causing failures on some ASF jenkins hosts.

      In TypedValue, when serializing a String in a the Protobuf variant of TypedValue, the resulting bytes were platform dependent, instead of always specifying UTF-8. Protobuf requires UTF-8 bytes for the method we were invoking, and, thus, threw an exception.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: