Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32726 [Umbrella] Test Flink Release 1.18
  3. FLINK-32906

Release Testing: Verify FLIP-279 Unified the max display column width for SqlClient and Table APi in both Streaming and Batch execMode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.18.0
    • Tests
    • None

    Description

      more info could be found at 

      FLIP-279 https://cwiki.apache.org/confluence/display/FLINK/FLIP-279+Unified+the+max+display+column+width+for+SqlClient+and+Table+APi+in+both+Streaming+and+Batch+execMode

       

      Tests:

      Both configs could be set with new value and following behaviours are expected : 

          sql-client.display.max-column-width, default value is 30 table.display.max-column-width, default value is 30
      sqlclient Streaming text longer than the value will be truncated and replaced with “...” Text longer than the value will be truncated and replaced with “...”
      sqlclient Batch text longer than the value will be truncated and replaced with “...” Text longer than the value will be truncated and replaced with “...”
      Table API Streaming No effect. 
      table.display.max-column-width with the default value 30 will be used
      Text longer than the value will be truncated and replaced with “...”
      Table API Batch No effect. 
      table.display.max-column-width with the default value 30 will be used
      Text longer than the value will be truncated and replaced with “...”

       

      Please pay attention that this task offers a backward compatible solution and deprecated sql-client.display.max-column-width, which means once sql-client.display.max-column-width is used, it falls into the old scenario where table.display.max-column-width didn't exist, any changes of table.display.max-column-width won't take effect. You should test it either by only using table.display.max-column-width or by using sql-client.display.max-column-width, but not both of them back and forth.

       

      Attachments

        1. image-2023-08-30-17-09-32-728.png
          35 kB
          Yubin Li
        2. screenshot-1.png
          33 kB
          Yubin Li
        3. image-2023-08-23-10-41-42-513.png
          12 kB
          Yubin Li
        4. image-2023-08-23-10-41-30-913.png
          33 kB
          Yubin Li
        5. image-2023-08-23-10-39-26-602.png
          33 kB
          Yubin Li
        6. image-2023-08-23-10-39-10-225.png
          11 kB
          Yubin Li
        7. image-2023-08-22-19-06-49-335.png
          9 kB
          Yubin Li
        8. image-2023-08-22-19-04-49-344.png
          8 kB
          Yubin Li
        9. image-2023-08-22-18-58-20-509.png
          11 kB
          Yubin Li
        10. image-2023-08-22-18-58-11-241.png
          8 kB
          Yubin Li
        11. image-2023-08-22-18-54-57-699.png
          12 kB
          Yubin Li
        12. image-2023-08-22-18-54-45-122.png
          44 kB
          Yubin Li

        Issue Links

          Activity

            People

              liyubin117 Yubin Li
              jingge Jing Ge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: