You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "JNSimba (via GitHub)" <gi...@apache.org> on 2023/06/09 08:39:51 UTC

[GitHub] [doris-flink-connector] JNSimba opened a new pull request, #147: support flink catalog create table

JNSimba opened a new pull request, #147:
URL: https://github.com/apache/doris-flink-connector/pull/147

   ## Problem Summary:
   
   ```
   CREATE CATALOG doris_catalog WITH(
   > 'type' = 'doris',
   > 'default-database' = 'db5',
   > 'username' = 'root',
   > 'password' = '',
   > 'fenodes' = 'xxxx:8234',
   > 'jdbc-url' = 'jdbc:mysql://xxx:9234',
   > 'sink.label-prefix' = 'labelxxx'
   > )
   [INFO] Execute statement succeed.
   
   Flink SQL> use catalog doris_catalog;
   [INFO] Execute statement succeed.
   
   Flink SQL> CREATE TABLE `doris_catalog`.`db5`.`t_all_types` (
   >   `id` VARCHAR(16),
   >   `c_boolean` BOOLEAN,
   >   `c_char` CHAR(1),
   >   `c_date` DATE,
   >   `c_datetime` TIMESTAMP(0),
   >   `c_decimal` DECIMAL(10, 2),
   >   `c_double` DOUBLE,
   >   `c_float` FLOAT,
   >   `c_int` INT,
   >   `c_bigint` BIGINT,
   >   `c_largeint` STRING,
   >   `c_smallint` SMALLINT,
   >   `c_string` STRING,
   >   `c_tinyint` TINYINT,
   >   primary key(id) NOT ENFORCED
   > ) WITH (
   >   'password' = '',
   >   'connector' = 'doris',
   >   'fenodes' = '10.0.4.6:8234',
   >   'table.identifier' = 'db5.t_all_types',
   >   'sink.label-prefix' = 'label_test_t_all_types',
   >   'username' = 'root',
   >   'table.properties.replication_num' = '1'
   > );
   [INFO] Execute statement succeed.
   
   
   Flink SQL> create database dbtest;
   [INFO] Execute statement succeed.
   
   ```
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   2. Has unit tests been added: (Yes/No/No Need)
   3. Has document been added or modified: (Yes/No/No Need)
   4. Does it need to update dependencies: (Yes/No)
   5. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   


-- 
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-unsubscribe@doris.apache.org

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


[GitHub] [doris-flink-connector] zy-kkk merged pull request #147: support flink catalog create table

Posted by "zy-kkk (via GitHub)" <gi...@apache.org>.
zy-kkk merged PR #147:
URL: https://github.com/apache/doris-flink-connector/pull/147


-- 
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-unsubscribe@doris.apache.org

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