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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to