liaoxin01 commented on issue #15592: URL: https://github.com/apache/doris/issues/15592#issuecomment-1370650389
隐藏列处理应该是有些问题,一般不建议直接使用隐藏列。 有两种使用方式: 1. 推荐使用建表直接指定表中某一列为sequence列,导入时不用制定参数了 2. 建表时指定function_column.sequence_type 详见:https://doris.incubator.apache.org/zh-CN/docs/dev/data-operate/update-delete/sequence-column-manual?_highlight=sequence#%E8%AE%BE%E7%BD%AEsequence_col%E6%8E%A8%E8%8D%90 上面的case可以直接这么用,数据中不用多加一列sequence列,直接使用 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 curl --location-trusted -u admin -H "function_column.sequence_col: ts" -H "column_separator:," -T test2.csv http://10.0.0.102:8040/api/hugo/user_log_1/_stream_load -- 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]
