cjj2010 opened a new issue, #35857:
URL: https://github.com/apache/doris/issues/35857

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.1.0
   
   ### What's Wrong?
   
   Fe appears StackOverflowError, msg: null
   
   
   ### What You Expected?
   
   Avoid stack overflow
   
   ### How to Reproduce?
   
   Preparation work:
   ```
   CREATE TABLE regression_test.table_hash
   (
       k1 TINYINT,
       k2 DECIMAL(10, 2) DEFAULT "10.5",
       k3 CHAR(10) COMMENT "string column",
       k4 INT NOT NULL DEFAULT "1" COMMENT "int column"
   )
       DISTRIBUTED BY HASH(k1) BUCKETS 32
       PROPERTIES (
       "replication_num" = "1"
                  );
   
   
   CREATE TABLE regression_test.table_hash2
   (
       s1 TINYINT,
       s2 DECIMAL(10, 2) DEFAULT "10.5",
       s3 CHAR(10) COMMENT "string column",
       s4 INT NOT NULL DEFAULT "1" COMMENT "int column"
   )
       DISTRIBUTED BY HASH(s1) BUCKETS 32
       PROPERTIES (
       "replication_num" = "1"
                  );
   ```
   
   one step
   ```
   CREATE VIEW example_db.example_view
   AS select * from regression_test.table_hash
                        join example_db.table_hash2 t on table_hash.k1 = t.s1
   ```
   
   ```
   CREATE VIEW example_db.example_view2
   AS select s1 from regression_test.table_hash tb1
       join example_db.example_view t on t.s1 = tb1.k1
   ```
   
   Two step
   ```
   alter VIEW example_db.example_view
   AS select * from regression_test.table_hash
                        join example_db.example_view2 t on table_hash.k1 = t.s1
   ```
   
   Three step
   ```
   select * from example_db.example_view k
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to