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

Wrong method name for registering custom types

    XMLWordPrintableJSON

Details

    Description

      The documentation about the data types for the Batch Python API is outdated. 

       

      env.register_custom_type(MyObj, MySerializer(), MyDeserializer())
      

      should be :

      env.register_type(MyObj, MySerializer(), MyDeserializer())

      Attachments

        Issue Links

          Activity

            People

              romanovacca romano vacca
              romanovacca romano vacca
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m