You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
What happened
I try to use jbdc(mysql) to extract data from starrocks. it's a big query, if run the query directly, will get timeout over 300s exception. it's throw by starrocks.
so i want split the query to multiple small query. i add partition_column parameter. but i find the jdbc default split logical add this query filter abs(md5(<partition_column>)) % <partition_num> = ?
the finial query would be
select * from ( user defined query ) split where abs(md5(<partition_column>)) % <partition_num> = ?
in mysql the result of md5 % <partition_num> is a number, so it can work.
but in starrocks, it can't work. we need use md5sum_numeric function.
Search before asking
What happened
I try to use jbdc(mysql) to extract data from starrocks. it's a big query, if run the query directly, will get
timeout over 300s
exception. it's throw by starrocks.so i want split the query to multiple small query. i add
partition_column
parameter. but i find the jdbc default split logical add this query filterabs(md5(<partition_column>)) % <partition_num> = ?
the finial query would be
in mysql the result of
md5 % <partition_num>
is a number, so it can work.but in starrocks, it can't work. we need use
md5sum_numeric
function.SeaTunnel Version
2.3.5
SeaTunnel Config
Running Command
Error Exception
Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: