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

🎉 New Source: Dremio #19912

Merged
merged 23 commits into from
Jan 13, 2023
Merged

Conversation

arsenlosenko
Copy link
Contributor

@arsenlosenko arsenlosenko commented Nov 30, 2022

What

Implementing:
#9031

How

New Dremio Source was implemented using low-code framework, right now it is a WIP with one initial stream that supports full_refresh sync. In the coming days the implementation will be extended according to Scoping Document that was created earlier.

Recommended reading order

  1. x.java
  2. y.python

🚨 User Impact 🚨

Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.

Pre-merge Checklist

Expand the relevant checklist and delete the others.

New Connector

Community member or Airbyter

  • Community member? Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
    • docs/integrations/README.md
    • airbyte-integrations/builds.md
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub by running the /publish command described here
  • After the connector is published, connector added to connector index as described here
  • Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here
Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • Changelog updated in docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
  • PR name follows PR naming conventions

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
  • /test connector=connectors/<name> command is passing
  • New Connector version released on Dockerhub and connector version bumped by running the /publish command described here
Connector Generator
  • Issue acceptance criteria met
  • PR name follows PR naming conventions
  • If adding a new generator, add it to the list of scaffold modules being tested
  • The generator test modules (all connectors with -scaffold in their name) have been updated with the latest scaffold by running ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates then checking in your changes
  • Documentation which references the generator is updated as needed

Tests

Unit

Put your unit tests output here.

Integration

Put your integration tests output here.

Acceptance

Put your acceptance tests output here.

@CLAassistant
Copy link

CLAassistant commented Nov 30, 2022

CLA assistant check
All committers have signed the CLA.

@arsenlosenko arsenlosenko linked an issue Nov 30, 2022 that may be closed by this pull request
@arsenlosenko arsenlosenko changed the title 🎉 New Source: Dremio [WIP] 🎉 New Source: Dremio Dec 2, 2022
@octavia-squidington-iv octavia-squidington-iv added the area/documentation Improvements or additions to documentation label Dec 2, 2022
@arsenlosenko arsenlosenko marked this pull request as ready for review December 2, 2022 12:46
@arsenlosenko
Copy link
Contributor Author

arsenlosenko commented Dec 9, 2022

/test connector=connectors/source-dremio

🕑 connectors/source-dremio https://github.com/airbytehq/airbyte/actions/runs/3657861377
❌ connectors/source-dremio https://github.com/airbytehq/airbyte/actions/runs/3657861377
🐛 https://gradle.com/s/2sagn3zttzmho

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_core.py::TestConnection::test_check[inputs0] - AssertionError: as...
FAILED test_core.py::TestDiscovery::test_primary_keys_exist_in_schema[inputs0]
ERROR test_core.py::TestSpec::test_match_expected[inputs0] - FileNotFoundErro...
ERROR test_core.py::TestBasicRead::test_read[inputs0] - Failed: The catalogs ...
ERROR test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0]
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:63: Skipping TestIncremental.test_two_sequential_reads: This connector does not implement incremental sync
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/tests/test_core.py:88: The previous connector image could not be retrieved.
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/tests/test_core.py:364: The previous connector image could not be retrieved.
============== 2 failed, 21 passed, 3 skipped, 3 errors in 18.79s ==============

@sherifnada
Copy link
Contributor

@arsenlosenko can you clarify if this has passed GL review? Also seeing that acceptance tests are failing. Please re-request review when those are ready

@sherifnada sherifnada removed their request for review December 12, 2022 06:00
@arsenlosenko
Copy link
Contributor Author

@sherifnada Understood, I'll re-request your review once all the issues are resolved

@arsenlosenko
Copy link
Contributor Author

arsenlosenko commented Dec 15, 2022

/test connector=connectors/source-dremio

🕑 connectors/source-dremio https://github.com/airbytehq/airbyte/actions/runs/3705976507
❌ connectors/source-dremio https://github.com/airbytehq/airbyte/actions/runs/3705976507
🐛 https://gradle.com/s/54dgytwlhkgvq

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_core.py::TestConnection::test_check[inputs0] - AssertionError: as...
FAILED test_core.py::TestBasicRead::test_read[inputs0] - docker.errors.Contai...
FAILED test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0]
ERROR test_core.py::TestSpec::test_match_expected[inputs0] - pydantic.error_w...
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:63: Skipping TestIncremental.test_two_sequential_reads: This connector does not implement incremental sync
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/tests/test_core.py:88: The previous connector image could not be retrieved.
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/tests/test_core.py:364: The previous connector image could not be retrieved.
============== 3 failed, 22 passed, 3 skipped, 1 error in 20.62s ===============

@lazebnyi lazebnyi temporarily deployed to more-secrets January 12, 2023 22:21 — with GitHub Actions Inactive
@lazebnyi lazebnyi temporarily deployed to more-secrets January 12, 2023 22:29 — with GitHub Actions Inactive
@lazebnyi lazebnyi temporarily deployed to more-secrets January 12, 2023 22:29 — with GitHub Actions Inactive
@lazebnyi lazebnyi enabled auto-merge (squash) January 12, 2023 22:32
@lazebnyi lazebnyi disabled auto-merge January 12, 2023 22:40
@lazebnyi lazebnyi enabled auto-merge (squash) January 12, 2023 22:47
@lazebnyi lazebnyi temporarily deployed to more-secrets January 12, 2023 22:49 — with GitHub Actions Inactive
@lazebnyi lazebnyi temporarily deployed to more-secrets January 12, 2023 22:49 — with GitHub Actions Inactive
@lazebnyi lazebnyi disabled auto-merge January 12, 2023 23:55
@lazebnyi lazebnyi enabled auto-merge (squash) January 12, 2023 23:55
@lazebnyi lazebnyi temporarily deployed to more-secrets January 12, 2023 23:55 — with GitHub Actions Inactive
@lazebnyi lazebnyi temporarily deployed to more-secrets January 12, 2023 23:55 — with GitHub Actions Inactive
@lazebnyi lazebnyi temporarily deployed to more-secrets January 13, 2023 00:00 — with GitHub Actions Inactive
@lazebnyi lazebnyi temporarily deployed to more-secrets January 13, 2023 00:01 — with GitHub Actions Inactive
@arsenlosenko arsenlosenko disabled auto-merge January 13, 2023 09:37
@arsenlosenko arsenlosenko temporarily deployed to more-secrets January 13, 2023 09:40 — with GitHub Actions Inactive
@arsenlosenko arsenlosenko temporarily deployed to more-secrets January 13, 2023 09:40 — with GitHub Actions Inactive
@arsenlosenko arsenlosenko temporarily deployed to more-secrets January 13, 2023 11:22 — with GitHub Actions Inactive
@arsenlosenko arsenlosenko temporarily deployed to more-secrets January 13, 2023 11:23 — with GitHub Actions Inactive
@arsenlosenko arsenlosenko temporarily deployed to more-secrets January 13, 2023 12:18 — with GitHub Actions Inactive
@arsenlosenko arsenlosenko temporarily deployed to more-secrets January 13, 2023 12:18 — with GitHub Actions Inactive
@arsenlosenko arsenlosenko merged commit 00d4c20 into master Jan 13, 2023
@arsenlosenko arsenlosenko deleted the arsenlosenko/new-source-dremio-yaml branch January 13, 2023 13:11
jbfbell pushed a commit that referenced this pull request Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/dremio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Source: Dremio
8 participants