- 
                Notifications
    
You must be signed in to change notification settings  - Fork 727
 
Add delete rows functionality for fulltext indexed tables #27345
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
Conversation
Co-authored-by: kunga <6822967+kunga@users.noreply.github.com>
Co-authored-by: kunga <6822967+kunga@users.noreply.github.com>
fb55578    to
    35c911a      
    Compare
  
    | 
          
 Error: Execution, code: 1060  | 
    
Co-authored-by: kunga <6822967+kunga@users.noreply.github.com>
          
 Fixed in dd2b6ec. The issue was that   | 
    
| 
          
 effects/kqp_opt_phy_delete_index.cpp:102:18: error: no matching member function for call to 'Connection'  | 
    
Co-authored-by: kunga <6822967+kunga@users.noreply.github.com>
| 
          
 Fatal: Execution, code: 1060  | 
    
Co-authored-by: kunga <6822967+kunga@users.noreply.github.com>
          
 Fixed in 4183ab8. The cast failed because   | 
    
…nnections Co-authored-by: kunga <6822967+kunga@users.noreply.github.com>
          
 Fixed in c0d9b7d. The SkipLookup case uses   | 
    
| 
           @copilot now everything works, but could you simplify deleteKeysConnection / deleteKeysPrecompute calls?  | 
    
Co-authored-by: kunga <6822967+kunga@users.noreply.github.com>
| effects.emplace_back(std::move(indexDelete)); | ||
| } | ||
| 
               | 
          ||
| auto indexDelete = Build<TKqlDeleteRows>(ctx, del.Pos()) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вытащил из ифов, вроде как было задублировано
| } | ||
| } | ||
| 
               | 
          ||
| TDqStageBase ReadTableToStage(const TExprBase& expr, TExprContext& ctx) { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вынес, без изменений
| 
          
 ⚪  ⚪  Ya make output | Test bloat | Test bloat 
 ⚪  Ya make output | Test bloat | Test bloat | Test bloat 
 🟢  
 *please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation  | 
    
| 
          
 ⚪  
 🟢  
 *please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation  | 
    
Summary
Fixed delete rows functionality for fulltext indexed tables by properly handling different input types in both code paths.
Changes Made
kqp_opt_phy_delete_index.cppkqp_indexes_fulltext_ut.cppCode Simplification
Removed the intermediate
deleteKeysConnectionvariable and combined it directly into theTDqPhyPrecomputeBuild call using template syntax.Connection<TDqCnUnionAll>()to avoid explicit casting.Files Changed
ydb/core/kqp/opt/physical/effects/kqp_opt_phy_delete_index.cppydb/core/kqp/ut/indexes/kqp_indexes_fulltext_ut.cppOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.