Hi!
I want to join two tables and write the results to Avro where the left and right rows are nested in the avro output. Is it possible to do this with the SQL interface? Thanks! - Dan CREATE TABLE `flat_avro` ( |
Hi Dan, I think the best what I can suggest is this:
You will need to list all the fields manually, as SQL does not allow for asterisks in regular function calls. If you are willing to give the Table API a try you might workaround some of the manual work with the Column Function[1] Table join =
t1.join(t2).where($("id1").isEqual($("id2")));
Best, Dawid On 18/09/2020 09:47, Dan Hill wrote:
signature.asc (849 bytes) Download Attachment |
Nice! I'll try that. Thanks, Dawid! On Mon, Sep 21, 2020 at 2:37 AM Dawid Wysakowicz <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |