JNSimba removed a comment on issue #6550:
URL: 
https://github.com/apache/incubator-doris/issues/6550#issuecomment-921736488


   > 
![image](https://user-images.githubusercontent.com/33626973/133745308-dae48a85-25ae-4973-919f-6f6539bcb6f5.png)
   > 
   > @JNSimba You can re test my this UT?
   > 
   > ```
   > public static void main(String[] args) {
   >         final StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
   >         env.setParallelism(1);
   >         final StreamTableEnvironment tEnv = 
StreamTableEnvironment.create(env);
   > 
   >         List<Tuple2<String, Integer>> data = new ArrayList<>();
   >         data.add(new Tuple2<>("doris", 1));
   >         data.add(new Tuple2<>("flink", 2));
   >         DataStreamSource<Tuple2<String, Integer>> source = 
env.fromCollection(data);
   >         tEnv.createTemporaryView("doris_test", source, $("name"), 
$("age"));
   > 
   >         tEnv.executeSql(
   >                 "CREATE TABLE doris_test_sink ("
   >                         + "name STRING,"
   >                         + "age INT"
   >                         + ") "
   >                         + "WITH (\n"
   >                         + "  'connector' = 'doris',\n"
   >                         + "  'fenodes' = 'n3:8031',\n"
   >                         + "  'table.identifier' = 
'erp_dev.student_unique',\n"
   >                         + "  'sink.properties.column_separator' ='\\t',\n" 
   >                         + "  'sink.properties.line_delimiter' = '\\n',\n"
   >                         + "  'username' = 'root',\n"
   >                         + "  'password' = 'doris'\n"
   >                         + ")");
   > 
   >         tEnv.executeSql("INSERT INTO doris_test_sink select name,age from 
doris_test");
   >     }
   > ```
   > 
   > dorsi be version : 0.14
   
   It is work for me on version 0.14.12
   And default separator is \t and \n, no need to declare


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