-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Fixed Functional Test Failures #24123
base: master
Are you sure you want to change the base?
Conversation
} | ||
|
||
try (OutputStream output = new FileOutputStream(file); | ||
try (OutputStream output = new FileOutputStream(file, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try (OutputStream output = new FileOutputStream(file, false); | |
try (OutputStream output = new FileOutputStream(file); |
Aren't these equivalent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Corrected.
String arrayElementTypeName = metaData.getColumnTypeName(i); | ||
Type elementType = mapSqlTypeNameToType(arrayElementTypeName); | ||
types.add(new ArrayType(elementType)); | ||
if (typeName.startsWith("ARRAY(") && typeName.endsWith(")")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use TypeSignature.parseTypeSignature
to retrieve the base type name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Done
54ba626
to
ee4cb1c
Compare
Resolves following failures in functional tests.