ingestr 0.13.0__tar.gz → 0.13.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ingestr might be problematic. Click here for more details.
- {ingestr-0.13.0 → ingestr-0.13.2}/PKG-INFO +1 -1
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/clickhouse.md +9 -2
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/destinations.py +24 -18
- ingestr-0.13.2/ingestr/src/version.py +1 -0
- ingestr-0.13.0/ingestr/src/version.py +0 -1
- {ingestr-0.13.0 → ingestr-0.13.2}/.dockerignore +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.githooks/pre-commit-hook.sh +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.github/workflows/deploy-docs.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.github/workflows/secrets-scan.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.github/workflows/tests.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.gitignore +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.gitleaksignore +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.python-version +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/.vale.ini +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/Dockerfile +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/LICENSE.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/Makefile +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/README.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/.vitepress/config.mjs +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/.vitepress/theme/custom.css +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/.vitepress/theme/index.js +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/commands/example-uris.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/commands/ingest.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/getting-started/core-concepts.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/getting-started/incremental-loading.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/getting-started/quickstart.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/getting-started/telemetry.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/index.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/media/athena.png +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/media/clickhouse_img.png +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/media/github.png +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/media/googleanalytics.png +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/media/linkedin_ads.png +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/media/tiktok.png +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/adjust.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/airtable.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/appsflyer.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/appstore.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/asana.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/athena.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/bigquery.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/chess.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/csv.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/custom_queries.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/databricks.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/duckdb.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/dynamodb.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/facebook-ads.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/gcs.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/github.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/google-ads.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/google_analytics.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/gorgias.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/gsheets.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/hubspot.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/kafka.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/klaviyo.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/linkedin_ads.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/mongodb.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/mssql.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/mysql.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/notion.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/oracle.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/postgres.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/redshift.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/s3.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/sap-hana.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/shopify.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/slack.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/snowflake.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/sqlite.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/stripe.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/tiktok-ads.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/docs/supported-sources/zendesk.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/main.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/.gitignore +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/adjust/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/adjust/adjust_helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/airtable/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/appsflyer/_init_.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/appsflyer/client.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/appstore/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/appstore/client.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/appstore/errors.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/appstore/models.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/appstore/resources.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/arrow/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/asana_source/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/asana_source/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/asana_source/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/blob.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/chess/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/chess/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/chess/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/dynamodb/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/errors.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/facebook_ads/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/facebook_ads/exceptions.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/facebook_ads/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/facebook_ads/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/factory.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/filesystem/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/filesystem/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/filesystem/readers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/filters.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/github/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/github/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/github/queries.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/github/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_ads/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_ads/field.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_ads/metrics.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_ads/predicates.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_ads/reports.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_analytics/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_analytics/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_sheets/README.md +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_sheets/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_sheets/helpers/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_sheets/helpers/api_calls.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/google_sheets/helpers/data_processing.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/gorgias/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/gorgias/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/hubspot/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/hubspot/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/hubspot/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/kafka/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/kafka/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/klaviyo/_init_.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/klaviyo/client.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/klaviyo/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/linkedin_ads/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/linkedin_ads/dimension_time_enum.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/linkedin_ads/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/mongodb/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/mongodb/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/notion/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/notion/helpers/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/notion/helpers/client.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/notion/helpers/database.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/notion/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/shopify/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/shopify/exceptions.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/shopify/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/shopify/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/slack/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/slack/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/slack/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/sources.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/sql_database/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/sql_database/callbacks.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/stripe_analytics/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/stripe_analytics/helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/stripe_analytics/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/table_definition.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/telemetry/event.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/testdata/fakebqcredentials.json +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/tiktok_ads/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/tiktok_ads/tiktok_helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/time.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/zendesk/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/zendesk/helpers/__init__.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/zendesk/helpers/api_helpers.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/zendesk/helpers/credentials.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/zendesk/helpers/talk_api.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/src/zendesk/settings.py +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/.gitignore +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/create_replace.csv +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/delete_insert_expected.csv +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/delete_insert_part1.csv +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/delete_insert_part2.csv +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/merge_expected.csv +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/merge_part1.csv +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/ingestr/testdata/merge_part2.csv +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/package-lock.json +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/package.json +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/pyproject.toml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/requirements-dev.txt +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/requirements.txt +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/resources/demo.gif +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/resources/demo.tape +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/resources/ingestr.svg +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/AMPM.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Acronyms.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Colons.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Contractions.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/DateFormat.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Ellipses.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/EmDash.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Exclamation.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/FirstPerson.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Gender.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/GenderBias.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/HeadingPunctuation.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Headings.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Latin.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/LyHyphens.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/OptionalPlurals.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Ordinal.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/OxfordComma.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Parens.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Passive.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Periods.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Quotes.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Ranges.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Semicolons.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Slang.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Spacing.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Spelling.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Units.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/We.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/Will.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/WordList.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/meta.json +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/Google/vocab.txt +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/bruin/Ingestr.yml +0 -0
- {ingestr-0.13.0 → ingestr-0.13.2}/styles/config/vocabularies/bruin/accept.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ingestr
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.2
|
|
4
4
|
Summary: ingestr is a command-line application that ingests data from various sources and stores them in any database.
|
|
5
5
|
Project-URL: Homepage, https://github.com/bruin-data/ingestr
|
|
6
6
|
Project-URL: Issues, https://github.com/bruin-data/ingestr/issues
|
|
@@ -7,14 +7,15 @@ Ingestr supports ClickHouse as a destination.
|
|
|
7
7
|
The URI format for ClickHouse as a destination is as follows:
|
|
8
8
|
|
|
9
9
|
```plaintext
|
|
10
|
-
clickhouse://<username>:<password>@<host>:<port>?http_port=<http_port>
|
|
10
|
+
clickhouse://<username>:<password>@<host>:<port>?http_port=<http_port>&secure=<secure>
|
|
11
11
|
```
|
|
12
12
|
## URI parameters:
|
|
13
13
|
- `username` (required): The username is required to authenticate with the ClickHouse server.
|
|
14
14
|
- `password` (required): The password is required to authenticate the provided username.
|
|
15
15
|
- `host` (required): The hostname or IP address of the ClickHouse server where the database is hosted.
|
|
16
16
|
- `port` (required): The TCP port number used by the ClickHouse server.
|
|
17
|
-
- `http_port` (optional): The port number to use when connecting to the ClickHouse server's HTTP interface.
|
|
17
|
+
- `http_port` (optional): The port number to use when connecting to the ClickHouse server's HTTP interface.By default, it is set to port `8443`.
|
|
18
|
+
- `secure` (optional): Set to `1` for a secure HTTPS connection or `0` for a non-secure HTTP connection. By default, it is set to `1`.
|
|
18
19
|
|
|
19
20
|
ClickHouse requires a `username`, `password`, `host` and `port` to connect to the ClickHouse server. For more information, read [here](https://dlthub.com/docs/dlt-ecosystem/destinations/clickhouse#2-setup-clickhouse-database). Once you've completed the guide, you should have all the above-mentioned credentials.
|
|
20
21
|
|
|
@@ -29,3 +30,9 @@ ingestr ingest \
|
|
|
29
30
|
This is a sample command that will copy the data from the Stripe source into Athena.
|
|
30
31
|
|
|
31
32
|
<img alt="clickhouse_img" src="../media/clickhouse_img.png" />
|
|
33
|
+
|
|
34
|
+
<!--
|
|
35
|
+
see https://github.com/dlt-hub/dlt/issues/2248
|
|
36
|
+
-->
|
|
37
|
+
> [!WARNING]
|
|
38
|
+
> Clickhouse currently doesn't support `delete+insert`, `merge` or `scd2` incremental strategies.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import base64
|
|
2
2
|
import csv
|
|
3
|
-
import gzip
|
|
4
3
|
import json
|
|
5
4
|
import os
|
|
6
5
|
import shutil
|
|
@@ -8,6 +7,7 @@ import tempfile
|
|
|
8
7
|
from urllib.parse import parse_qs, quote, urlparse
|
|
9
8
|
|
|
10
9
|
import dlt
|
|
10
|
+
import pyarrow.parquet # type: ignore
|
|
11
11
|
from dlt.common.configuration.specs import AwsCredentials
|
|
12
12
|
from dlt.destinations.impl.clickhouse.configuration import (
|
|
13
13
|
ClickHouseCredentials,
|
|
@@ -184,19 +184,17 @@ class CsvDestination(GenericSqlDestination):
|
|
|
184
184
|
if output_path.count("/") > 1:
|
|
185
185
|
os.makedirs(os.path.dirname(output_path), exist_ok=True)
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
csv_writer.writerow(json_obj)
|
|
199
|
-
|
|
187
|
+
table = pyarrow.parquet.read_table(first_file_path)
|
|
188
|
+
rows = table.to_pylist()
|
|
189
|
+
with open(output_path, "w", newline="") as csv_file:
|
|
190
|
+
csv_writer = None
|
|
191
|
+
for row in rows:
|
|
192
|
+
row = filter_keys(row)
|
|
193
|
+
if csv_writer is None:
|
|
194
|
+
csv_writer = csv.DictWriter(csv_file, fieldnames=row.keys())
|
|
195
|
+
csv_writer.writeheader()
|
|
196
|
+
|
|
197
|
+
csv_writer.writerow(row)
|
|
200
198
|
shutil.rmtree(self.temp_path)
|
|
201
199
|
|
|
202
200
|
|
|
@@ -299,12 +297,21 @@ class ClickhouseDestination:
|
|
|
299
297
|
raise ValueError(
|
|
300
298
|
"The TCP port of the ClickHouse server is required to establish a connection."
|
|
301
299
|
)
|
|
302
|
-
|
|
300
|
+
|
|
303
301
|
query_params = parse_qs(parsed_uri.query)
|
|
302
|
+
secure = int(query_params["secure"][0]) if "secure" in query_params else 1
|
|
303
|
+
|
|
304
304
|
http_port = (
|
|
305
|
-
int(query_params["http_port"][0])
|
|
305
|
+
int(query_params["http_port"][0])
|
|
306
|
+
if "http_port" in query_params
|
|
307
|
+
else 8443 if secure == 1 else 8123
|
|
306
308
|
)
|
|
307
309
|
|
|
310
|
+
if secure not in (0, 1):
|
|
311
|
+
raise ValueError(
|
|
312
|
+
"Invalid value for secure. Set to `1` for a secure HTTPS connection or `0` for a non-secure HTTP connection."
|
|
313
|
+
)
|
|
314
|
+
|
|
308
315
|
credentials = ClickHouseCredentials(
|
|
309
316
|
{
|
|
310
317
|
"host": host,
|
|
@@ -313,10 +320,9 @@ class ClickhouseDestination:
|
|
|
313
320
|
"password": password,
|
|
314
321
|
"database": database,
|
|
315
322
|
"http_port": http_port,
|
|
316
|
-
"secure":
|
|
323
|
+
"secure": secure,
|
|
317
324
|
}
|
|
318
325
|
)
|
|
319
|
-
|
|
320
326
|
return dlt.destinations.clickhouse(credentials=credentials)
|
|
321
327
|
|
|
322
328
|
def dlt_run_params(self, uri: str, table: str, **kwargs) -> dict:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.13.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.13.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|