Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL: SYS COLUMNS returns ODBC specific schema #35870

Merged
merged 3 commits into from
Nov 26, 2018
Merged

Conversation

costin
Copy link
Member

@costin costin commented Nov 23, 2018

Due to some unresolvable type conflict between the expected definition
in JDBC vs ODBC, the driver mode is now passed over so that certain
command can change their results accordingly (in this case SYS COLUMNS)

Fix #35376

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

Due to some unresolvable type conflict between the expected definition
 in JDBC vs ODBC, the driver mode is now passed over so that certain
 command can change their results accordingly (in this case SYS COLUMNS)

Fix elastic#35376
@costin
Copy link
Member Author

costin commented Nov 23, 2018

run the gradle build tests 1

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

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

LGTM, left cosmetic comment.

return list.get(10);
}

private static Object decimalPrecision(List<?> list) {
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe sort them by the list index 8

Copy link
Member Author

Choose a reason for hiding this comment

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

?

Copy link
Contributor

@matriv matriv Nov 24, 2018

Choose a reason for hiding this comment

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

It's really minor, I mean decimalPrecision could be before radix which is list.get(9).

@matriv
Copy link
Contributor

matriv commented Nov 25, 2018

The issue you're referring to, is not correct.

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

LGTM

@costin costin merged commit d291b08 into elastic:master Nov 26, 2018
@costin costin deleted the fix-35376 branch November 26, 2018 14:59
costin added a commit that referenced this pull request Nov 26, 2018
Due to some unresolvable type conflict between the expected definition
 in JDBC vs ODBC, the driver mode is now passed over so that certain
 command can change their results accordingly (in this case SYS COLUMNS)

Fix #35376

(cherry picked from commit d291b08)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants