Those examples may help with (c) as well, it's notable that there are fewer SqlQuery* implementations than Query*.
Brian On Mon, Nov 2, 2020 at 2:00 AM Kamil Wasilewski < [email protected]> wrote: > Hi Austin, > > Did you take a look at Nexmark tests? Some of them have two versions: Beam > and BeamSQL. It sounds like this is what you are looking for. For example: > > > https://github.com/kamilwu/beam/blob/master/sdks/java/testing/nexmark/src/main/java/org/apache/beam/sdk/nexmark/queries/Query0.java > > https://github.com/kamilwu/beam/blob/master/sdks/java/testing/nexmark/src/main/java/org/apache/beam/sdk/nexmark/queries/sql/SqlQuery0.java > > Kamil > > > On Mon, Nov 2, 2020 at 3:42 AM Austin Bennett <[email protected]> > wrote: > >> Hi All, >> >> For something I am currently writing -- I am seeking any examples of >> BeamSQL and Beam that take the same input and produce the same output. I >> can't recall, off head, any examples/slides/writeups. Do any exist? >> >> I would like to show: >> >> (a) that BeamSQL is a real thing :-) >> (b) that Beam can express the same as BeamSQL >> (c) that Beam can be more expressive than just SQL concepts. >> >> Imagining such examples can help with points a and b. >> >> Thanks, >> Austin >> >
