Skip to content

Conversation

@rhou1
Copy link
Contributor

@rhou1 rhou1 commented Feb 11, 2019

Apache JDBC and Simba JDBC results.
Added ability to include Jira number to failed tests.

Apache JDBC and Simba JDBC results.
Added ability to include Jira number to failed tests.
StringBuilder sb = new StringBuilder();
for (int i = 0; i < values.size() - 1; i++) {
int type = (Integer) (types.get(i));
if (Simba && (type == Types.VARCHAR)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should ideally be set as isSimba

if ((s1.length() > 0) &&
((s1.charAt(0) == '{') || (s1.charAt(0) == '[')) ) {
s1 = Utils.removeNewLines(s1);
s1 = removeStringSpace(s1);
Copy link
Contributor

Choose a reason for hiding this comment

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

There might be libraries that do the reverse of prettifying JSON string, including stripping down extra spaces. Consider having a single Util method that does something like s1 = Utils.compactJson(s1);

if (FOUNDFAILED) {
return null;
} else {
return Filename;
Copy link
Contributor

Choose a reason for hiding this comment

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

Variables need to be in lower camel case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants