sj15600520109 commented on issue #7961:
URL: https://github.com/apache/seatunnel/issues/7961#issuecomment-2456413127

   transform {
     Sql {
       source_table_name = "fake"
       result_table_name = "fake1"
       query = "SELECT * FROM fake  LATERAL VIEW OUTER EXPLODE(cpe_nodes) as 
cpe_nodes"
     }
       JsonPath {
         source_table_name = "fake1"
         result_table_name = "fake2"
         columns = [
          {
             "src_field" = "cpe_nodes"
             "path" = "$.dataTestId"
             "dest_field" = "dataTestId"
          },
          {
             "src_field" = "cpe_nodes"
             "path" = "$.cpe22Uri"
             "dest_field" = "cpe22Uri"
          },
          {
             "src_field" = "cpe_nodes"
             "path" = "$.cpe23Uri"
             "dest_field" = "cpe23Uri"
          },
          {
             "src_field" = "cpe_nodes"
             "path" = "$.id"
             "dest_field" = "id"
          },
         ]
       }
     Sql {
       source_table_name = "fake2"
       result_table_name = "fake3"
       query = "SELECT id,cpe22Uri,cpe23Uri,dataTestId FROM fake"
     }
   } 
   
   
   
   这里fake的schema是怎么配置的, EXPLODE是需要等7928 合并才可以吗


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