odc icon indicating copy to clipboard operation
odc copied to clipboard

[Enhancement]: in the OB connection scenario, when invoking the test connection function, need to verify whether the mode of the datasource matches the mode required by the odc

Open zijiacj opened this issue 1 year ago • 0 comments

What would you like to be added?

There are two situations: 1.If the account password is wrong, it is the same as the existing implementation, just prompt the account secret error information to the user on the line, because the tenant cannot be connected. 2. If the account password is correct, JDBC can be connected. In this case, use show variables like 'ob_compatible_mode' to check the tenant compatibility mode.If the tenant of the test connection is not the tenant type required by the current odc, need to feedback the corresponding prompt to the user.

Why is this needed?

it is more reasonable

zijiacj avatar Jul 30 '24 08:07 zijiacj