ashishmgofficial edited a comment on issue #2149:
URL: https://github.com/apache/hudi/issues/2149#issuecomment-705990567


   Yes Im using the above mentioned url for schema
   
   ```
   
   {
     "connect.name": "airflow.public.motor_crash_violation_incidents.Envelope",
     "fields": [
       {
         "default": null,
         "name": "before",
         "type": [
           "null",
           {
             "connect.name": 
"airflow.public.motor_crash_violation_incidents.Value",
             "fields": [
               {
                 "name": "inc_id",
                 "type": "int"
               },
               {
                 "default": null,
                 "name": "year",
                 "type": [
                   "null",
                   "int"
                 ]
               },
               {
                 "default": null,
                 "name": "violation_desc",
                 "type": [
                   "null",
                   "string"
                 ]
               },
               {
                 "default": null,
                 "name": "violation_code",
                 "type": [
                   "null",
                   "string"
                 ]
               },
               {
                 "default": null,
                 "name": "case_individual_id",
                 "type": [
                   "null",
                   "int"
                 ]
               },
               {
                 "default": null,
                 "name": "flag",
                 "type": [
                   "null",
                   "string"
                 ]
               },
               {
                 "name": "last_modified_ts",
                 "type": {
                   "connect.name": "io.debezium.time.MicroTimestamp",
                   "connect.version": 1,
                   "type": "long"
                 }
               }
             ],
             "name": "Value",
             "type": "record"
           }
         ]
       },
       {
         "default": null,
         "name": "after",
         "type": [
           "null",
           "Value"
         ]
       },
       {
         "name": "source",
         "type": {
           "connect.name": "io.debezium.connector.postgresql.Source",
           "fields": [
             {
               "name": "version",
               "type": "string"
             },
             {
               "name": "connector",
               "type": "string"
             },
             {
               "name": "name",
               "type": "string"
             },
             {
               "name": "ts_ms",
               "type": "long"
             },
             {
               "default": "false",
               "name": "snapshot",
               "type": [
                 {
                   "connect.default": "false",
                   "connect.name": "io.debezium.data.Enum",
                   "connect.parameters": {
                     "allowed": "true,last,false"
                   },
                   "connect.version": 1,
                   "type": "string"
                 },
                 "null"
               ]
             },
             {
               "name": "db",
               "type": "string"
             },
             {
               "name": "schema",
               "type": "string"
             },
             {
               "name": "table",
               "type": "string"
             },
             {
               "default": null,
               "name": "txId",
               "type": [
                 "null",
                 "long"
               ]
             },
             {
               "default": null,
               "name": "lsn",
               "type": [
                 "null",
                 "long"
               ]
             },
             {
               "default": null,
               "name": "xmin",
               "type": [
                 "null",
                 "long"
               ]
             }
           ],
           "name": "Source",
           "namespace": "io.debezium.connector.postgresql",
           "type": "record"
         }
       },
       {
         "name": "op",
         "type": "string"
       },
       {
         "default": null,
         "name": "ts_ms",
         "type": [
           "null",
           "long"
         ]
       },
       {
         "default": null,
         "name": "transaction",
         "type": [
           "null",
           {
             "fields": [
               {
                 "name": "id",
                 "type": "string"
               },
               {
                 "name": "total_order",
                 "type": "long"
               },
               {
                 "name": "data_collection_order",
                 "type": "long"
               }
             ],
             "name": "ConnectDefault",
             "namespace": "io.confluent.connect.avro",
             "type": "record"
           }
         ]
       }
     ],
     "name": "Envelope",
     "namespace": "airflow.public.motor_crash_violation_incidents",
     "type": "record"
   }
   
   ```


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

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


Reply via email to