You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "morningman (via GitHub)" <gi...@apache.org> on 2026/05/25 18:15:47 UTC
[PR] branch-4.0: [fix](regression-test) fix res.size property access in nested type create_table plugin [doris]
morningman opened a new pull request, #63644:
URL: https://github.com/apache/doris/pull/63644
## Summary
Replace `res.size` / `res[i].size` property accesses with `res.size()` / `res[i].size()` method calls in `regression-test/plugins/plugins_create_table_nested_type.groovy`.
On the Groovy runtime used by the regression framework, `java.util.ArrayList` does not expose `size` as a JavaBean property (there is no `getSize()`), so the property access falls through to the `getAt(Iterable, ...)` path, which iterates the outer list and tries to read `.size` from each inner `Integer` element, throwing:
```
groovy.lang.MissingPropertyException: Exception evaluating property 'size' for
java.util.ArrayList, Reason: groovy.lang.MissingPropertyException:
No such property: size for class: java.lang.Integer
```
This makes the test `datatype_p0.nested_types.create_table.create_table_with_nested_type` fail in ~15 ms before any DDL is sent to FE. The test is currently muted on TeamCity (under investigation); this fix should unblock unmuting.
```diff
- for (int i = 0; i < res.size; i++) {
+ for (int i = 0; i < res.size(); i++) {
def date_type_str = ""
- for (int j = 0; j < res[i].size; j++) {
+ for (int j = 0; j < res[i].size(); j++) {
date_type_str += res[i][j] + " "
}
```
Note: this file is byte-identical with `apache/master` and the same bug exists upstream. A corresponding fix on master is recommended as a follow-up.
## Test plan
- [ ] Once merged, unmute `datatype_p0.create_table_with_nested_type` and confirm the suite at least progresses past the closure entry point (Groovy-layer error is resolved).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] branch-4.0: [fix](regression-test) fix three muted test cases (Groovy property access + flaky SHOW PROCESSLIST) [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #63644:
URL: https://github.com/apache/doris/pull/63644#issuecomment-4553609791
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] branch-4.0: [fix](regression-test) fix three muted test cases (Groovy property access + flaky SHOW PROCESSLIST) [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #63644:
URL: https://github.com/apache/doris/pull/63644#issuecomment-4553610319
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] branch-4.0: [fix](regression-test) fix three muted test cases (Groovy property access + flaky SHOW PROCESSLIST) [doris]
Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #63644:
URL: https://github.com/apache/doris/pull/63644
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] branch-4.0: [fix](regression-test) fix three muted test cases (Groovy property access + flaky SHOW PROCESSLIST) [doris]
Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on PR #63644:
URL: https://github.com/apache/doris/pull/63644#issuecomment-4553523337
skip buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] branch-4.0: [fix](regression-test) fix res.size property access in nested type create_table plugin [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #63644:
URL: https://github.com/apache/doris/pull/63644#issuecomment-4536281658
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
Please clearly describe your PR:
1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
3. What features were added. Why was this function added?
4. Which code was refactored and why was this part of the code refactored?
5. Which functions were optimized and what is the difference before and after the optimization?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] branch-4.0: [fix](regression-test) fix three muted test cases (Groovy property access + flaky SHOW PROCESSLIST) [doris]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #63644:
URL: https://github.com/apache/doris/pull/63644#issuecomment-4536337945
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