-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[fix](jdbc catalog) fix and add mysql and doris extremum test #41679
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
return resultSet.getObject(columnIndex + 1); | ||
case STRING: { | ||
int jdbcType = resultSetMetaData.getColumnType(columnIndex + 1); | ||
if (jdbcType == Types.TIME) { |
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.
Add some comment to explain this if else
qt_select_char """select * from t_char order by 1;""" | ||
|
||
sql """set dry_run_query=true""" | ||
qt_select_all_types_multi_block """select * from all_types_multi_block;""" |
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.
You can use select count(k1), count(k2)
, and remove dry_run_query
run buildall |
run buildall |
1、add mysql jdbc catalog extremum test
2、mysql jdbc catalog time data outside the 24-hour range can be read
3、add doris jdbc catalog extremum test
4、fix doris jdbc catalog char type max size match
5、fix doris jdbc catalog nested array read
Legacy:
Doris float extreme values are incorrect 3.4028235e+38, -3.4028235e+38
Correct values should be 3.4028234e+38, -3.4028234e+38. The incorrect value will exceed the Java float range, so ignore this test and add it after it is fixed
This PR also followup #40122
Adds requiredColumnSize() and requiredDecimalDigits() methods to JdbcFieldSchema, improving error handling by throwing exceptions when values are absent.