StarRocks / dbt-starrocks

dbt-starrocks contains all of the code enabling dbt to work with StarRocks
21 stars 8 forks source link

#2 Solve starrocks-adapter is not available #3

Closed motto1314 closed 2 years ago

motto1314 commented 2 years ago

[Mod]

  1. Update 'connections.py'
  2. Set 'database=None'
  3. Add StarRocks's column
  4. Update 'sample_profiles.yml', and add 'profile_template.yml'
  5. Update 'setup.py'

Test:

  test_dbt_empty: empty
  test_dbt_base: base
  test_dbt_incremental: incremental
  test_dbt_data_test: data_test
  test_dbt_schema_test: schema_test

result:

============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir:~/project/dbt/dbt/dbt-core, configfile: pytest.ini
plugins: dbt-adapter-0.6.0
collected 5 items

dbt-core/plugins/starrocks/test/starrocks.dbtspec .....                  [100%]

=============================== warnings summary ===============================
../../../anaconda2/envs/python374/lib/python3.7/site-packages/_pytest/config/__init__.py:1233
  ~/anaconda2/envs/python374/lib/python3.7/site-packages/_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: env_files

-- Docs: https://docs.pytest.org/en/stable/warnings.html
======================== 5 passed, 1 warning in 51.22s =========================
CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.