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

StreamEdges are not unique in self-union, which blocks propagation of watermarks

    XMLWordPrintableJSON

Details

    Description

      It seems fromValues that generates multiple rows does not emit any watermarks:

              StreamTableEnvironment tEnv = StreamTableEnvironment.create(env);
      
              Table inputTable =
                      tEnv.fromValues(
                              DataTypes.ROW(
                                      DataTypes.FIELD("weight", DataTypes.DOUBLE()),
                                      DataTypes.FIELD("f0", DataTypes.STRING()),
                                      DataTypes.FIELD("f1", DataTypes.DOUBLE()),
                                      DataTypes.FIELD("f2", DataTypes.DOUBLE()),
                                      DataTypes.FIELD("f3", DataTypes.DOUBLE()),
                                      DataTypes.FIELD("f4", DataTypes.INT()),
                                      DataTypes.FIELD("label", DataTypes.STRING())),
                              Row.of(1., "a", 1., 1., 1., 2, "l1"),
                              Row.of(1., "a", 1., 1., 1., 2, "l1"));
      
              DataStream<Row> input = tEnv.toDataStream(inputTable);
      

      fromValues(1, 2, 3) or fromValues with only 1 row works correctly.

      Attachments

        Issue Links

          Activity

            People

              pnowojski Piotr Nowojski
              twalthr Timo Walther
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: