{"action":"closed","issue":{"url":"https://api.github.com/repos/IBMStreams/streamsx.topology/issues/212","labels_url":"https://api.github.com/repos/IBMStreams/streamsx.topology/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/IBMStreams/streamsx.topology/issues/212/comments","events_url":"https://api.github.com/repos/IBMStreams/streamsx.topology/issues/212/events","html_url":"https://github.com/IBMStreams/streamsx.topology/issues/212","id":106781225,"number":212,"title":"multiple key() on a single stream doesn't work?","user":{"login":"dlaboss","id":12643590,"avatar_url":"https://avatars.githubusercontent.com/u/12643590?v=3","gravatar_id":"","url":"https://api.github.com/users/dlaboss","html_url":"https://github.com/dlaboss","followers_url":"https://api.github.com/users/dlaboss/followers","following_url":"https://api.github.com/users/dlaboss/following{/other_user}","gists_url":"https://api.github.com/users/dlaboss/gists{/gist_id}","starred_url":"https://api.github.com/users/dlaboss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlaboss/subscriptions","organizations_url":"https://api.github.com/users/dlaboss/orgs","repos_url":"https://api.github.com/users/dlaboss/repos","events_url":"https://api.github.com/users/dlaboss/events{/privacy}","received_events_url":"https://api.github.com/users/dlaboss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IBMStreams/streamsx.topology/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ddebrunner","id":3769612,"avatar_url":"https://avatars.githubusercontent.com/u/3769612?v=3","gravatar_id":"","url":"https://api.github.com/users/ddebrunner","html_url":"https://github.com/ddebrunner","followers_url":"https://api.github.com/users/ddebrunner/followers","following_url":"https://api.github.com/users/ddebrunner/following{/other_user}","gists_url":"https://api.github.com/users/ddebrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/ddebrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddebrunner/subscriptions","organizations_url":"https://api.github.com/users/ddebrunner/orgs","repos_url":"https://api.github.com/users/ddebrunner/repos","events_url":"https://api.github.com/users/ddebrunner/events{/privacy}","received_events_url":"https://api.github.com/users/ddebrunner/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/IBMStreams/streamsx.topology/milestones/4","html_url":"https://github.com/IBMStreams/streamsx.topology/milestones/Alouette","labels_url":"https://api.github.com/repos/IBMStreams/streamsx.topology/milestones/4/labels","id":1310918,"number":4,"title":"Alouette","description":"","creator":{"login":"ddebrunner","id":3769612,"avatar_url":"https://avatars.githubusercontent.com/u/3769612?v=3","gravatar_id":"","url":"https://api.github.com/users/ddebrunner","html_url":"https://github.com/ddebrunner","followers_url":"https://api.github.com/users/ddebrunner/followers","following_url":"https://api.github.com/users/ddebrunner/following{/other_user}","gists_url":"https://api.github.com/users/ddebrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/ddebrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddebrunner/subscriptions","organizations_url":"https://api.github.com/users/ddebrunner/orgs","repos_url":"https://api.github.com/users/ddebrunner/repos","events_url":"https://api.github.com/users/ddebrunner/events{/privacy}","received_events_url":"https://api.github.com/users/ddebrunner/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":3,"state":"open","created_at":"2015-09-17T17:27:05Z","updated_at":"2015-09-25T18:10:41Z","due_on":"2015-09-29T07:00:00Z","closed_at":null},"comments":5,"created_at":"2015-09-16T14:07:58Z","updated_at":"2015-09-25T18:10:41Z","closed_at":"2015-09-25T18:10:41Z","body":"In the following example, keyd has the correct num of tuples (5) and keydD gets 0.\r\nThe function isn't (shouldn't be) important here, it's a no-op: `apply(v) just returns v`\r\n```\r\n        TStream<Integer> keyd = s.key(functionFn(someInt, 1));\r\n        TStream<Integer> keydD = s.key(functionFn(someIntD, 2));\r\n        // but this is OK:\r\n        // TStream<Integer> keydD = s.filter(new AllowAll<Integer>()).key(functionFn(someIntD, 2));\r\n```"}}