Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3729

Several SQL tests fail on Windows OS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.1.0
    • Table SQL / API
    • None

    Description

      The Table API SqlExplain(Test/ITCase) fail categorically on Windows due to different line-endings. These tests generate an string representation of an abstract syntax tree; problem is there is a difference in line-endings.

      The expected ones contain LF, the actual one CRLF.

      The tests should be either changed to either

      • include CRLF line-endings in the expected string when run on windows
      • always use LF line-endings regardless of OS
      • use a compare method that is aware of this issue.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: