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

[GitHub] [doris] bobhan1 opened a new pull request, #21597: [feature](partial update) support MOW partial update for insert statement

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

   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.82 seconds
    stream load tsv:          577 seconds loaded 74807831229 Bytes, about 123 MB/s
    stream load json:         21 seconds loaded 2358488459 Bytes, about 107 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
    insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
    storage size: 17162172875 Bytes


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   run p0


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   run clickbench


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   run feut


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   run feut


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 51 seconds
    stream load tsv:          599 seconds loaded 74807831229 Bytes, about 119 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
    storage size: 17162411437 Bytes


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


[GitHub] [doris] github-actions[bot] commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   clang-tidy review says "All clean, LGTM! :+1:"


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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 54.92 seconds
    stream load tsv:          504 seconds loaded 74807831229 Bytes, about 141 MB/s
    stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          28.4 seconds inserted 10000000 Rows, about 352K ops/s
    storage size: 17162428055 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230711114337_clickbench_pr_176129.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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] zhannngchen commented on a diff in pull request #21597: [feature](partial update) support MOW partial update for insert statement

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


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/NativeInsertStmt.java:
##########
@@ -1074,4 +1081,58 @@ public int getBaseSchemaVersion() {
     public ByteString getRangeBytes() {
         return rangeBytes;
     }
+
+    public void setIsFromDeleteOrUpdateStmt(boolean isFromDeleteOrUpdateStmt) {
+        this.isFromDeleteOrUpdateStmt = isFromDeleteOrUpdateStmt;
+    }
+
+    private void trySetPartialUpdate() throws UserException {
+        if (isFromDeleteOrUpdateStmt || isPartialUpdate || !(targetTable instanceof OlapTable)) {
+            return;
+        }
+        OlapTable olapTable = (OlapTable) targetTable;
+        if (!olapTable.getEnableUniqueKeyMergeOnWrite()) {
+            return;
+        }
+        int count = 0;
+        for (Column col : olapTable.getFullSchema()) {
+            boolean exists = false;
+            for (Column insertCol : targetColumns) {
+                if (insertCol.getName() != null && insertCol.getName().equals(col.getName())) {
+                    if (!col.isVisible()) {

Review Comment:
   should not fallback to row upsert in such case



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


[GitHub] [doris] github-actions[bot] commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 46.49 seconds
    stream load tsv:          614 seconds loaded 74807831229 Bytes, about 116 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
    storage size: 17162319339 Bytes


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


[GitHub] [doris] github-actions[bot] commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.24 seconds
    stream load tsv:          508 seconds loaded 74807831229 Bytes, about 140 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
    storage size: 17162644569 Bytes


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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 53.13 seconds
    stream load tsv:          509 seconds loaded 74807831229 Bytes, about 140 MB/s
    stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          87.8 seconds inserted 10000000 Rows, about 113K ops/s
    storage size: 17164073040 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230707105928_clickbench_pr_174068.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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 48.48 seconds
    stream load tsv:          460 seconds loaded 74807831229 Bytes, about 155 MB/s
    stream load json:         21 seconds loaded 2358488459 Bytes, about 107 MB/s
    stream load orc:          56 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
    insert into select:          68.5 seconds inserted 10000000 Rows, about 145K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230707025434_clickbench_pr_174077.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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 49.43 seconds
    stream load tsv:          612 seconds loaded 74807831229 Bytes, about 116 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          28.8 seconds inserted 10000000 Rows, about 347K ops/s
    storage size: 17162424088 Bytes


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 46.88 seconds
    stream load tsv:          598 seconds loaded 74807831229 Bytes, about 119 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
    storage size: 17162365192 Bytes


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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.06 seconds
    stream load tsv:          600 seconds loaded 74807831229 Bytes, about 118 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
    storage size: 17162261347 Bytes


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


[GitHub] [doris] xiaokang merged pull request #21597: [feature](partial update) support MOW partial update for insert statement

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


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


[GitHub] [doris] dataroaring commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   为什么一个列被定义为default null然后has_default_value()是false?如果这个不是bug的话需要https://github.com/apache/doris/pull/21623等合入。


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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 51.08 seconds
    stream load tsv:          464 seconds loaded 74807831229 Bytes, about 153 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          56 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
    insert into select:          68.5 seconds inserted 10000000 Rows, about 145K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230706154314_clickbench_pr_173882.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


[GitHub] [doris] zhannngchen commented on a diff in pull request #21597: [feature](partial update) support MOW partial update for insert statement

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


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/NativeInsertStmt.java:
##########
@@ -914,4 +918,60 @@ public RedirectStatus getRedirectStatus() {
             return RedirectStatus.FORWARD_WITH_SYNC;
         }
     }
+
+    public void setIsFromDeleteOrUpdateStmt(boolean isFromDeleteOrUpdateStmt) {
+        this.isFromDeleteOrUpdateStmt = isFromDeleteOrUpdateStmt;
+    }
+
+    private void trySetPartialUpdate() throws UserException {
+        LOG.info("[trySetPartialUpdate] {}, {}, {}", isFromDeleteOrUpdateStmt, isPartialUpdate, targetTable);
+        if (isFromDeleteOrUpdateStmt || isPartialUpdate || !(targetTable instanceof OlapTable)) {
+            return;
+        }
+        OlapTable olapTable = (OlapTable) targetTable;
+        LOG.info("[trySetPartialUpdate] targetColumns: {}; FullSchema: {}", targetColumns, olapTable.getFullSchema());
+        if (!olapTable.getEnableUniqueKeyMergeOnWrite()) {
+            LOG.info("[trySetPartialUpdate] not MOW");
+            return;
+        }
+        int count = 0;
+        for (Column col : olapTable.getFullSchema()) {
+            boolean exists = false;
+            for (Column insertCol : targetColumns) {
+                if (insertCol.getName() != null && insertCol.getName().equals(col.getName())) {
+                    if (!col.isVisible()) {
+                        return;
+                    }
+                    exists = true;
+                    break;
+                }
+            }
+            LOG.info("col: {}, exists: {}, visible: {}", col, exists, col.isVisible());
+            if (col.isKey() && !exists) {
+                throw new UserException("Partial update should include all key columns, missing: " + col.getName());
+            }
+            if (exists || (col.isVisible() && !col.hasDefaultValue())) {
+                ++count;
+            }
+        }
+        LOG.info("[trySetPartialUpdate]: count: {}, targetColumns.size(): {}", count, targetColumns.size());

Review Comment:
   Too many info logs here, most of them should be debug level



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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] xiaokang commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 48.39 seconds
    stream load tsv:          593 seconds loaded 74807831229 Bytes, about 120 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
    storage size: 17162659956 Bytes


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   run feut


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] dataroaring commented on a diff in pull request #21597: [feature](partial update) support MOW partial update for insert statement

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


##########
regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_native_insert_stmt.groovy:
##########
@@ -0,0 +1,50 @@
+
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+suite("test_partial_update_native_insert_stmt", "p0") {
+    def tableName = "test_primary_key_partial_update"
+
+    // create table
+    sql """ DROP TABLE IF EXISTS ${tableName} """
+    sql """
+            CREATE TABLE ${tableName} (
+                `id` int(11) NOT NULL COMMENT "用户 ID",
+                `name` varchar(65533) NOT NULL COMMENT "用户姓名",
+                `score` int(11) NOT NULL COMMENT "用户得分",
+                `test` int(11) NULL COMMENT "null test",
+                `dft` int(11) DEFAULT "4321")
+                UNIQUE KEY(`id`) DISTRIBUTED BY HASH(`id`) BUCKETS 1
+                PROPERTIES("replication_num" = "1", "enable_unique_key_merge_on_write" = "true")
+    """
+    sql """
+        insert into ${tableName} values(2, "doris2", 2000, 223, 1),(1, "doris", 1000, 123, 1)
+    """
+
+    sql """
+        insert into ${tableName}(id,score) values(2,400),(1,200)
+    """
+

Review Comment:
   add a case 
   insert into (id, score) values(4, 400)



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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 50.33 seconds
    stream load tsv:          531 seconds loaded 74807831229 Bytes, about 134 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          28.7 seconds inserted 10000000 Rows, about 348K ops/s
    storage size: 17171164285 Bytes


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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 53.68 seconds
    stream load tsv:          509 seconds loaded 74807831229 Bytes, about 140 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
    insert into select:          87.1 seconds inserted 10000000 Rows, about 114K ops/s
    storage size: 17162618037 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230706234725_clickbench_pr_173884.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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.91 seconds
    stream load tsv:          601 seconds loaded 74807831229 Bytes, about 118 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
    insert into select:          28.6 seconds inserted 10000000 Rows, about 349K ops/s
    storage size: 17162497991 Bytes


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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 48.27 seconds
    stream load tsv:          599 seconds loaded 74807831229 Bytes, about 119 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
    storage size: 17162357796 Bytes


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] morrySnow commented on a diff in pull request #21597: [feature](partial update) support MOW partial update for insert statement

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


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/NativeInsertStmt.java:
##########
@@ -405,8 +406,9 @@ public void analyze(Analyzer analyzer) throws UserException {
             OlapTableSink sink = (OlapTableSink) dataSink;
             TUniqueId loadId = analyzer.getContext().queryId();
             int sendBatchParallelism = analyzer.getContext().getSessionVariable().getSendBatchParallelism();
+            boolean isInsertStrict = analyzer.getContext().getSessionVariable().getEnableInsertStrict();
             sink.init(loadId, transactionId, db.getId(), timeoutSecond,
-                    sendBatchParallelism, false, false, isInsertIgnore);
+                    sendBatchParallelism, false, isInsertStrict, isInsertIgnore);            

Review Comment:
   please add this feature to nereids' dml too



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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 52.97 seconds
    stream load tsv:          504 seconds loaded 74807831229 Bytes, about 141 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          86.6 seconds inserted 10000000 Rows, about 115K ops/s
    storage size: 17164221953 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230707174850_clickbench_pr_174408.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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   correctness_p0/test_sequence_col_default_value.groovy需要等https://github.com/apache/doris/pull/21592合入才能过


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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 52.4 seconds
    stream load tsv:          447 seconds loaded 74807831229 Bytes, about 159 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          56 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
    insert into select:          69.6 seconds inserted 10000000 Rows, about 143K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230707100123_clickbench_pr_174420.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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 52.99 seconds
    stream load tsv:          505 seconds loaded 74807831229 Bytes, about 141 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
    storage size: 17170269726 Bytes


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] github-actions[bot] commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] zhannngchen commented on a diff in pull request #21597: [feature](partial update) support MOW partial update for insert statement

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


##########
regression-test/suites/unique_with_mow_p0/partial_update/test_partial_update_native_insert_stmt.groovy:
##########
@@ -0,0 +1,191 @@
+
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+suite("test_partial_update_native_insert_stmt", "p0") {
+
+    def tableName = "test_partial_update_native_insert_stmt"
+    sql """ DROP TABLE IF EXISTS ${tableName} """
+    sql """
+            CREATE TABLE ${tableName} (
+                `id` int(11) NOT NULL COMMENT "用户 ID",
+                `name` varchar(65533) NOT NULL DEFAULT "yixiu" COMMENT "用户姓名",
+                `score` int(11) NOT NULL COMMENT "用户得分",
+                `test` int(11) NULL COMMENT "null test",
+                `dft` int(11) DEFAULT "4321")
+                UNIQUE KEY(`id`) DISTRIBUTED BY HASH(`id`) BUCKETS 1
+                PROPERTIES("replication_num" = "1", "enable_unique_key_merge_on_write" = "true")
+    """
+    sql """insert into ${tableName} values(2, "doris2", 2000, 223, 1),(1, "doris", 1000, 123, 1)"""
+    qt_1 """ select * from ${tableName} order by id; """
+    sql "set enable_unique_key_partial_update=true;"
+    sql "set enable_insert_strict = false;"
+    sql "sync;"
+    // partial update using insert stmt in non-strict mode,
+    // existing rows should be updated and new rows should be inserted with unmentioned columns filled with default or null value
+    sql """insert into ${tableName}(id,score) values(2,400),(1,200),(4,400)"""
+    qt_1 """ select * from ${tableName} order by id; """
+    sql "set enable_unique_key_partial_update=false;"
+    sql "sync;"
+    sql """ DROP TABLE IF EXISTS ${tableName} """
+
+
+    def tableName2 = "test_partial_update_native_insert_stmt2" 
+    sql """ DROP TABLE IF EXISTS ${tableName2} """
+    sql """
+            CREATE TABLE ${tableName2} (
+                `id` int(11) NOT NULL COMMENT "用户 ID",
+                `name` varchar(65533) DEFAULT "unknown" COMMENT "用户姓名",
+                `score` int(11) NOT NULL COMMENT "用户得分",
+                `test` int(11) NULL COMMENT "null test",
+                `dft` int(11) DEFAULT "4321",
+                `update_time` date NULL)
+            UNIQUE KEY(`id`) DISTRIBUTED BY HASH(`id`) BUCKETS 1
+            PROPERTIES(
+                "replication_num" = "1",
+                "enable_unique_key_merge_on_write" = "true",
+                "function_column.sequence_col" = "update_time"
+            )"""
+    sql """ insert into ${tableName2} values
+            (2, "doris2", 2000, 223, 1, '2023-01-01'),
+            (1, "doris", 1000, 123, 1, '2023-01-01');"""
+    qt_2 "select * from ${tableName2} order by id;"
+    sql "set enable_unique_key_partial_update=true;"
+    sql "set enable_insert_strict = false;"
+    sql "sync;"
+    // partial update with seq col
+    sql """ insert into ${tableName2}(id,score,update_time) values
+            (2,2500,"2023-07-19"),
+            (2,2600,"2023-07-20"),
+            (1,1300,"2022-07-19"),
+            (3,1500,"2022-07-20"),
+            (3,2500,"2022-07-18"); """
+    qt_2 "select * from ${tableName2} order by id;"
+    sql "set enable_unique_key_partial_update=false;"
+    sql "sync;"
+    sql """ DROP TABLE IF EXISTS ${tableName2}; """
+
+
+    def tableName3 = "test_partial_update_native_insert_stmt3"
+    sql """ DROP TABLE IF EXISTS ${tableName3}; """
+    sql """
+            CREATE TABLE ${tableName3} (
+                `id` int(11) NOT NULL COMMENT "用户 ID",
+                `name` varchar(65533) NOT NULL COMMENT "用户姓名",
+                `score` int(11) NOT NULL COMMENT "用户得分",
+                `test` int(11) NULL COMMENT "null test",
+                `dft` int(11) DEFAULT "4321")
+                UNIQUE KEY(`id`) DISTRIBUTED BY HASH(`id`) BUCKETS 1
+                PROPERTIES("replication_num" = "1", "enable_unique_key_merge_on_write" = "true")
+    """
+    sql """insert into ${tableName3} values(2, "doris2", 2000, 223, 1),(1, "doris", 1000, 123, 1);"""
+    qt_3 """ select * from ${tableName3} order by id; """
+    sql "set enable_unique_key_partial_update=true;"
+    sql "sync;"
+    // in partial update, the unmentioned columns should have default values or be nullable
+    // but field `name` is not nullable and doesn't have default value
+    test {
+        sql """insert into ${tableName3}(id,score) values(2,400),(1,200),(4,400)"""
+        exception "INTERNAL_ERROR"
+    }
+    sql "set enable_unique_key_partial_update=false;"
+    sql "sync;"
+    qt_3 """ select * from ${tableName3} order by id; """
+    sql """ DROP TABLE IF EXISTS ${tableName3} """
+
+
+    def tableName4 = "test_partial_update_native_insert_stmt4"
+    sql """ DROP TABLE IF EXISTS ${tableName4} """
+    sql """
+            CREATE TABLE ${tableName4} (
+                `id` int(11) NOT NULL COMMENT "用户 ID",
+                `name` varchar(65533) NOT NULL DEFAULT "yixiu" COMMENT "用户姓名",
+                `score` int(11) NULL COMMENT "用户得分",
+                `test` int(11) NULL COMMENT "null test",
+                `dft` int(11) DEFAULT "4321")
+                UNIQUE KEY(`id`) DISTRIBUTED BY HASH(`id`) BUCKETS 1
+                PROPERTIES("replication_num" = "1", "enable_unique_key_merge_on_write" = "true")
+    """
+    sql """insert into ${tableName4} values(2, "doris2", 2000, 223, 1),(1, "doris", 1000, 123, 1),(3,"doris3",5000,34,345);"""
+    qt_4 """ select * from ${tableName4} order by id; """
+    sql "set enable_unique_key_partial_update=true;"
+    sql "set enable_insert_strict = false;"
+    sql "sync;"
+    // partial update with delete sign
+    sql "insert into ${tableName4}(id,__DORIS_DELETE_SIGN__) values(2,1);"
+    qt_4 """ select * from ${tableName4} order by id; """
+    sql "set enable_unique_key_partial_update=false;"
+    sql "sync;"
+    sql """ DROP TABLE IF EXISTS ${tableName4} """
+
+
+    def tableName5 = "test_partial_update_native_insert_stmt5"
+    sql """ DROP TABLE IF EXISTS ${tableName5} """
+    sql """
+            CREATE TABLE ${tableName5} ( 
+                `id` int(11) NULL, 
+                `name` varchar(10) NULL,
+                `age` int(11) NULL DEFAULT "20", 
+                `city` varchar(10) NOT NULL DEFAULT "beijing", 
+                `balance` decimalv3(9, 0) NULL, 
+                `last_access_time` datetime NULL 
+            ) ENGINE = OLAP UNIQUE KEY(`id`) 
+            COMMENT 'OLAP' DISTRIBUTED BY HASH(`id`) 
+            BUCKETS AUTO PROPERTIES ( 
+                "replication_allocation" = "tag.location.default: 1", 
+                "storage_format" = "V2", 
+                "enable_unique_key_merge_on_write" = "true", 
+                "light_schema_change" = "true", 
+                "disable_auto_compaction" = "false", 
+                "enable_single_replica_compaction" = "false" 
+            );
+    """
+    sql """insert into ${tableName5} values(1,"kevin",18,"shenzhen",400,"2023-07-01 12:00:00");"""
+    qt_5 """select * from ${tableName5} order by id;"""
+    sql "set enable_insert_strict = true;"
+    sql "set enable_unique_key_partial_update=true;"
+    sql "sync;"
+    // partial update using insert stmt in strict mode, the max_filter_ratio is always 0
+    test {
+        sql """ insert into ${tableName5}(id,balance,last_access_time) values(1,500,"2023-07-03 12:00:01"),(3,23,"2023-07-03 12:00:02"),(18,9999999,"2023-07-03 12:00:03"); """
+        exception "Insert has filtered data in strict mode"
+    }
+    qt_5 """select * from ${tableName5} order by id;"""
+    sql "set enable_unique_key_partial_update=false;"
+    sql "set enable_insert_strict = false;"
+    sql "sync;"
+    sql """ DROP TABLE IF EXISTS ${tableName5}; """
+
+    def tableName6 = "test_partial_update_native_insert_stmt6"

Review Comment:
   We also need a case that have multiple key columns and user's statement only provide part of key columns.



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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.04 seconds
    stream load tsv:          506 seconds loaded 74807831229 Bytes, about 140 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
    storage size: 17162337900 Bytes


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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 48.56 seconds
    stream load tsv:          446 seconds loaded 74807831229 Bytes, about 159 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          25.4 seconds inserted 10000000 Rows, about 393K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230711025211_clickbench_pr_176133.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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 57.55 seconds
    stream load tsv:          502 seconds loaded 74807831229 Bytes, about 142 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          85.1 seconds inserted 10000000 Rows, about 117K ops/s
    storage size: 17162795725 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230707150019_clickbench_pr_174276.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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 48.55 seconds
    stream load tsv:          453 seconds loaded 74807831229 Bytes, about 157 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          56 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
    insert into select:          70.0 seconds inserted 10000000 Rows, about 142K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230707065702_clickbench_pr_174274.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


[GitHub] [doris] hello-stephen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.9 seconds
    stream load tsv:          551 seconds loaded 74807831229 Bytes, about 129 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          28.7 seconds inserted 10000000 Rows, about 348K ops/s
    storage size: 17162208875 Bytes


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


[GitHub] [doris] doris-robot commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 47.95 seconds
    stream load tsv:          598 seconds loaded 74807831229 Bytes, about 119 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          28.6 seconds inserted 10000000 Rows, about 349K ops/s
    storage size: 17162227878 Bytes


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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


[GitHub] [doris] zhannngchen commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   Add more cases using `INSERT INTO SELECT`


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


[GitHub] [doris] bobhan1 commented on pull request #21597: [feature](partial update) support MOW partial update for insert statement

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

   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