Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement batch processing for stateless processors #2319

Merged
merged 1 commit into from
Jan 15, 2024
Merged

feat: Implement batch processing for stateless processors #2319

merged 1 commit into from
Jan 15, 2024

Conversation

chubei
Copy link
Contributor

@chubei chubei commented Jan 15, 2024

Following processors are stateless:

  • Projection
  • Selection
  • Window
  • TTL

Following config has the same throughput as without the sql:

app_name: dozer-pg-sample
version: 1
connections:
  - name: dozer_pg_db
    config: !Postgres
      user: chubei
      password: postgres
      host: localhost
      port: 5432
      database: bench_2

sql: SELECT * INTO output FROM pgbench_accounts;

endpoints:
  - table_name: output
    kind: !Dummy

Closes #2311

@chubei chubei added this pull request to the merge queue Jan 15, 2024
Merged via the queue into getdozer:main with commit 880afa4 Jan 15, 2024
7 checks passed
@chubei chubei deleted the feat/batch branch January 15, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support batch insert in stateless processors
2 participants