You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "uchenily (via GitHub)" <gi...@apache.org> on 2025/10/14 08:24:20 UTC

[PR] [opt](ann index) Support product quantization [doris]

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

   ### What problem does this PR solve?
   
   Support product quantization for ann index.
   
   ```sql
   create table product_quantization (
       id int not null,
       vec array<float> not null,
       index ann_idx (vec)
           using ann properties ('index_type'='hnsw', 'metric_type'='l2_distance', 'dim'='4', 'quantizer'='pq', 'pq_m'='2', 'pq_nbits'='2'))
       engine=olap
       duplicate key(id)
       distributed by hash(id) buckets 1
       properties('replication_num' = '1');
   ```
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### 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] [opt](ann index) Support product quantization [doris]

Posted by "airborne12 (via GitHub)" <gi...@apache.org>.
airborne12 commented on code in PR #56954:
URL: https://github.com/apache/doris/pull/56954#discussion_r2431413258


##########
be/src/olap/rowset/segment_v2/ann_index/faiss_ann_index.cpp:
##########
@@ -151,11 +151,24 @@ struct FaissIndexReader : faiss::IOReader {
     lucene::store::IndexInput* _input = nullptr;
 };
 
-void FaissVectorIndex::train(vectorized::Int64 n, const float* x) {
+doris::Status FaissVectorIndex::train(vectorized::Int64 n, const float* x) {
     DCHECK(x != nullptr);
     DCHECK(_index != nullptr);
+
+    // For PQ index, check if we have enough training data
+    if (_params.quantizer == FaissBuildParameter::Quantizer::PQ) {
+        int k = 1 << _params.pq_nbits;
+        if (n < k) {
+            // Not enough training data
+            LOG(WARNING) << "Not enough training data for PQ index: " << n << " < " << k;
+            return doris::Status::RuntimeError("Not enough training data for PQ index");
+        }
+    }
+
     omp_set_num_threads(config::omp_threads_limit);
     _index->train(n, x);

Review Comment:
   Is there any possible that train function throws an exception inside



-- 
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] [opt](ann index) Support product quantization [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #56954:
URL: https://github.com/apache/doris/pull/56954#issuecomment-3404889912

   PR approved by anyone and no changes requested.


-- 
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] [opt](ann index) Support product quantization [doris]

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

   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] [opt](ann index) Support product quantization [doris]

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

   
   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] [opt](ann index) Support product quantization [doris]

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

   # BE Regression && UT Coverage Report
   Increment line coverage `83.72% (36/43)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/56954_5099ebe9e42678351cb4352ecc06f83ae597f409_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/56954_5099ebe9e42678351cb4352ecc06f83ae597f409_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 71.45% (23799/33310) |
   | Line Coverage     | 57.78% (247502/428340) |
   | Region Coverage   | 52.73% (204817/388413) |
   | Branch Coverage   | 54.52% (88257/161880) |


-- 
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] [opt](ann index) Support product quantization [doris]

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

   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] [opt](ann index) Support product quantization [doris]

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

   # BE Regression && UT Coverage Report
   Increment line coverage `84.62% (22/26)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/56954_41a7e073a38e0aff34c7948220fb2acfaee71936_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/56954_41a7e073a38e0aff34c7948220fb2acfaee71936_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 71.34% (23632/33125) |
   | Line Coverage     | 57.74% (246843/427525) |
   | Region Coverage   | 52.78% (204585/387584) |
   | Branch Coverage   | 54.70% (88525/161843) |


-- 
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] [opt](ann index) Support product quantization [doris]

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

   # FE Regression Coverage Report
   Increment line coverage `  65.52% (19/29)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/56954_41a7e073a38e0aff34c7948220fb2acfaee71936_merge_fe/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/56954_41a7e073a38e0aff34c7948220fb2acfaee71936_merge_fe/report/index.html)
   


-- 
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] [opt](ann index) Support product quantization [doris]

Posted by "uchenily (via GitHub)" <gi...@apache.org>.
uchenily commented on code in PR #56954:
URL: https://github.com/apache/doris/pull/56954#discussion_r2431946797


##########
be/src/olap/rowset/segment_v2/ann_index/faiss_ann_index.cpp:
##########
@@ -151,11 +151,24 @@ struct FaissIndexReader : faiss::IOReader {
     lucene::store::IndexInput* _input = nullptr;
 };
 
-void FaissVectorIndex::train(vectorized::Int64 n, const float* x) {
+doris::Status FaissVectorIndex::train(vectorized::Int64 n, const float* x) {
     DCHECK(x != nullptr);
     DCHECK(_index != nullptr);
+
+    // For PQ index, check if we have enough training data
+    if (_params.quantizer == FaissBuildParameter::Quantizer::PQ) {
+        int k = 1 << _params.pq_nbits;
+        if (n < k) {
+            // Not enough training data
+            LOG(WARNING) << "Not enough training data for PQ index: " << n << " < " << k;
+            return doris::Status::RuntimeError("Not enough training data for PQ index");
+        }
+    }
+
     omp_set_num_threads(config::omp_threads_limit);
     _index->train(n, x);

Review Comment:
   Yes, both train and add functions may throw exceptions in code. but so far, only when no enough traning data for PQ index will throw a real exception.



-- 
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] [opt](ann index) Support product quantization [doris]

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

   # FE UT Coverage Report
   Increment line coverage `  0.00% (0/27)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/56954_2cce9f65724a78286e6220b16d7f04fab8e12fd9/fe_increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/56954_2cce9f65724a78286e6220b16d7f04fab8e12fd9/fe_report/index.html)
   


-- 
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] [opt](ann index) Support product quantization [doris]

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

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 32.15 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 5099ebe9e42678351cb4352ecc06f83ae597f409, data reload: false
   
   query1	0.07	0.06	0.06
   query2	0.11	0.06	0.06
   query3	0.26	0.10	0.10
   query4	1.61	0.13	0.13
   query5	0.30	0.27	0.29
   query6	1.18	0.68	0.69
   query7	0.04	0.04	0.03
   query8	0.06	0.06	0.05
   query9	0.67	0.57	0.57
   query10	0.64	0.63	0.63
   query11	0.19	0.13	0.14
   query12	0.17	0.14	0.14
   query13	0.66	0.64	0.64
   query14	1.10	1.07	1.05
   query15	0.92	0.91	0.93
   query16	0.43	0.45	0.44
   query17	1.17	1.29	1.12
   query18	0.23	0.22	0.22
   query19	2.05	1.96	1.96
   query20	0.02	0.01	0.02
   query21	15.39	1.14	0.68
   query22	0.80	1.48	0.89
   query23	14.75	1.56	0.69
   query24	7.42	1.56	0.47
   query25	0.30	0.10	0.08
   query26	0.58	0.19	0.16
   query27	0.06	0.07	0.07
   query28	8.71	1.46	0.95
   query29	12.65	4.57	3.77
   query30	0.29	0.15	0.14
   query31	2.84	0.66	0.42
   query32	3.26	0.58	0.51
   query33	3.17	3.28	3.22
   query34	16.25	5.56	4.96
   query35	5.01	4.98	5.02
   query36	0.76	0.54	0.53
   query37	0.11	0.08	0.08
   query38	0.07	0.05	0.05
   query39	0.05	0.03	0.03
   query40	0.20	0.16	0.16
   query41	0.10	0.03	0.03
   query42	0.05	0.04	0.04
   query43	0.06	0.04	0.04
   Total cold run time: 104.76 s
   Total hot run time: 32.15 s
   ```
   </details>
   


-- 
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] [opt](ann index) Support product quantization [doris]

Posted by "airborne12 (via GitHub)" <gi...@apache.org>.
airborne12 commented on code in PR #56954:
URL: https://github.com/apache/doris/pull/56954#discussion_r2443743244


##########
be/src/olap/rowset/segment_v2/ann_index/faiss_ann_index.cpp:
##########
@@ -151,11 +151,24 @@ struct FaissIndexReader : faiss::IOReader {
     lucene::store::IndexInput* _input = nullptr;
 };
 
-void FaissVectorIndex::train(vectorized::Int64 n, const float* x) {
+doris::Status FaissVectorIndex::train(vectorized::Int64 n, const float* x) {
     DCHECK(x != nullptr);
     DCHECK(_index != nullptr);
+
+    // For PQ index, check if we have enough training data
+    if (_params.quantizer == FaissBuildParameter::Quantizer::PQ) {
+        int k = 1 << _params.pq_nbits;
+        if (n < k) {
+            // Not enough training data
+            LOG(WARNING) << "Not enough training data for PQ index: " << n << " < " << k;
+            return doris::Status::RuntimeError("Not enough training data for PQ index");
+        }
+    }
+
     omp_set_num_threads(config::omp_threads_limit);
     _index->train(n, x);

Review Comment:
   I wonder if we need a try excepation catcher here?



-- 
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] [opt](ann index) Support product quantization [doris]

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

   # FE UT Coverage Report
   Increment line coverage `  0.00% (0/29)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/56954_41a7e073a38e0aff34c7948220fb2acfaee71936/fe_increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/56954_41a7e073a38e0aff34c7948220fb2acfaee71936/fe_report/index.html)
   


-- 
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] [opt](ann index) Support product quantization [doris]

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

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 41a7e073a38e0aff34c7948220fb2acfaee71936, data reload: false
   
   query1	0.05	0.04	0.05
   query2	0.09	0.05	0.06
   query3	0.25	0.09	0.09
   query4	1.61	0.12	0.11
   query5	0.28	0.27	0.26
   query6	1.18	0.64	0.65
   query7	0.03	0.03	0.03
   query8	0.06	0.04	0.04
   query9	0.63	0.52	0.51
   query10	0.58	0.57	0.57
   query11	0.16	0.11	0.11
   query12	0.16	0.12	0.12
   query13	0.65	0.62	0.62
   query14	1.04	1.06	1.04
   query15	0.87	0.86	0.85
   query16	0.41	0.42	0.39
   query17	1.05	1.07	1.04
   query18	0.22	0.21	0.20
   query19	1.89	1.91	1.83
   query20	0.02	0.02	0.01
   query21	15.41	0.93	0.59
   query22	0.78	1.22	0.66
   query23	14.92	1.42	0.62
   query24	6.99	1.37	0.39
   query25	0.29	0.20	0.09
   query26	0.61	0.16	0.14
   query27	0.07	0.05	0.05
   query28	9.37	1.43	0.92
   query29	12.59	3.89	3.30
   query30	0.29	0.13	0.12
   query31	2.84	0.63	0.39
   query32	3.25	0.55	0.47
   query33	3.04	3.08	3.06
   query34	16.16	5.43	4.86
   query35	4.94	4.95	4.90
   query36	0.72	0.51	0.51
   query37	0.11	0.07	0.08
   query38	0.07	0.04	0.04
   query39	0.04	0.03	0.04
   query40	0.17	0.16	0.15
   query41	0.09	0.03	0.03
   query42	0.04	0.03	0.02
   query43	0.04	0.04	0.04
   Total cold run time: 104.06 s
   Total hot run time: 30 s
   ```
   </details>
   


-- 
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] [opt](ann index) Support product quantization [doris]

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

   # BE UT Coverage Report
   Increment line coverage `30.77% (8/26)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/41a7e073a38e0aff34c7948220fb2acfaee71936_41a7e073a38e0aff34c7948220fb2acfaee71936/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/41a7e073a38e0aff34c7948220fb2acfaee71936_41a7e073a38e0aff34c7948220fb2acfaee71936/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 52.55% (17755/33790) |
   | Line Coverage     | 37.75% (161486/427779) |
   | Region Coverage   | 32.20% (123221/382634) |
   | Branch Coverage   | 33.63% (54124/160954) |


-- 
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] [opt](ann index) Support product quantization [doris]

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


-- 
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] [opt](ann index) Support product quantization [doris]

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

   # BE Regression && UT Coverage Report
   Increment line coverage `84.62% (22/26)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/56954_2cce9f65724a78286e6220b16d7f04fab8e12fd9_merge/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/56954_2cce9f65724a78286e6220b16d7f04fab8e12fd9_merge/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 71.25% (23601/33124) |
   | Line Coverage     | 57.61% (246303/427507) |
   | Region Coverage   | 52.65% (204045/387570) |
   | Branch Coverage   | 54.50% (88191/161831) |


-- 
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] [opt](ann index) Support product quantization [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #56954:
URL: https://github.com/apache/doris/pull/56954#issuecomment-3420481355

   PR approved by at least one committer and no changes requested.


-- 
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] [opt](ann index) Support product quantization [doris]

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

   # BE UT Coverage Report
   Increment line coverage `51.16% (22/43)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/5099ebe9e42678351cb4352ecc06f83ae597f409_5099ebe9e42678351cb4352ecc06f83ae597f409/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/5099ebe9e42678351cb4352ecc06f83ae597f409_5099ebe9e42678351cb4352ecc06f83ae597f409/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 52.61% (17875/33977) |
   | Line Coverage     | 37.83% (162125/428588) |
   | Region Coverage   | 32.23% (123589/383455) |
   | Branch Coverage   | 33.66% (54181/160985) |


-- 
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] [opt](ann index) Support product quantization [doris]

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

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.49 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 2cce9f65724a78286e6220b16d7f04fab8e12fd9, data reload: false
   
   query1	0.05	0.05	0.05
   query2	0.09	0.05	0.05
   query3	0.25	0.08	0.09
   query4	1.61	0.12	0.12
   query5	0.28	0.26	0.25
   query6	1.16	0.65	0.64
   query7	0.03	0.02	0.02
   query8	0.05	0.04	0.04
   query9	0.63	0.53	0.53
   query10	0.59	0.60	0.58
   query11	0.17	0.11	0.12
   query12	0.15	0.12	0.12
   query13	0.62	0.62	0.62
   query14	1.03	1.03	1.01
   query15	0.85	0.85	0.88
   query16	0.39	0.41	0.41
   query17	1.05	1.08	1.04
   query18	0.21	0.20	0.20
   query19	1.96	1.85	1.88
   query20	0.01	0.02	0.01
   query21	15.44	0.96	0.57
   query22	0.75	1.11	0.64
   query23	15.07	1.38	0.63
   query24	6.78	1.46	0.82
   query25	0.53	0.21	0.07
   query26	0.53	0.16	0.14
   query27	0.06	0.05	0.06
   query28	9.33	1.39	0.94
   query29	12.54	3.97	3.31
   query30	0.28	0.14	0.11
   query31	2.83	0.60	0.39
   query32	3.23	0.56	0.48
   query33	3.05	3.08	3.12
   query34	16.10	5.45	4.88
   query35	4.95	4.94	4.96
   query36	0.69	0.51	0.50
   query37	0.10	0.07	0.07
   query38	0.07	0.04	0.04
   query39	0.04	0.03	0.03
   query40	0.18	0.16	0.14
   query41	0.08	0.03	0.03
   query42	0.04	0.02	0.02
   query43	0.04	0.04	0.03
   Total cold run time: 103.89 s
   Total hot run time: 30.49 s
   ```
   </details>
   


-- 
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] [opt](ann index) Support product quantization [doris]

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

   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] [opt](ann index) Support product quantization [doris]

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

   # BE UT Coverage Report
   Increment line coverage `30.77% (8/26)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/2cce9f65724a78286e6220b16d7f04fab8e12fd9_2cce9f65724a78286e6220b16d7f04fab8e12fd9/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/2cce9f65724a78286e6220b16d7f04fab8e12fd9_2cce9f65724a78286e6220b16d7f04fab8e12fd9/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 52.54% (17754/33789) |
   | Line Coverage     | 37.75% (161477/427761) |
   | Region Coverage   | 32.18% (123143/382620) |
   | Branch Coverage   | 33.63% (54125/160942) |


-- 
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] [opt](ann index) Support product quantization [doris]

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

   # FE Regression Coverage Report
   Increment line coverage `  66.67% (18/27)` :tada:
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/56954_2cce9f65724a78286e6220b16d7f04fab8e12fd9_merge_fe/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/56954_2cce9f65724a78286e6220b16d7f04fab8e12fd9_merge_fe/report/index.html)
   


-- 
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