Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0
    • API / DataSet
    • None

    Description

      In the DataStream API a ClassTag is not required, which allows to pass TypeInformation manually if required. In the DataSet API most methods look like:

      // DataSet API
      def fromElements[T: ClassTag : TypeInformation](data: T*): DataSet[T]
      // DataStream API
      def fromElements[T: TypeInformation](data: T*): DataStream[T]
      

      I would propose to remove the ClassTag, if possible. This would make it easier e.g. to supply TypeInformation for the Row type. Or is there an easier way in Scala that I don't know?

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            twalthr Timo Walther

            Dates

              Created:
              Updated:

              Slack

                Issue deployment