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

Dask interface: Accept and forward the new if-exists query parameter #129

Merged
merged 1 commit into from
Jun 23, 2024

Commits on Jun 23, 2024

  1. Dask interface: Accept and forward the new if-exists query param

    The new `if-exists` query parameter will be forwarded to Dask's
    `to_sql()` method. By default, `influxio` will use `fail`.
    
    When targeting the SQLAlchemy database interface, the target table will
    be created automatically, if it does not exist. The `if-exists` URL
    query parameter can be used to configure this behavior. The default
    value is `fail`.
    
    * fail: Raise a ValueError.
    * replace: Drop the table before inserting new values.
    * append: Insert new values to the existing table.
    amotl committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    5967722 View commit details
    Browse the repository at this point in the history