You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "hubgeter (via GitHub)" <gi...@apache.org> on 2025/04/28 06:37:15 UTC

[PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

hubgeter opened a new pull request, #50496:
URL: https://github.com/apache/doris/pull/50496

   bp #50161
   
   
   ### What problem does this PR solve?
   Related PR: #38432
   
   Problem Summary:
   in pr #38432 , if parquet reader use index to reade file and file column name not eq table column name, reader will modify
   _colname_to_value_range . However, this object is held by multiple vfile scanners, and multi-threaded modification of this object will cause be core.
   
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "hubgeter (via GitHub)" <gi...@apache.org>.
hubgeter commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2834126418

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2853202503

   # BE UT Coverage Report
   Increment line coverage `41.67% (5/12)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/474180cbfdb080cd85707d24bacc00f291f9addf_474180cbfdb080cd85707d24bacc00f291f9addf/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/474180cbfdb080cd85707d24bacc00f291f9addf_474180cbfdb080cd85707d24bacc00f291f9addf/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 38.87% (10278/26442) |
   | Line Coverage     | 29.92% (85381/285366) |
   | Region Coverage   | 28.58% (44023/154040) |
   | Branch Coverage   | 25.31% (22523/88982) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #50496:
URL: https://github.com/apache/doris/pull/50496


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2837490796

   # BE UT Coverage Report
   Increment line coverage `41.67% (5/12)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/6b4344d3076f077cc6730217c8c334284f360086_6b4344d3076f077cc6730217c8c334284f360086/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/6b4344d3076f077cc6730217c8c334284f360086_6b4344d3076f077cc6730217c8c334284f360086/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 38.86% (10275/26441) |
   | Line Coverage     | 29.92% (85359/285297) |
   | Region Coverage   | 28.57% (43988/153984) |
   | Branch Coverage   | 25.31% (22507/88942) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "Thearas (via GitHub)" <gi...@apache.org>.
Thearas commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2834125593

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
   
   Please clearly describe your PR:
   1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why was this function added?
   4. Which code was refactored and why was this part of the code refactored?
   5. Which functions were optimized and what is the difference before and after the optimization?
       


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2837447547

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "hubgeter (via GitHub)" <gi...@apache.org>.
hubgeter commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2834145475

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2834232431

   # BE UT Coverage Report
   Increment line coverage `41.67% (5/12)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/11e74164216f3ff27e278a7eee2614b0eee7eb37_11e74164216f3ff27e278a7eee2614b0eee7eb37/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/11e74164216f3ff27e278a7eee2614b0eee7eb37_11e74164216f3ff27e278a7eee2614b0eee7eb37/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 38.84% (10269/26441) |
   | Line Coverage     | 29.90% (85302/285290) |
   | Region Coverage   | 28.55% (43959/153977) |
   | Branch Coverage   | 25.28% (22486/88936) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](parquet)Fixed the problem that when Parquert reader use index to read files, there will be multiple threads modify same object (#50161) [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #50496:
URL: https://github.com/apache/doris/pull/50496#issuecomment-2853096442

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org