Skip to content
This repository was archived by the owner on Jun 7, 2021. It is now read-only.

Conversation

@gdgy
Copy link

@gdgy gdgy commented May 24, 2018

No description provided.

@gdgy gdgy changed the title Bug fix comment hbase Bug fix cannot set comment on native hbase table May 24, 2018
@Traf-Jenkins
Copy link

Can one of the admins verify this patch?

3 similar comments
@Traf-Jenkins
Copy link

Can one of the admins verify this patch?

@Traf-Jenkins
Copy link

Can one of the admins verify this patch?

@Traf-Jenkins
Copy link

Can one of the admins verify this patch?

@DaveBirdsall
Copy link
Contributor

jenkins, add user

@DaveBirdsall
Copy link
Contributor

If you add "[TRAFODION-3084]" to the beginning of your subject line, then the pull request will automatically be noted in the JIRA.

@Traf-Jenkins
Copy link

Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2672/

Copy link
Contributor

@DaveBirdsall DaveBirdsall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations on making your first contribution! I have several small requests for changes.

1718 ZZZZZ 99999 BEGINNER MINOR DBADMIN --- unused ---
1719 ZZZZZ 99999 BEGINNER MINOR DBADMIN Access Type '$0~string0' is not supported.
1720 ZZZZZ 99999 BEGINNER MINOR DBADMIN Isolation Level '$0~string0' is not supported.
1722 ZZZZZ 99999 BEGINNER MINOR DBADMIN cannot set comment on '$0~string0' if the target table is native hbase table.
Copy link
Contributor

@DaveBirdsall DaveBirdsall May 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar nit: The first word in the message should be capitalized. Also, "hbase" should be spelled "HBase". (Yes, it is odd by English standards, I know, but that's the way the HBase people spell it.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more comment. Please add this new message to the Trafodion Messages Guide. You can find the source for that in the trafodion/docs/messages_guide directory.

*CmpCommon::diags() << DgSqlCode(-1722);
processReturn();
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Three comments:

  1. There is a literal, HBASE_SYSTEM_CATALOG, that should be used instead of hard-coding the string "HBASE" in line 343. (See common/ComSmallDefs.h.)
  2. In your error message text, you have a $0 ~ String0 parameter, but you don't set that here. To set it, you need to add "*CmpCommon::diags() << DgString0(some string text)". Alternatively, you could remove the '$0 ~ String0' from your message text in bin/SqlciErrors.txt.
  3. Minor point. The indentation is irregular. Perhaps you have tabs on some lines and spaces on others. If you could make it uniform with the surrounding code it will be easier to read.

@Traf-Jenkins
Copy link

@Traf-Jenkins
Copy link

New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2675/

@Traf-Jenkins
Copy link

@DaveBirdsall
Copy link
Contributor

jenkins, retest

@Traf-Jenkins
Copy link

New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2695/

1718 ZZZZZ 99999 BEGINNER MINOR DBADMIN --- unused ---
1719 ZZZZZ 99999 BEGINNER MINOR DBADMIN Access Type '$0~string0' is not supported.
1720 ZZZZZ 99999 BEGINNER MINOR DBADMIN Isolation Level '$0~string0' is not supported.
1722 ZZZZZ 99999 BEGINNER MINOR DBADMIN cannot set comment on native HBASE table.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First word should be capitalized. Also, HBASE should be HBase.

Also, please add this message to the Trafodion Messages Guide. The source can be found in the trafodion/docs/messages_guide directory.

@Traf-Jenkins
Copy link

@Traf-Jenkins
Copy link

New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2699/

@Traf-Jenkins
Copy link

@Traf-Jenkins
Copy link

Previous Test Aborted. New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2700/

@Traf-Jenkins
Copy link

@Traf-Jenkins
Copy link

Previous Test Aborted. New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2701/

@Traf-Jenkins
Copy link

@Traf-Jenkins
Copy link

Previous Test Aborted. New Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2702/

@Traf-Jenkins
Copy link

@gdgy gdgy closed this Jun 4, 2018
@gdgy gdgy deleted the bug_fix_comment_hbase branch June 4, 2018 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants