{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-trafodion/pulls/comments/40004717","id":40004717,"diff_hunk":"@@ -1385,6 +1386,17 @@ void QualifiedName::print(FILE* ofd, const char* indent, const char* title) cons\n #endif\n }\n \n+NABoolean QualifiedName::isHistograms() const\n+{\n+   return (getObjectName() == \"SB_HISTOGRAMS\");\n+}\n+\n+NABoolean QualifiedName::isHistogramIntervals() const\n+{\n+   return (getObjectName() == \"SB_HISTOGRAM_INTERVALS\");\n+}","path":"core/sql/optimizer/ObjectNames.cpp","position":20,"original_position":20,"commit_id":"a906cca5c43666ca67aa592f765781e329de8d86","original_commit_id":"3b1cf85169569f0aa1f9962d3386deab5efc805d","user":{"login":"robertamarton","id":13022496,"avatar_url":"https://avatars.githubusercontent.com/u/13022496?v=3","gravatar_id":"","url":"https://api.github.com/users/robertamarton","html_url":"https://github.com/robertamarton","followers_url":"https://api.github.com/users/robertamarton/followers","following_url":"https://api.github.com/users/robertamarton/following{/other_user}","gists_url":"https://api.github.com/users/robertamarton/gists{/gist_id}","starred_url":"https://api.github.com/users/robertamarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertamarton/subscriptions","organizations_url":"https://api.github.com/users/robertamarton/orgs","repos_url":"https://api.github.com/users/robertamarton/repos","events_url":"https://api.github.com/users/robertamarton/events{/privacy}","received_events_url":"https://api.github.com/users/robertamarton/received_events","type":"User","site_admin":false},"body":"Might want to use the predefined values found in ComSmallDefs.h - HBASE_HIST_NAME & HBASE_HISTINT_NAME","created_at":"2015-09-21T18:11:01Z","updated_at":"2015-09-21T18:11:01Z","html_url":"https://github.com/apache/incubator-trafodion/pull/87#discussion_r40004717","pull_request_url":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafodion/pulls/comments/40004717"},"html":{"href":"https://github.com/apache/incubator-trafodion/pull/87#discussion_r40004717"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87","id":45468792,"html_url":"https://github.com/apache/incubator-trafodion/pull/87","diff_url":"https://github.com/apache/incubator-trafodion/pull/87.diff","patch_url":"https://github.com/apache/incubator-trafodion/pull/87.patch","issue_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/87","number":87,"state":"open","locked":false,"title":"Jira1443 final committed","user":{"login":"nonstop-qfchen","id":8105474,"avatar_url":"https://avatars.githubusercontent.com/u/8105474?v=3","gravatar_id":"","url":"https://api.github.com/users/nonstop-qfchen","html_url":"https://github.com/nonstop-qfchen","followers_url":"https://api.github.com/users/nonstop-qfchen/followers","following_url":"https://api.github.com/users/nonstop-qfchen/following{/other_user}","gists_url":"https://api.github.com/users/nonstop-qfchen/gists{/gist_id}","starred_url":"https://api.github.com/users/nonstop-qfchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonstop-qfchen/subscriptions","organizations_url":"https://api.github.com/users/nonstop-qfchen/orgs","repos_url":"https://api.github.com/users/nonstop-qfchen/repos","events_url":"https://api.github.com/users/nonstop-qfchen/events{/privacy}","received_events_url":"https://api.github.com/users/nonstop-qfchen/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nPlease kindly review the changes and pull the request if it is OK. \r\n\r\nThis set enables update statistics for native HBase and HIVE tables (aka JIRA1443).  The set includes the following changes. \r\n0.  No change to the syntax and semantics of the update stats utility for native tables. \r\n1. Use of External Tables as aliases to native tables, in the context of creating histogram IDs. The IDs used are actually those of the external tables. \r\n2. The histogram tables for native tables are stored in schema TRAFODION._HBASESTATS_ and TRAFODION._HIVESTATS_, respectively.  There is no change to the location of the histogram tables for  Trafodion tables. \r\n3. The restriction that a new table can not be created LIKE an external table is removed. This facilitates the creation of sample tables for the native tables\r\n4. The column stats for native tables now behave exactly the same as for Trafodion tables (which leads to many changes in the expected files for regression/hive).\r\n5. A work-around (disable PCODE for one query) is added to EXECUCTOR/TEST002. Without it, the compilation runs away in PCODE optimization. \r\n6. TPC-DS data now is converted to UTF8 before loading into the HIVE tables. This is to fix a character set conversion error when the source string is \"Côte d'Ivoire\". The hex code for the 2nd character  in the un-converted string is 0xd4, not exactly a valid UTF8 character. After the conversion, the character is encoded with 2 bytes. \r\n7. Two new tests added: seabase/TEST028 (update stats for native HBase tables), and hive/TEST021 (update stats for native hive tables - in TPC-DS)\r\n\r\nThanks --Qifan","created_at":"2015-09-19T03:15:23Z","updated_at":"2015-09-21T18:11:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8de7e6e1d37f2de4a0ef1d8610859af4f724192","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-trafodion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/87/comments","statuses_url":"https://api.github.com/repos/apache/incubator-trafodion/statuses/a906cca5c43666ca67aa592f765781e329de8d86","head":{"label":"nonstop-qfchen:jira1443_final_committed","ref":"jira1443_final_committed","sha":"a906cca5c43666ca67aa592f765781e329de8d86","user":{"login":"nonstop-qfchen","id":8105474,"avatar_url":"https://avatars.githubusercontent.com/u/8105474?v=3","gravatar_id":"","url":"https://api.github.com/users/nonstop-qfchen","html_url":"https://github.com/nonstop-qfchen","followers_url":"https://api.github.com/users/nonstop-qfchen/followers","following_url":"https://api.github.com/users/nonstop-qfchen/following{/other_user}","gists_url":"https://api.github.com/users/nonstop-qfchen/gists{/gist_id}","starred_url":"https://api.github.com/users/nonstop-qfchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonstop-qfchen/subscriptions","organizations_url":"https://api.github.com/users/nonstop-qfchen/orgs","repos_url":"https://api.github.com/users/nonstop-qfchen/repos","events_url":"https://api.github.com/users/nonstop-qfchen/events{/privacy}","received_events_url":"https://api.github.com/users/nonstop-qfchen/received_events","type":"User","site_admin":false},"repo":{"id":38263036,"name":"incubator-trafodion","full_name":"nonstop-qfchen/incubator-trafodion","owner":{"login":"nonstop-qfchen","id":8105474,"avatar_url":"https://avatars.githubusercontent.com/u/8105474?v=3","gravatar_id":"","url":"https://api.github.com/users/nonstop-qfchen","html_url":"https://github.com/nonstop-qfchen","followers_url":"https://api.github.com/users/nonstop-qfchen/followers","following_url":"https://api.github.com/users/nonstop-qfchen/following{/other_user}","gists_url":"https://api.github.com/users/nonstop-qfchen/gists{/gist_id}","starred_url":"https://api.github.com/users/nonstop-qfchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonstop-qfchen/subscriptions","organizations_url":"https://api.github.com/users/nonstop-qfchen/orgs","repos_url":"https://api.github.com/users/nonstop-qfchen/repos","events_url":"https://api.github.com/users/nonstop-qfchen/events{/privacy}","received_events_url":"https://api.github.com/users/nonstop-qfchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nonstop-qfchen/incubator-trafodion","description":"Mirror of Apache Trafodion (Incubating)","fork":true,"url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion","forks_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/forks","keys_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/teams","hooks_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/hooks","issue_events_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/issues/events{/number}","events_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/events","assignees_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/assignees{/user}","branches_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/branches{/branch}","tags_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/tags","blobs_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/git/refs{/sha}","trees_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/statuses/{sha}","languages_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/languages","stargazers_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/stargazers","contributors_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/contributors","subscribers_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/subscribers","subscription_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/subscription","commits_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/commits{/sha}","git_commits_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/git/commits{/sha}","comments_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/comments{/number}","issue_comment_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/issues/comments{/number}","contents_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/contents/{+path}","compare_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/merges","archive_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/downloads","issues_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/issues{/number}","pulls_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/pulls{/number}","milestones_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/milestones{/number}","notifications_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/labels{/name}","releases_url":"https://api.github.com/repos/nonstop-qfchen/incubator-trafodion/releases{/id}","created_at":"2015-06-29T18:15:19Z","updated_at":"2015-06-29T18:15:59Z","pushed_at":"2015-09-21T18:01:05Z","git_url":"git://github.com/nonstop-qfchen/incubator-trafodion.git","ssh_url":"git@github.com:nonstop-qfchen/incubator-trafodion.git","clone_url":"https://github.com/nonstop-qfchen/incubator-trafodion.git","svn_url":"https://github.com/nonstop-qfchen/incubator-trafodion","homepage":null,"size":55458,"stargazers_count":0,"watchers_count":0,"language":"C++","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":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"7770da68819473365591e632dd47f3f7c514e19c","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":36349344,"name":"incubator-trafodion","full_name":"apache/incubator-trafodion","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/incubator-trafodion","description":"Mirror of Apache Trafodion (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-trafodion","forks_url":"https://api.github.com/repos/apache/incubator-trafodion/forks","keys_url":"https://api.github.com/repos/apache/incubator-trafodion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-trafodion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-trafodion/teams","hooks_url":"https://api.github.com/repos/apache/incubator-trafodion/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-trafodion/events","assignees_url":"https://api.github.com/repos/apache/incubator-trafodion/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-trafodion/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-trafodion/tags","blobs_url":"https://api.github.com/repos/apache/incubator-trafodion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-trafodion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-trafodion/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-trafodion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-trafodion/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-trafodion/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-trafodion/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-trafodion/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-trafodion/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-trafodion/subscription","commits_url":"https://api.github.com/repos/apache/incubator-trafodion/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-trafodion/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-trafodion/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-trafodion/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-trafodion/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-trafodion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-trafodion/merges","archive_url":"https://api.github.com/repos/apache/incubator-trafodion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-trafodion/downloads","issues_url":"https://api.github.com/repos/apache/incubator-trafodion/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-trafodion/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-trafodion/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-trafodion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-trafodion/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-trafodion/releases{/id}","created_at":"2015-05-27T07:00:05Z","updated_at":"2015-09-20T22:58:09Z","pushed_at":"2015-09-21T18:01:06Z","git_url":"git://github.com/apache/incubator-trafodion.git","ssh_url":"git@github.com:apache/incubator-trafodion.git","clone_url":"https://github.com/apache/incubator-trafodion.git","svn_url":"https://github.com/apache/incubator-trafodion","homepage":null,"size":60181,"stargazers_count":15,"watchers_count":15,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":"git://git.apache.org/incubator-trafodion.git","open_issues_count":4,"forks":40,"open_issues":4,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87"},"html":{"href":"https://github.com/apache/incubator-trafodion/pull/87"},"issue":{"href":"https://api.github.com/repos/apache/incubator-trafodion/issues/87"},"comments":{"href":"https://api.github.com/repos/apache/incubator-trafodion/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-trafodion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-trafodion/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-trafodion/statuses/a906cca5c43666ca67aa592f765781e329de8d86"}}}}