{"action":"created","issue":{"url":"https://api.github.com/repos/DEIB-GECO/GMQL/issues/16","repository_url":"https://api.github.com/repos/DEIB-GECO/GMQL","labels_url":"https://api.github.com/repos/DEIB-GECO/GMQL/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/DEIB-GECO/GMQL/issues/16/comments","events_url":"https://api.github.com/repos/DEIB-GECO/GMQL/issues/16/events","html_url":"https://github.com/DEIB-GECO/GMQL/issues/16","id":219734736,"number":16,"title":"PROJECT - Creation of new metadata based on existing metadata","user":{"login":"marcomass","id":26763290,"avatar_url":"https://avatars2.githubusercontent.com/u/26763290?v=3","gravatar_id":"","url":"https://api.github.com/users/marcomass","html_url":"https://github.com/marcomass","followers_url":"https://api.github.com/users/marcomass/followers","following_url":"https://api.github.com/users/marcomass/following{/other_user}","gists_url":"https://api.github.com/users/marcomass/gists{/gist_id}","starred_url":"https://api.github.com/users/marcomass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcomass/subscriptions","organizations_url":"https://api.github.com/users/marcomass/orgs","repos_url":"https://api.github.com/users/marcomass/repos","events_url":"https://api.github.com/users/marcomass/events{/privacy}","received_events_url":"https://api.github.com/users/marcomass/received_events","type":"User","site_admin":false},"labels":[{"id":562126917,"url":"https://api.github.com/repos/DEIB-GECO/GMQL/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true},{"id":611775059,"url":"https://api.github.com/repos/DEIB-GECO/GMQL/labels/Urgent","name":"Urgent","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"pp86","id":11685975,"avatar_url":"https://avatars0.githubusercontent.com/u/11685975?v=3","gravatar_id":"","url":"https://api.github.com/users/pp86","html_url":"https://github.com/pp86","followers_url":"https://api.github.com/users/pp86/followers","following_url":"https://api.github.com/users/pp86/following{/other_user}","gists_url":"https://api.github.com/users/pp86/gists{/gist_id}","starred_url":"https://api.github.com/users/pp86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pp86/subscriptions","organizations_url":"https://api.github.com/users/pp86/orgs","repos_url":"https://api.github.com/users/pp86/repos","events_url":"https://api.github.com/users/pp86/events{/privacy}","received_events_url":"https://api.github.com/users/pp86/received_events","type":"User","site_admin":false},"assignees":[{"login":"pp86","id":11685975,"avatar_url":"https://avatars0.githubusercontent.com/u/11685975?v=3","gravatar_id":"","url":"https://api.github.com/users/pp86","html_url":"https://github.com/pp86","followers_url":"https://api.github.com/users/pp86/followers","following_url":"https://api.github.com/users/pp86/following{/other_user}","gists_url":"https://api.github.com/users/pp86/gists{/gist_id}","starred_url":"https://api.github.com/users/pp86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pp86/subscriptions","organizations_url":"https://api.github.com/users/pp86/orgs","repos_url":"https://api.github.com/users/pp86/repos","events_url":"https://api.github.com/users/pp86/events{/privacy}","received_events_url":"https://api.github.com/users/pp86/received_events","type":"User","site_admin":false},{"login":"akaitoua","id":17039339,"avatar_url":"https://avatars3.githubusercontent.com/u/17039339?v=3","gravatar_id":"","url":"https://api.github.com/users/akaitoua","html_url":"https://github.com/akaitoua","followers_url":"https://api.github.com/users/akaitoua/followers","following_url":"https://api.github.com/users/akaitoua/following{/other_user}","gists_url":"https://api.github.com/users/akaitoua/gists{/gist_id}","starred_url":"https://api.github.com/users/akaitoua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaitoua/subscriptions","organizations_url":"https://api.github.com/users/akaitoua/orgs","repos_url":"https://api.github.com/users/akaitoua/repos","events_url":"https://api.github.com/users/akaitoua/events{/privacy}","received_events_url":"https://api.github.com/users/akaitoua/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/DEIB-GECO/GMQL/milestones/1","html_url":"https://github.com/DEIB-GECO/GMQL/milestone/1","labels_url":"https://api.github.com/repos/DEIB-GECO/GMQL/milestones/1/labels","id":2438812,"number":1,"title":"Fix small bugs, high priority bugs","description":"","creator":{"login":"akaitoua","id":17039339,"avatar_url":"https://avatars3.githubusercontent.com/u/17039339?v=3","gravatar_id":"","url":"https://api.github.com/users/akaitoua","html_url":"https://github.com/akaitoua","followers_url":"https://api.github.com/users/akaitoua/followers","following_url":"https://api.github.com/users/akaitoua/following{/other_user}","gists_url":"https://api.github.com/users/akaitoua/gists{/gist_id}","starred_url":"https://api.github.com/users/akaitoua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaitoua/subscriptions","organizations_url":"https://api.github.com/users/akaitoua/orgs","repos_url":"https://api.github.com/users/akaitoua/repos","events_url":"https://api.github.com/users/akaitoua/events{/privacy}","received_events_url":"https://api.github.com/users/akaitoua/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":18,"state":"open","created_at":"2017-04-06T07:15:33Z","updated_at":"2017-05-26T14:43:15Z","due_on":"2017-04-30T07:00:00Z","closed_at":null},"comments":7,"created_at":"2017-04-05T22:32:35Z","updated_at":"2017-05-29T10:03:29Z","closed_at":null,"body":"PROJECT\r\nMake possible to create new metadata attributes, also based on mathematical expressions on existing metadata attributes [e.g. B = PROJECT(metadata: age_plus AS age + 100) A; or B = PROJECT(metadata_update: age AS age + 100) A; or B = PROJECT(metadata_update: age AS 100) A; or B = PROJECT(metadata: age AS year_from(birthdate)) A;]\r\no\tImplementation: Besides of the required changes, it also requires a careful design\r\n"},"comment":{"url":"https://api.github.com/repos/DEIB-GECO/GMQL/issues/comments/304624224","html_url":"https://github.com/DEIB-GECO/GMQL/issues/16#issuecomment-304624224","issue_url":"https://api.github.com/repos/DEIB-GECO/GMQL/issues/16","id":304624224,"user":{"login":"marcomass","id":26763290,"avatar_url":"https://avatars2.githubusercontent.com/u/26763290?v=3","gravatar_id":"","url":"https://api.github.com/users/marcomass","html_url":"https://github.com/marcomass","followers_url":"https://api.github.com/users/marcomass/followers","following_url":"https://api.github.com/users/marcomass/following{/other_user}","gists_url":"https://api.github.com/users/marcomass/gists{/gist_id}","starred_url":"https://api.github.com/users/marcomass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcomass/subscriptions","organizations_url":"https://api.github.com/users/marcomass/orgs","repos_url":"https://api.github.com/users/marcomass/repos","events_url":"https://api.github.com/users/marcomass/events{/privacy}","received_events_url":"https://api.github.com/users/marcomass/received_events","type":"User","site_admin":false},"created_at":"2017-05-29T10:03:29Z","updated_at":"2017-05-29T10:03:29Z","body":"@pp86 @akaitoua \r\nGood to know.\r\n-  What kind of operations will be supported\r\nAll aggregation functions already defined, and all basic mathematical operation (+ - * /), including usage of parenthesis (as already done for operations on region attributes, plus possibly sqrt.\r\n\r\n- How is the semantic, i.e., when to cast to numeric, when not to do that\r\nWhenever possible, cast to numeric. \r\n\r\n- What if an attribute does not exist or cannot be casted\r\nWe already decided that \"if the cast fails (i.e. the metadata value is a string not castable) the resulting metadata should contain “GMQL Casting Exception – Could not parse <meta-value>”\", or some equivalent lable.\r\n\r\nIf this above is not enough, can you Pietro make a design proposal and share it?"}}
{"actor":{"display_login":"marcomass"}}