We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In JDBC connector. JDBC connector has a parallel-reader feature. It can split the user big query to multiple small query.
The generated sql pattern is like this:
select * from (user special sql) where md5(partition_col) % total_paraliam = current_paraliam_index
But there has a problem if the user special sql contains sql hints. For example, the user query is
user special sql
sql hints
SELECT /*+ SET_VAR(query_timeout = 6000) */ col_a, col_b from table_a
After sql re-generate, the executed sql would be
select * from ( SELECT /*+ SET_VAR(query_timeout = 6000) */ col_a, col_b from table_a ) xxxxx
Then the sql hint will be ignore.
No response
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
Search before asking
Description
In JDBC connector.
JDBC connector has a parallel-reader feature.
It can split the user big query to multiple small query.
The generated sql pattern is like this:
But there has a problem if the
user special sql
containssql hints
.For example, the user query is
After sql re-generate, the executed sql would be
Then the sql hint will be ignore.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: