hi julian, i have copied testStream function and rename it as testStream2 in the StreamTest.java. then i have removed 'stream' keyword from the query. it gave me following error. org.apache.calcite.sql.validate.SqlValidatorException: Cannot convert stream 'ORDERS' to relation
thanks nuwan On Thu, Sep 28, 2017 at 10:48 PM, Julian Hyde <[email protected]> wrote: > I don’t think anything has changed recently. > > See StreamTest.java for some examples. The ORDERS in that test is special; > it implements the StreamableTable interface, which is key to converting a > “regular” table into streaming mode. > > Julian > > > > On Sep 28, 2017, at 7:43 AM, Nuwan Abeysiriwardana <[email protected]> > wrote: > > > > Hi All, > > i'm trying to find a way to use same table for streaming and relation > > queries both.i was able to do this functionality last year with some old > > release(can't remember the version), but i couldn't find a way to do that > > in new release(1.13.0). > > in calcite home page i have found this statement. > > 'Orders is special, in that it has both a stream and a table.' > > > > i'm hoping this statement still valid. > > > > thanks > > nuwan > >
