You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2022/10/13 07:04:15 UTC

[GitHub] [inlong] yunqingmoswu opened a new issue, #6166: [Bug][Sort] Fix can not get pkNames metadata for MySqlExtractNode

yunqingmoswu opened a new issue, #6166:
URL: https://github.com/apache/inlong/issues/6166

   ### What happened
   
   I want to get the pkNames metadata, but i get null.
   
   ### What you expected to happen
   
   I can get the pkNames metadata all right.
   
   ### How to reproduce
   
   The follows example can reproduce it:
   CREATE TABLE `table_1`(
       PRIMARY KEY (`id`) NOT ENFORCED,
       `id` BIGINT,
       `price` DECIMAL(32, 2),
       `currency` STRING,
       `pkNames` ARRAY<STRING> METADATA FROM 'meta.pk_names' VIRTUAL)
       WITH (
       'inlong.metric.labels' = 'groupId=1&streamId=1&nodeId=1',
       'connector' = 'mysql-cdc-inlong',
       'hostname' = 'localhost',
       'database-name' = 'inlong',
       'server-time-zone' = 'Asia/Shanghai',
       'username' = 'inlong',
       'password' = 'inlong',
       'table-name' = 'orders.*'
   )
   select * from table_1;
   
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong Sort
   
   ### Are you willing to submit PR?
   
   - [X] 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: dev-unsubscribe@inlong.apache.org.apache.org

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


[GitHub] [inlong] dockerzhang closed issue #6166: [Bug][Sort] Fix can not get pkNames metadata for MySqlExtractNode

Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #6166: [Bug][Sort] Fix can not get pkNames  metadata for MySqlExtractNode
URL: https://github.com/apache/inlong/issues/6166


-- 
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: dev-unsubscribe@inlong.apache.org

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