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

*: table partition dynamic prune mode with Physical Table ID from unistore #31634

Merged
merged 39 commits into from
Mar 3, 2022

Commits on Jan 12, 2022

  1. WIP add Physical Table ID as column in result.

    Table Partition Dynamic Prune Mode uses a single TableReader
    meaning it is not currently possible to know which partition
    a row/record comes from.
    
    By adding ExtraPhysTblID column this can be used when the row
    needs the Physical Table ID (partition id) for SelectLock or
    checking current transaction buffer (if the row has been changed/deleted).
    mjonss committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    fc62492 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4821fae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    21dd902 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Configuration menu
    Copy the full SHA
    a26a334 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. Configuration menu
    Copy the full SHA
    efd64b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. wip ExtraPhysTblIDCol

    mjonss committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    9d9eb52 View commit details
    Browse the repository at this point in the history
  2. wip ExtraPhysTblIDCol

    TODO: Check if UseDynamicPruneMode() and only then add ExtraPhysTblIDCol
    in logic plan
    
    In UnionScan/SelectLockExec
    if partition and not ExtraPhysTblIDCol then use GetPhysicalId
    mjonss committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    d6e062f View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    d5d7996 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. added test for pingcap#30382

    mjonss committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    670e074 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e0a883 View commit details
    Browse the repository at this point in the history
  3. added test for issue#28073

    mjonss committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    5611b0e View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. reverted hack in ut tool

    mjonss committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    aaf8369 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c6bfdf View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Configuration menu
    Copy the full SHA
    85d8f16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    150ab0c View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. Configuration menu
    Copy the full SHA
    c1acc5b View commit details
    Browse the repository at this point in the history
  2. Added test case for pingcap#27346

    mjonss committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    aae672a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77542a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    254304c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    756e5fd View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. WIP before cleanup.

    We still need to send the ExtraPhysTblID column request to
    the store, otherwise there will be issues with the chunk handling.
    
    Like it needs to have space for the column, but the select result
    from the store cannot fill it in.
    
    To be cleaned up. This was the last try to avoid sending and
    recieve more data from the store for static partition prune mode.
    
    But as discussed, this is a minor issue and is acceptable, due to
    static prune mode is planned to be deprecated and removed.
    mjonss committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    c08ea52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f219d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e37f6e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    86b70e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9d9dfab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    495fe45 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c926b1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    16445ad View commit details
    Browse the repository at this point in the history
  9. cleanups

    mjonss committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    1897ed5 View commit details
    Browse the repository at this point in the history
  10. more cleanups

    mjonss committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    dbdcb36 View commit details
    Browse the repository at this point in the history
  11. Further cleanups

    mjonss committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    95fb6a4 View commit details
    Browse the repository at this point in the history
  12. last cleanups

    mjonss committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    9df6392 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2022

  1. Configuration menu
    Copy the full SHA
    3ab4106 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2daabb View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Addressing review comments

    mjonss committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    e459cf7 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    5c8c460 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    718067c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2666252 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0700f74 View commit details
    Browse the repository at this point in the history