portals-project / portals

Portals is a framework for stateful serverless apps, unifying dataflow streaming with actors
https://www.portals-project.org/
Apache License 2.0
19 stars 2 forks source link

Queryable Workflow #216

Closed vicety closed 1 year ago

vicety commented 1 year ago

This example includes all kinds of non-transactional SQL queries. Checkout to this branch and execute the following commands:

sbt
project sql
run
# choose portals.sql.example.SQLExample, corresponding file at sql/src/main/scala/portals/sql/example/Basic.scala

Implementation for createTable and querier operator are at sql/src/main/scala/portals/sql/QueryableWorkflow.scala, this file also includes the transactional version of the querier operator.

jspenger commented 1 year ago

Thanks. We are working on a branch https://github.com/portals-project/portals/tree/pr216-merge which will aim to merge this work into the sql-experiment branch.

Outstanding tasks for this merge will be created later today as issues.

Closing this PR.