CosmosNi commented on issue #7961:
URL: https://github.com/apache/seatunnel/issues/7961#issuecomment-2456152373
#7928
我验证了下这样可以,
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" = "$.cpe22Uri"
"dest_field" = "cpe22Uri"
},
{
"src_field" = "cpe_nodes"
"path" = "$.cpe23Uri"
"dest_field" = "cpe23Uri"
},
]
}
Sql {
source_table_name = "fake2"
result_table_name = "fake3"
query = "SELECT cpe22Uri,cpe23Uri FROM fake"
}
}
--
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]