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

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   In some python_udf p0 tests, two tables with the same name exist under the 
same database, and one was just created when the other was tested and dropped.
   
   ```text
   2026-02-02 18:53:05.163 INFO [suite-thread-16] (Suite.groovy:572) - Execute 
sql: DROP TABLE IF EXISTS test_conditional_module;
   
   ...
   
   Exception in pythonudtf_p0/test_pythonudtf_exceptions_module.groovy(line 
445):
       
               sql """
               INSERT INTO test_conditional_module VALUES 
               (1, -10),
               (2, 0),
               (3, 50),
               (4, 200),
               (5, NULL);
               """
               
               qt_conditional_process """
       ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^
                   SELECT id, tmp.input, tmp.category, tmp.result
                   FROM test_conditional_module
                   LATERAL VIEW udtf_conditional_process_module(val) tmp AS 
input, category, result
                   ORDER BY id;
               """
               
               // Test 6.2: Yield Control - No Output Case
               sql """ DROP FUNCTION IF EXISTS udtf_filter_yield_module(INT); 
"""
               sql """
               CREATE TABLES FUNCTION udtf_filter_yield_module(INT)
       
   Exception:  java.sql.SQLException: errCode = 2, detailMessage = Table 
[test_conditional_module] does not exist in database 
[regression_test_pythonudtf_p0].(line 3, pos 17)
   
   ```
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to