[
https://issues.apache.org/jira/browse/FLINK-19065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-19065:
-----------------------------------
Labels: auto-deprioritized-major stale-minor (was:
auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> java.lang.IllegalStateException: Auto generated UIDs have been disabled on
> join
> -------------------------------------------------------------------------------
>
> Key: FLINK-19065
> URL: https://issues.apache.org/jira/browse/FLINK-19065
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Affects Versions: 1.11.0, 1.11.1
> Reporter: Maris
> Priority: Minor
> Labels: auto-deprioritized-major, stale-minor
>
> Join operation with AutoGeneratedUID disabled leads to
> {code:java}
> java.lang.IllegalStateException: Auto generated UIDs have been disabled but
> no UID or hash has been assigned to operator Map
> {code}
> code to reproduce
> {code:java}
> class JoinSpec extends AnyFlatSpec with Matchers with Serializable {
> it should "be able to join streams" in {
> val env = StreamExecutionEnvironment.getExecutionEnvironment
> env.getConfig.disableAutoGeneratedUIDs()
> val a = env.fromCollection(List("1", "2",
> "3")).name("a").uid("source-uid")
> val b = env.fromCollection(List("1", "2",
> "3")).name("b").uid("source-uid2")
> val c = a
> .join(b)
> .where(identity)
> .equalTo(identity)
> .window(TumblingProcessingTimeWindows.of(Time.seconds(30)))((a, b) =>
> a+b)
> .uid("joined").name("joined")
> c.addSink(s => println(s))
> .name("ab")
> .uid("ab")
> println(env.getExecutionPlan)
> env.execute
> succeed
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)