Dumpling: The SortByPk
option is missing a flag
#31097
Labels
component/dumpling
This is related to Dumpling of TiDB.
severity/moderate
type/bug
The issue is confirmed as a bug.
Bug Report
1. Minimal reproduce step (Required)
Inspect the code: There is a
SortByPk
option, but no flag to set it.This causes issues when exporting data from Vitess as that doesn't support queries like this if the table is sharded:
However it does support:
Or:
The column in the
ORDER BY
has to be explicitly named in theSELECT
-list.2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: