Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-821

Fix the wrong annotation of JCommander IStringConverter

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Please refer to https://github.com/cbeust/jcommander/issues/253.
      If you define a list as argument to be parsed with an IStringConverter, JCommander will create a List<List<String>> instead of a List<String>.

      we should change `converter = TransformersConverter.class` to `converter = StringConverter.class, listConverter = TransformersConverter.class`.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dengziming Deng Ziming
            dengziming Deng Ziming
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment