pingcap / pingcap/tidb

support get `next_not_cached_value` of a sequence by `select * from xx`

Open
#37,848 0 comments 0 reactions 0 assignees View on GitHub
sig/sql-infra type/feature-request
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Feature Request

currently , tidb can not get the next seq value from information_schema.sequence table.

**Describe the feature you'd like:**
support query next not cached value of a sequence.
like https://mariadb.com/kb/en/show-create-sequence/

**Describe alternatives you've considered:**

**Teachability, Documentation, Adoption, Migration Strategy:**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.