Skip to content
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

SQL statement deep paging problem #31221

Open
cunlianer opened this issue May 13, 2024 · 1 comment
Open

SQL statement deep paging problem #31221

cunlianer opened this issue May 13, 2024 · 1 comment

Comments

@cunlianer
Copy link

cunlianer commented May 13, 2024

shardingsphere v5.5
In SQL statements with deep pagination, such as table partitioning, there are the following SQL statements:
select fields from tableName t1 inner join (select id from tableName limit 2000000,10) t2 on t2. id=t1. id
When the number of records in a single table is less than 2000000 but the total number is more than 2000000, deep pagination retrieves an empty record. I suspect that pagination can only obtain data on the number of records in a single table.

@cunlianer
Copy link
Author

1
2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant