Skip to content

Conversation

@sollhui
Copy link
Contributor

@sollhui sollhui commented Oct 16, 2024

Set NumberLoadedRows to zero when stream load failed.

before:

stream load result: {
    "TxnId": 8589,
    "Label": "c8e7c4fe-56b2-4e3b-b4cc-4f2a94cdd003",
    "Comment": "",
    "TwoPhaseCommit": "false",
    "Status": "Fail",
    "Message": "[DATA_QUALITY_ERROR]too many filtered rows",
    "NumberTotalRows": 3,
    "NumberLoadedRows": 1,
    "NumberFilteredRows": 2,
    "NumberUnselectedRows": 0,
    "LoadBytes": 77,
    "LoadTimeMs": 78,
    "BeginTxnTimeMs": 0,
    "StreamLoadPutTimeMs": 4,
    "ReadDataTimeMs": 0,
    "WriteDataTimeMs": 72,
    "ReceiveDataTimeMs": 7,
    "CommitAndPublishTimeMs": 0,
    "ErrorURL": "XXX"
}

now:

stream load result: {
    "TxnId": 8589,
    "Label": "c8e7c4fe-56b2-4e3b-b4cc-4f2a94cdd003",
    "Comment": "",
    "TwoPhaseCommit": "false",
    "Status": "Fail",
    "Message": "[DATA_QUALITY_ERROR]too many filtered rows",
    "NumberTotalRows": 3,
    "NumberLoadedRows": 0,
    "NumberFilteredRows": 2,
    "NumberUnselectedRows": 0,
    "LoadBytes": 77,
    "LoadTimeMs": 78,
    "BeginTxnTimeMs": 0,
    "StreamLoadPutTimeMs": 4,
    "ReadDataTimeMs": 0,
    "WriteDataTimeMs": 72,
    "ReceiveDataTimeMs": 7,
    "CommitAndPublishTimeMs": 0,
    "ErrorURL": "XXX"
}

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@sollhui
Copy link
Contributor Author

sollhui commented Oct 16, 2024

run buildall

@sollhui sollhui changed the title [chore](stream load) set NumberLoadedRows to zero when stream load failed [improve](stream load) set NumberLoadedRows to zero when stream load failed Oct 16, 2024
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.46% (9707/25914)
Line Coverage: 28.72% (80586/280606)
Region Coverage: 28.17% (41705/148071)
Branch Coverage: 24.75% (21206/85698)
Coverage Report: http://coverage.selectdb-in.cc/coverage/e27fb14686155532e8120083b1356c073ef8ceba_e27fb14686155532e8120083b1356c073ef8ceba/report/index.html

@sollhui sollhui marked this pull request as draft October 16, 2024 08:32
@sollhui sollhui closed this Oct 16, 2024
@sollhui sollhui reopened this Oct 17, 2024
@sollhui sollhui changed the title [improve](stream load) set NumberLoadedRows to zero when stream load failed [improve](stream load) set NumberLoadedRows to zero when stream load transaction failed Oct 17, 2024
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@sollhui
Copy link
Contributor Author

sollhui commented Oct 17, 2024

run buildall

@sollhui sollhui marked this pull request as ready for review October 17, 2024 14:53
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.47% (9711/25919)
Line Coverage: 28.73% (80609/280614)
Region Coverage: 28.17% (41715/148085)
Branch Coverage: 24.75% (21210/85698)
Coverage Report: http://coverage.selectdb-in.cc/coverage/c2b89b5c25c297d5785139c1be2db583b699c502_c2b89b5c25c297d5785139c1be2db583b699c502/report/index.html

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@sollhui
Copy link
Contributor Author

sollhui commented Oct 18, 2024

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.46% (9709/25916)
Line Coverage: 28.74% (80636/280575)
Region Coverage: 28.17% (41718/148075)
Branch Coverage: 24.75% (21209/85688)
Coverage Report: http://coverage.selectdb-in.cc/coverage/5df736d724319a5fca21e6c91608e866dbe07b8d_5df736d724319a5fca21e6c91608e866dbe07b8d/report/index.html

@sollhui
Copy link
Contributor Author

sollhui commented Oct 18, 2024

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.47% (9710/25916)
Line Coverage: 28.73% (80611/280575)
Region Coverage: 28.17% (41717/148075)
Branch Coverage: 24.75% (21212/85688)
Coverage Report: http://coverage.selectdb-in.cc/coverage/cf38e83ba3ba29312f731c358f8a21b81af202ac_cf38e83ba3ba29312f731c358f8a21b81af202ac/report/index.html

liaoxin01
liaoxin01 previously approved these changes Oct 18, 2024
Copy link
Contributor

@liaoxin01 liaoxin01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 18, 2024
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@sollhui
Copy link
Contributor Author

sollhui commented Oct 18, 2024

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Oct 18, 2024
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.46% (9709/25916)
Line Coverage: 28.74% (80626/280546)
Region Coverage: 28.17% (41706/148048)
Branch Coverage: 24.75% (21202/85660)
Coverage Report: http://coverage.selectdb-in.cc/coverage/72da74402f9759702aa44fee0bb59d0b2817eeed_72da74402f9759702aa44fee0bb59d0b2817eeed/report/index.html

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 21, 2024
@github-actions
Copy link
Contributor

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

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dataroaring dataroaring merged commit d9f6fe3 into apache:master Oct 21, 2024
liaoxin01 pushed a commit that referenced this pull request Oct 23, 2024
yiguolei pushed a commit that referenced this pull request Oct 24, 2024
…transaction failed (#41946) (#42265)

pick (#41946)

Set NumberLoadedRows to zero when stream load failed.

before:
```
stream load result: {
    "TxnId": 8589,
    "Label": "c8e7c4fe-56b2-4e3b-b4cc-4f2a94cdd003",
    "Comment": "",
    "TwoPhaseCommit": "false",
    "Status": "Fail",
    "Message": "[DATA_QUALITY_ERROR]too many filtered rows",
    "NumberTotalRows": 3,
    "NumberLoadedRows": 1,
    "NumberFilteredRows": 2,
    "NumberUnselectedRows": 0,
    "LoadBytes": 77,
    "LoadTimeMs": 78,
    "BeginTxnTimeMs": 0,
    "StreamLoadPutTimeMs": 4,
    "ReadDataTimeMs": 0,
    "WriteDataTimeMs": 72,
    "ReceiveDataTimeMs": 7,
    "CommitAndPublishTimeMs": 0,
    "ErrorURL": "XXX"
}
```

now:
```
stream load result: {
    "TxnId": 8589,
    "Label": "c8e7c4fe-56b2-4e3b-b4cc-4f2a94cdd003",
    "Comment": "",
    "TwoPhaseCommit": "false",
    "Status": "Fail",
    "Message": "[DATA_QUALITY_ERROR]too many filtered rows",
    "NumberTotalRows": 3,
    "NumberLoadedRows": 0,
    "NumberFilteredRows": 2,
    "NumberUnselectedRows": 0,
    "LoadBytes": 77,
    "LoadTimeMs": 78,
    "BeginTxnTimeMs": 0,
    "StreamLoadPutTimeMs": 4,
    "ReadDataTimeMs": 0,
    "WriteDataTimeMs": 72,
    "ReceiveDataTimeMs": 7,
    "CommitAndPublishTimeMs": 0,
    "ErrorURL": "XXX"
}
```
@gavinchou gavinchou mentioned this pull request Nov 26, 2024
BiteTheDDDDt pushed a commit to BiteTheDDDDt/incubator-doris that referenced this pull request Feb 7, 2025
BiteTheDDDDt pushed a commit to BiteTheDDDDt/incubator-doris that referenced this pull request Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants