You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 14:42:18 UTC

[GitHub] [beam] damccorm opened a new issue, #20006: Add support for mapping columns to pubsub message attributes in flat schemas DDL

damccorm opened a new issue, #20006:
URL: https://github.com/apache/beam/issues/20006

   Context: https://lists.apache.org/thread.html/bf4c37f21bda194d7f8c40f6e7b9a776262415755cc1658412af3c76%40%3Cdev.beam.apache.org%3E
   
   The syntax should look something like this (proposed by [~alexvanboxel]):
   ```
   
   CREATE TABLE people (
       my_timestamp TIMESTAMP *OPTION(ref="pubsub:event_timestamp)*,
       my_id
   VARCHAR *OPTION(ref="pubsub:attributes['id_name']")*,
       name VARCHAR,
       age INTEGER
     )
     TYPE
   'pubsub'
     LOCATION 'projects/my-project/topics/my-topic'
   
   ```
   
   
   This jira pertains specifically to the my_id field in this example.
   
   Imported from Jira [BEAM-9208](https://issues.apache.org/jira/browse/BEAM-9208). Original Jira may contain additional context.
   Reported by: bhulette.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

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