{"action":"created","comment":{"url":"https://api.github.com/repos/apache/flink/pulls/comments/23954389","id":23954389,"diff_hunk":"@@ -0,0 +1,48 @@\n+/**\n+ * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE\n+ * file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file\n+ * to you under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the\n+ * License. You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on\n+ * an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the\n+ * specific language governing permissions and limitations under the License.\n+ */\n+package org.apache.flink.languagebinding.api.java.common;\n+\n+/**\n+ * Container for all generic information related to operations. This class contains the absolute minimum fields that are\n+ * required for all operations. This class should be extended to contain any additional fields required on a\n+ * per-language basis.\n+ */\n+public abstract class OperationInfo {\n+\tpublic int parentID; //DataSet that an operation is applied on\n+\tpublic int otherID; //secondary DataSet\n+\tpublic int setID; //ID for new DataSet\n+\tpublic int[] keys1; //grouping keys\n+\tpublic int[] keys2; //grouping keys\n+\tpublic int[] projectionKeys1; //projection keys\n+\tpublic int[] projectionKeys2; //projection keys\n+\tpublic Object types; //an object that is of the same type as the output type","path":"flink-addons/flink-language-binding/src/main/java/org/apache/flink/languagebinding/api/java/common/OperationInfo.java","position":28,"original_position":28,"commit_id":"9d16d8b74669627873e85a6867a8160f4d2f3c7c","original_commit_id":"9d16d8b74669627873e85a6867a8160f4d2f3c7c","user":{"login":"zentol","id":5725237,"avatar_url":"https://avatars.githubusercontent.com/u/5725237?v=3","gravatar_id":"","url":"https://api.github.com/users/zentol","html_url":"https://github.com/zentol","followers_url":"https://api.github.com/users/zentol/followers","following_url":"https://api.github.com/users/zentol/following{/other_user}","gists_url":"https://api.github.com/users/zentol/gists{/gist_id}","starred_url":"https://api.github.com/users/zentol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zentol/subscriptions","organizations_url":"https://api.github.com/users/zentol/orgs","repos_url":"https://api.github.com/users/zentol/repos","events_url":"https://api.github.com/users/zentol/events{/privacy}","received_events_url":"https://api.github.com/users/zentol/received_events","type":"User","site_admin":false},"body":"yes that would be nicer, but last time i tried that i got NotSerializableException due to the TypeInformation.","created_at":"2015-02-02T20:14:47Z","updated_at":"2015-02-02T20:14:47Z","html_url":"https://github.com/apache/flink/pull/202#discussion_r23954389","pull_request_url":"https://api.github.com/repos/apache/flink/pulls/202","_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/23954389"},"html":{"href":"https://github.com/apache/flink/pull/202#discussion_r23954389"},"pull_request":{"href":"https://api.github.com/repos/apache/flink/pulls/202"}}},"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/202","id":24444843,"html_url":"https://github.com/apache/flink/pull/202","diff_url":"https://github.com/apache/flink/pull/202.diff","patch_url":"https://github.com/apache/flink/pull/202.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/202","number":202,"state":"open","locked":false,"title":"[FLINK-377] [FLINK-671] Generic Interface / PAPI","user":{"login":"zentol","id":5725237,"avatar_url":"https://avatars.githubusercontent.com/u/5725237?v=3","gravatar_id":"","url":"https://api.github.com/users/zentol","html_url":"https://github.com/zentol","followers_url":"https://api.github.com/users/zentol/followers","following_url":"https://api.github.com/users/zentol/following{/other_user}","gists_url":"https://api.github.com/users/zentol/gists{/gist_id}","starred_url":"https://api.github.com/users/zentol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zentol/subscriptions","organizations_url":"https://api.github.com/users/zentol/orgs","repos_url":"https://api.github.com/users/zentol/repos","events_url":"https://api.github.com/users/zentol/events{/privacy}","received_events_url":"https://api.github.com/users/zentol/received_events","type":"User","site_admin":false},"body":"This PR contains the new Generic Language Interface and the Python API built on top of it.\r\n\r\nThis version hasn't been tested yet on a cluster, this will be done over the weekend. I'm making the PR already so that the reviewing portion starts earlier. (since only minor changes will be necessary to make it work)\r\n\r\nI will mark several parts where i specifically would like some input on.\r\n\r\nRelevant issues:\r\nIdeally, [FLINK-1040] will be merged before this is one, as it removes roughly 600 lines of very much hated code in the PlanBinder.\r\n\r\nA while ago the distributed cache was acting up, not maintaining files across subsequent operations. I will verify whether this issue still exists while testing. That would not strictly be a blocking issue, as it stands i could work around that (with the caveat that a few files will remain in the tmp folder).","created_at":"2014-11-14T14:34:07Z","updated_at":"2015-02-02T20:14:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ea9161350defc490cfc0e769c5c88aef4b27fd1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/202/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/202/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments/{number}","comments_url":"https://api.github.com/repos/apache/flink/issues/202/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/9d16d8b74669627873e85a6867a8160f4d2f3c7c","head":{"label":"zentol:papipr","ref":"papipr","sha":"9d16d8b74669627873e85a6867a8160f4d2f3c7c","user":{"login":"zentol","id":5725237,"avatar_url":"https://avatars.githubusercontent.com/u/5725237?v=3","gravatar_id":"","url":"https://api.github.com/users/zentol","html_url":"https://github.com/zentol","followers_url":"https://api.github.com/users/zentol/followers","following_url":"https://api.github.com/users/zentol/following{/other_user}","gists_url":"https://api.github.com/users/zentol/gists{/gist_id}","starred_url":"https://api.github.com/users/zentol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zentol/subscriptions","organizations_url":"https://api.github.com/users/zentol/orgs","repos_url":"https://api.github.com/users/zentol/repos","events_url":"https://api.github.com/users/zentol/events{/privacy}","received_events_url":"https://api.github.com/users/zentol/received_events","type":"User","site_admin":false},"repo":{"id":20647396,"name":"incubator-flink","full_name":"zentol/incubator-flink","owner":{"login":"zentol","id":5725237,"avatar_url":"https://avatars.githubusercontent.com/u/5725237?v=3","gravatar_id":"","url":"https://api.github.com/users/zentol","html_url":"https://github.com/zentol","followers_url":"https://api.github.com/users/zentol/followers","following_url":"https://api.github.com/users/zentol/following{/other_user}","gists_url":"https://api.github.com/users/zentol/gists{/gist_id}","starred_url":"https://api.github.com/users/zentol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zentol/subscriptions","organizations_url":"https://api.github.com/users/zentol/orgs","repos_url":"https://api.github.com/users/zentol/repos","events_url":"https://api.github.com/users/zentol/events{/privacy}","received_events_url":"https://api.github.com/users/zentol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zentol/incubator-flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/zentol/incubator-flink","forks_url":"https://api.github.com/repos/zentol/incubator-flink/forks","keys_url":"https://api.github.com/repos/zentol/incubator-flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zentol/incubator-flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zentol/incubator-flink/teams","hooks_url":"https://api.github.com/repos/zentol/incubator-flink/hooks","issue_events_url":"https://api.github.com/repos/zentol/incubator-flink/issues/events{/number}","events_url":"https://api.github.com/repos/zentol/incubator-flink/events","assignees_url":"https://api.github.com/repos/zentol/incubator-flink/assignees{/user}","branches_url":"https://api.github.com/repos/zentol/incubator-flink/branches{/branch}","tags_url":"https://api.github.com/repos/zentol/incubator-flink/tags","blobs_url":"https://api.github.com/repos/zentol/incubator-flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zentol/incubator-flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zentol/incubator-flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/zentol/incubator-flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zentol/incubator-flink/statuses/{sha}","languages_url":"https://api.github.com/repos/zentol/incubator-flink/languages","stargazers_url":"https://api.github.com/repos/zentol/incubator-flink/stargazers","contributors_url":"https://api.github.com/repos/zentol/incubator-flink/contributors","subscribers_url":"https://api.github.com/repos/zentol/incubator-flink/subscribers","subscription_url":"https://api.github.com/repos/zentol/incubator-flink/subscription","commits_url":"https://api.github.com/repos/zentol/incubator-flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/zentol/incubator-flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/zentol/incubator-flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/zentol/incubator-flink/issues/comments/{number}","contents_url":"https://api.github.com/repos/zentol/incubator-flink/contents/{+path}","compare_url":"https://api.github.com/repos/zentol/incubator-flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zentol/incubator-flink/merges","archive_url":"https://api.github.com/repos/zentol/incubator-flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zentol/incubator-flink/downloads","issues_url":"https://api.github.com/repos/zentol/incubator-flink/issues{/number}","pulls_url":"https://api.github.com/repos/zentol/incubator-flink/pulls{/number}","milestones_url":"https://api.github.com/repos/zentol/incubator-flink/milestones{/number}","notifications_url":"https://api.github.com/repos/zentol/incubator-flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zentol/incubator-flink/labels{/name}","releases_url":"https://api.github.com/repos/zentol/incubator-flink/releases{/id}","created_at":"2014-06-09T13:27:33Z","updated_at":"2015-01-26T09:19:12Z","pushed_at":"2015-02-02T18:26:12Z","git_url":"git://github.com/zentol/incubator-flink.git","ssh_url":"git@github.com:zentol/incubator-flink.git","clone_url":"https://github.com/zentol/incubator-flink.git","svn_url":"https://github.com/zentol/incubator-flink","homepage":null,"size":40386,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"268ff7a067bfa0e4985358afe7f7091a6abbd3c4","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20587599,"name":"flink","full_name":"apache/flink","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/flink","description":"Mirror of Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments/{number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","created_at":"2014-06-07T07:00:10Z","updated_at":"2015-02-02T18:41:55Z","pushed_at":"2015-02-02T18:41:54Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":null,"size":2308746,"stargazers_count":260,"watchers_count":260,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":140,"mirror_url":"git://git.apache.org/incubator-flink.git","open_issues_count":38,"forks":140,"open_issues":38,"watchers":260,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/202"},"html":{"href":"https://github.com/apache/flink/pull/202"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/202"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/202/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/202/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/202/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/9d16d8b74669627873e85a6867a8160f4d2f3c7c"}}}}