wanggx opened a new issue, #323:
URL: https://github.com/apache/doris-spark-connector/issues/323

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   25.X
   
   ### What's Wrong?
   
   use example_db;
   CREATE TABLE table1
   (
       siteid INT DEFAULT '10',
       citycode SMALLINT,
       username VARCHAR(32) DEFAULT '',
       pv BIGINT SUM DEFAULT '0'
   )
   AGGREGATE KEY(siteid, citycode, username)
   DISTRIBUTED BY HASH(siteid) BUCKETS 10
   PROPERTIES("replication_num" = "1");
   
   CREATE OR REPLACE TEMPORARY VIEW table1
   USING doris
   OPTIONS (
   table.identifier="example_db.table1",
   fenodes="xxx",
   user="root",
   password="xx"
   );
   
   CREATE OR REPLACE TEMPORARY VIEW table2
   USING doris
   OPTIONS (
   table.identifier="example_db.table2",
   fenodes="xxx",
   user="root",
   password="xx"
   );
   
   insert into table2 select siteid, citycode + 1, username, pv + 1 from table1
   
   this insert sql cause the colum citycode and pv has no data
   
   ### What You Expected?
   
   expect the column has correct data.
   
   ### How to Reproduce?
   
   _No response_
   
   ### 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: [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