Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
fix(cockroachdb): update example, fix metadata keys (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vixtir authored Apr 5, 2023
1 parent 67bf8ec commit 562065b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config_examples/cocroachdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ platform_host_url: http://localhost:8080
default_pulling_interval: 10
token: ""
plugins:
- type: cocrachdb
name: cocrachdb_adapter
- type: cockroachdb
name: cockroachdb_adapter
description: "" # Optional string
database: database
host: host
Expand Down
5 changes: 5 additions & 0 deletions odd_collector/adapters/cockroachdb/mappers/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
from odd_models.models import DataEntity, DataEntityGroup, DataEntityType, DataSet
from oddrn_generator import PostgresqlGenerator

from odd_collector.adapters.cockroachdb.config import (
_data_set_metadata_excluded_keys,
_data_set_metadata_schema_url,
)

from .columns import map_column
from .metadata import append_metadata_extension
from .models import ColumnMetadata, PrimaryKey, TableMetadata
Expand Down

0 comments on commit 562065b

Please sign in to comment.