You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/05/13 10:21:02 UTC

[GitHub] [incubator-doris] 812406210 commented on issue #5806: 创建Routine失败

812406210 commented on issue #5806:
URL: https://github.com/apache/incubator-doris/issues/5806#issuecomment-840465303


   > CREATE ROUTINE LOAD example_db.test1 ON example_tbl
   > COLUMNS(category, author, price, timestamp, dt=from_unixtime(timestamp, '%Y%m%d'))
   > PROPERTIES
   > (
   > "desired_concurrent_number"="3",
   > "max_batch_interval" = "20",
   > "max_batch_rows" = "300000",
   > "max_batch_size" = "209715200",
   > "strict_mode" = "false",
   > "format" = "json",
   > "jsonpaths" = "["$.category","$.author","$.price","$.timestamp"]",
   > "strip_outer_array" = "true",
   > "json_root" = "$.RECORDS"
   > )
   > FROM KAFKA
   > (
   > "kafka_broker_list" = "broker1:9092,broker2:9092,broker3:9092",
   > "kafka_topic" = "my_topic",
   > "kafka_partitions" = "0,1,2",
   > "kafka_offsets" = "0,0,0"
   > );
   感谢,但是我按这种方法,识别不了$符,这个又是怎么回事呀?
   ![image](https://user-images.githubusercontent.com/22192011/118112659-e12cf700-b417-11eb-8386-6a02bc37f42a.png)
   


-- 
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.

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



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