diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ac14d78..573e909 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,7 +14,7 @@ jobs:
checks:
uses: ./.github/workflows/check.yml
with:
- sdf_version: sdf-beta4
+ sdf_version: sdf-beta5
branch: ${{ github.ref }}
done:
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index a94ce9b..eec962b 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -13,7 +13,7 @@ jobs:
checks:
uses: ./.github/workflows/check.yml
with:
- sdf_version: sdf-beta5-dev
+ sdf_version: sdf-beta6-dev
branch: ${{ github.ref }}
done:
name: Done
diff --git a/dataflows/bank-processing/dataflow.yaml b/dataflows/bank-processing/dataflow.yaml
index 7cae455..9e3a95d 100644
--- a/dataflows/bank-processing/dataflow.yaml
+++ b/dataflows/bank-processing/dataflow.yaml
@@ -275,11 +275,10 @@ services:
DataOperation::DebitAccount(debit) => debit,
};
- let accounts = account_balance();
- let account = accounts.sql(&format!("select * from `account-balance` where name = '{}'", ev.name))?;
+ let account = sql(&format!("select * from `account-balance` where name = '{}'", ev.name))?;
- let rows = accounts.rows()?;
+ let rows = account.rows()?;
if !rows.next() {
return Ok(None)
@@ -407,16 +406,11 @@ services:
- operator: filter-map
run: |
fn generate_overdraft_event_due_transfer(ev: DataEvent) -> Result