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

Enhancement: Performance enhancement for insert_rows method DbApiHook with fast executemany + SAP Hana support #37246

Merged
merged 10 commits into from
Feb 10, 2024

Commits on Feb 8, 2024

  1. refactor: Added executemany parameter to insert_rows method so the fa…

    …st executemany method on the cursor can be used to achieve better performance when inserting in bulk. Also check if dialect is SAP Hana in _generate_insert_sql method so the UPSERT statement can be used as REPLACE INTO doesn't exist on SAP Hana.
    davidblain-infrabel committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    513f496 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ada7763 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    069372f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f8e6d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6eb27bc View commit details
    Browse the repository at this point in the history
  6. refactor: Refactored DbApiHook so that insert and replace statements …

    …are parametrized
    
    # Conflicts:
    #	tests/providers/common/sql/hooks/test_dbapi.py
    davidblain-infrabel committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    eae37b0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8f7cb1c View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    1ae15fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7040e3f View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. Configuration menu
    Copy the full SHA
    d3e89f8 View commit details
    Browse the repository at this point in the history