yuxuan-luo opened a new issue, #15592:
URL: https://github.com/apache/doris/issues/15592

   ### 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
   
   1.2.1
   
   ### What's Wrong?
   
   CREATE TABLE user_log_1 (
       user_id VARCHAR(20),
       item_id VARCHAR(30),
       category_id VARCHAR(30),
       behavior VARCHAR(30),
       ts datetime
   ) ENGINE=OLAP
   UNIQUE KEY(`user_id`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`user_id`) BUCKETS 1
   PROPERTIES (
   "replication_num" = "1",
   "function_column.sequence_type" = 'Date',
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   
   -- 数据
   1,112321,10023,pv,2021-09-27 10:40:34
   1,112326,10023,pv,2021-09-27 10:41:34
   1,112325,10023,pv,2021-09-27 10:42:34
   1,112324,10023,pv,2021-09-27 10:43:34
   1,112323,10023,pv,2021-09-27 10:44:34
   1,112327,10023,pv,2021-09-27 10:47:34
   
   -- stream load
   curl --location-trusted -u admin -H "function_column.sequence_col: ts" -H 
"column_separator:," -H "hidden_columns: __DORIS_SEQUENCE_COL__" -T test2.csv 
http://10.0.0.102:8040/api/hugo/user_log_1/_stream_load
   
   -- return 
   "Message": "too many filtered rows",
   Reason: actual column number in csv file is  more than  schema column 
number.actual number: 6, column separator: [,], line delimiter: [
   ], schema column number: 5; . src line [1,112321,10023,pv,2021-09-27 
10:40:34,2021-09-27]; 
   
   ### What You Expected?
   
   可以正确通过 hidden_columns: __DORIS_SEQUENCE_COL__ 
指定导入数据中包含的隐藏列,在上面例子中导入数据中最后一列数据为__DORIS_SEQUENCE_COL__
   
   ### 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: 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