{"action":"created","comment":{"url":"https://api.github.com/repos/krux/hyperion/pulls/comments/42824386","id":42824386,"diff_hunk":"@@ -0,0 +1,98 @@\n+package com.krux.hyperion.adt\n+\n+import scala.language.implicitConversions\n+\n+import org.joda.time.{DateTimeZone, DateTime}\n+\n+import com.krux.hyperion.expression.{DateTimeTypedExp, IntTypedExp, StringTypedExp, DoubleTypedExp,\n+  TypedExpression, IntExp, DurationTypedExp, Duration, S3UriTypedExp, BooleanTypedExp}\n+import com.krux.hyperion.common.S3Uri\n+\n+sealed abstract class HType {\n+\n+  def value: Either[Any, TypedExpression]\n+\n+  def toAws: String = value match {","path":"core/src/main/scala/com/krux/hyperion/adt/HType.scala","position":15,"original_position":15,"commit_id":"042539204f99ed0279034e4e3fac4bee6eed727e","original_commit_id":"042539204f99ed0279034e4e3fac4bee6eed727e","user":{"login":"sethyates","id":29878,"avatar_url":"https://avatars.githubusercontent.com/u/29878?v=3","gravatar_id":"","url":"https://api.github.com/users/sethyates","html_url":"https://github.com/sethyates","followers_url":"https://api.github.com/users/sethyates/followers","following_url":"https://api.github.com/users/sethyates/following{/other_user}","gists_url":"https://api.github.com/users/sethyates/gists{/gist_id}","starred_url":"https://api.github.com/users/sethyates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethyates/subscriptions","organizations_url":"https://api.github.com/users/sethyates/orgs","repos_url":"https://api.github.com/users/sethyates/repos","events_url":"https://api.github.com/users/sethyates/events{/privacy}","received_events_url":"https://api.github.com/users/sethyates/received_events","type":"User","site_admin":false},"body":"Well maybe we an find an alternative name to `toAws` that doesn't make my eyes bleed :-)","created_at":"2015-10-23T00:56:13Z","updated_at":"2015-10-23T00:56:13Z","html_url":"https://github.com/krux/hyperion/pull/233#discussion_r42824386","pull_request_url":"https://api.github.com/repos/krux/hyperion/pulls/233","_links":{"self":{"href":"https://api.github.com/repos/krux/hyperion/pulls/comments/42824386"},"html":{"href":"https://github.com/krux/hyperion/pull/233#discussion_r42824386"},"pull_request":{"href":"https://api.github.com/repos/krux/hyperion/pulls/233"}}},"pull_request":{"url":"https://api.github.com/repos/krux/hyperion/pulls/233","id":48524520,"html_url":"https://github.com/krux/hyperion/pull/233","diff_url":"https://github.com/krux/hyperion/pull/233.diff","patch_url":"https://github.com/krux/hyperion/pull/233.patch","issue_url":"https://api.github.com/repos/krux/hyperion/issues/233","number":233,"state":"open","locked":false,"title":"(fixes #215) Revisit and refactor expression and parameter","user":{"login":"realstraw","id":406633,"avatar_url":"https://avatars.githubusercontent.com/u/406633?v=3","gravatar_id":"","url":"https://api.github.com/users/realstraw","html_url":"https://github.com/realstraw","followers_url":"https://api.github.com/users/realstraw/followers","following_url":"https://api.github.com/users/realstraw/following{/other_user}","gists_url":"https://api.github.com/users/realstraw/gists{/gist_id}","starred_url":"https://api.github.com/users/realstraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realstraw/subscriptions","organizations_url":"https://api.github.com/users/realstraw/orgs","repos_url":"https://api.github.com/users/realstraw/repos","events_url":"https://api.github.com/users/realstraw/events{/privacy}","received_events_url":"https://api.github.com/users/realstraw/received_events","type":"User","site_admin":false},"body":"- Parameters are now treated as expression\r\n- All expressions will have a universion typed system\r\n- Allows the use of mixed expressions and native and parameter as object\r\n  parameters by have a boxed H\\* type","created_at":"2015-10-22T23:03:53Z","updated_at":"2015-10-23T00:56:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cd30e86faef755652cc7edb00e5fbf045a524cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/krux/hyperion/pulls/233/commits","review_comments_url":"https://api.github.com/repos/krux/hyperion/pulls/233/comments","review_comment_url":"https://api.github.com/repos/krux/hyperion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/krux/hyperion/issues/233/comments","statuses_url":"https://api.github.com/repos/krux/hyperion/statuses/042539204f99ed0279034e4e3fac4bee6eed727e","head":{"label":"realstraw:revisit-expr","ref":"revisit-expr","sha":"042539204f99ed0279034e4e3fac4bee6eed727e","user":{"login":"realstraw","id":406633,"avatar_url":"https://avatars.githubusercontent.com/u/406633?v=3","gravatar_id":"","url":"https://api.github.com/users/realstraw","html_url":"https://github.com/realstraw","followers_url":"https://api.github.com/users/realstraw/followers","following_url":"https://api.github.com/users/realstraw/following{/other_user}","gists_url":"https://api.github.com/users/realstraw/gists{/gist_id}","starred_url":"https://api.github.com/users/realstraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realstraw/subscriptions","organizations_url":"https://api.github.com/users/realstraw/orgs","repos_url":"https://api.github.com/users/realstraw/repos","events_url":"https://api.github.com/users/realstraw/events{/privacy}","received_events_url":"https://api.github.com/users/realstraw/received_events","type":"User","site_admin":false},"repo":{"id":32900260,"name":"hyperion","full_name":"realstraw/hyperion","owner":{"login":"realstraw","id":406633,"avatar_url":"https://avatars.githubusercontent.com/u/406633?v=3","gravatar_id":"","url":"https://api.github.com/users/realstraw","html_url":"https://github.com/realstraw","followers_url":"https://api.github.com/users/realstraw/followers","following_url":"https://api.github.com/users/realstraw/following{/other_user}","gists_url":"https://api.github.com/users/realstraw/gists{/gist_id}","starred_url":"https://api.github.com/users/realstraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realstraw/subscriptions","organizations_url":"https://api.github.com/users/realstraw/orgs","repos_url":"https://api.github.com/users/realstraw/repos","events_url":"https://api.github.com/users/realstraw/events{/privacy}","received_events_url":"https://api.github.com/users/realstraw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/realstraw/hyperion","description":"Scala library and abstractions for AWS DataPipeline","fork":true,"url":"https://api.github.com/repos/realstraw/hyperion","forks_url":"https://api.github.com/repos/realstraw/hyperion/forks","keys_url":"https://api.github.com/repos/realstraw/hyperion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realstraw/hyperion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realstraw/hyperion/teams","hooks_url":"https://api.github.com/repos/realstraw/hyperion/hooks","issue_events_url":"https://api.github.com/repos/realstraw/hyperion/issues/events{/number}","events_url":"https://api.github.com/repos/realstraw/hyperion/events","assignees_url":"https://api.github.com/repos/realstraw/hyperion/assignees{/user}","branches_url":"https://api.github.com/repos/realstraw/hyperion/branches{/branch}","tags_url":"https://api.github.com/repos/realstraw/hyperion/tags","blobs_url":"https://api.github.com/repos/realstraw/hyperion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realstraw/hyperion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realstraw/hyperion/git/refs{/sha}","trees_url":"https://api.github.com/repos/realstraw/hyperion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realstraw/hyperion/statuses/{sha}","languages_url":"https://api.github.com/repos/realstraw/hyperion/languages","stargazers_url":"https://api.github.com/repos/realstraw/hyperion/stargazers","contributors_url":"https://api.github.com/repos/realstraw/hyperion/contributors","subscribers_url":"https://api.github.com/repos/realstraw/hyperion/subscribers","subscription_url":"https://api.github.com/repos/realstraw/hyperion/subscription","commits_url":"https://api.github.com/repos/realstraw/hyperion/commits{/sha}","git_commits_url":"https://api.github.com/repos/realstraw/hyperion/git/commits{/sha}","comments_url":"https://api.github.com/repos/realstraw/hyperion/comments{/number}","issue_comment_url":"https://api.github.com/repos/realstraw/hyperion/issues/comments{/number}","contents_url":"https://api.github.com/repos/realstraw/hyperion/contents/{+path}","compare_url":"https://api.github.com/repos/realstraw/hyperion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realstraw/hyperion/merges","archive_url":"https://api.github.com/repos/realstraw/hyperion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realstraw/hyperion/downloads","issues_url":"https://api.github.com/repos/realstraw/hyperion/issues{/number}","pulls_url":"https://api.github.com/repos/realstraw/hyperion/pulls{/number}","milestones_url":"https://api.github.com/repos/realstraw/hyperion/milestones{/number}","notifications_url":"https://api.github.com/repos/realstraw/hyperion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realstraw/hyperion/labels{/name}","releases_url":"https://api.github.com/repos/realstraw/hyperion/releases{/id}","created_at":"2015-03-26T01:13:35Z","updated_at":"2015-04-26T02:46:23Z","pushed_at":"2015-10-22T22:58:46Z","git_url":"git://github.com/realstraw/hyperion.git","ssh_url":"git@github.com:realstraw/hyperion.git","clone_url":"https://github.com/realstraw/hyperion.git","svn_url":"https://github.com/realstraw/hyperion","homepage":"","size":1314,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"krux:3.0","ref":"3.0","sha":"329437035e0081f391951c700ea68af3eb1f4b96","user":{"login":"krux","id":72871,"avatar_url":"https://avatars.githubusercontent.com/u/72871?v=3","gravatar_id":"","url":"https://api.github.com/users/krux","html_url":"https://github.com/krux","followers_url":"https://api.github.com/users/krux/followers","following_url":"https://api.github.com/users/krux/following{/other_user}","gists_url":"https://api.github.com/users/krux/gists{/gist_id}","starred_url":"https://api.github.com/users/krux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krux/subscriptions","organizations_url":"https://api.github.com/users/krux/orgs","repos_url":"https://api.github.com/users/krux/repos","events_url":"https://api.github.com/users/krux/events{/privacy}","received_events_url":"https://api.github.com/users/krux/received_events","type":"Organization","site_admin":false},"repo":{"id":32839544,"name":"hyperion","full_name":"krux/hyperion","owner":{"login":"krux","id":72871,"avatar_url":"https://avatars.githubusercontent.com/u/72871?v=3","gravatar_id":"","url":"https://api.github.com/users/krux","html_url":"https://github.com/krux","followers_url":"https://api.github.com/users/krux/followers","following_url":"https://api.github.com/users/krux/following{/other_user}","gists_url":"https://api.github.com/users/krux/gists{/gist_id}","starred_url":"https://api.github.com/users/krux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krux/subscriptions","organizations_url":"https://api.github.com/users/krux/orgs","repos_url":"https://api.github.com/users/krux/repos","events_url":"https://api.github.com/users/krux/events{/privacy}","received_events_url":"https://api.github.com/users/krux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/krux/hyperion","description":"Scala library and abstractions for AWS DataPipeline","fork":false,"url":"https://api.github.com/repos/krux/hyperion","forks_url":"https://api.github.com/repos/krux/hyperion/forks","keys_url":"https://api.github.com/repos/krux/hyperion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krux/hyperion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krux/hyperion/teams","hooks_url":"https://api.github.com/repos/krux/hyperion/hooks","issue_events_url":"https://api.github.com/repos/krux/hyperion/issues/events{/number}","events_url":"https://api.github.com/repos/krux/hyperion/events","assignees_url":"https://api.github.com/repos/krux/hyperion/assignees{/user}","branches_url":"https://api.github.com/repos/krux/hyperion/branches{/branch}","tags_url":"https://api.github.com/repos/krux/hyperion/tags","blobs_url":"https://api.github.com/repos/krux/hyperion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krux/hyperion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krux/hyperion/git/refs{/sha}","trees_url":"https://api.github.com/repos/krux/hyperion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krux/hyperion/statuses/{sha}","languages_url":"https://api.github.com/repos/krux/hyperion/languages","stargazers_url":"https://api.github.com/repos/krux/hyperion/stargazers","contributors_url":"https://api.github.com/repos/krux/hyperion/contributors","subscribers_url":"https://api.github.com/repos/krux/hyperion/subscribers","subscription_url":"https://api.github.com/repos/krux/hyperion/subscription","commits_url":"https://api.github.com/repos/krux/hyperion/commits{/sha}","git_commits_url":"https://api.github.com/repos/krux/hyperion/git/commits{/sha}","comments_url":"https://api.github.com/repos/krux/hyperion/comments{/number}","issue_comment_url":"https://api.github.com/repos/krux/hyperion/issues/comments{/number}","contents_url":"https://api.github.com/repos/krux/hyperion/contents/{+path}","compare_url":"https://api.github.com/repos/krux/hyperion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krux/hyperion/merges","archive_url":"https://api.github.com/repos/krux/hyperion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krux/hyperion/downloads","issues_url":"https://api.github.com/repos/krux/hyperion/issues{/number}","pulls_url":"https://api.github.com/repos/krux/hyperion/pulls{/number}","milestones_url":"https://api.github.com/repos/krux/hyperion/milestones{/number}","notifications_url":"https://api.github.com/repos/krux/hyperion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krux/hyperion/labels{/name}","releases_url":"https://api.github.com/repos/krux/hyperion/releases{/id}","created_at":"2015-03-25T03:07:31Z","updated_at":"2015-10-16T16:58:43Z","pushed_at":"2015-10-22T23:03:54Z","git_url":"git://github.com/krux/hyperion.git","ssh_url":"git@github.com:krux/hyperion.git","clone_url":"https://github.com/krux/hyperion.git","svn_url":"https://github.com/krux/hyperion","homepage":"","size":2393,"stargazers_count":9,"watchers_count":9,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/krux/hyperion/pulls/233"},"html":{"href":"https://github.com/krux/hyperion/pull/233"},"issue":{"href":"https://api.github.com/repos/krux/hyperion/issues/233"},"comments":{"href":"https://api.github.com/repos/krux/hyperion/issues/233/comments"},"review_comments":{"href":"https://api.github.com/repos/krux/hyperion/pulls/233/comments"},"review_comment":{"href":"https://api.github.com/repos/krux/hyperion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/krux/hyperion/pulls/233/commits"},"statuses":{"href":"https://api.github.com/repos/krux/hyperion/statuses/042539204f99ed0279034e4e3fac4bee6eed727e"}}}}