示例#1
0
from dbt.adapters.sqlserver.connections import SQLServerConnectionManager
from dbt.adapters.sqlserver.connections import SQLServerCredentials
from dbt.adapters.sqlserver.impl import SQLServerAdapter
from dbt.adapters.sqlserver.column import SQLServerColumn

from dbt.adapters.base import AdapterPlugin
from dbt.include import sqlserver


Plugin = AdapterPlugin(
    adapter=SQLServerAdapter,
    credentials=SQLServerCredentials,
    include_path=sqlserver.PACKAGE_PATH,
)
示例#2
0
from dbt.adapters.netezza.connections import NetezzaConnectionManager
from dbt.adapters.netezza.connections import NetezzaCredentials
from dbt.adapters.netezza.impl import NetezzaAdapter
from dbt.adapters.netezza.relation import NetezzaRelation

from dbt.adapters.base import AdapterPlugin
from dbt.include import netezza

Plugin = AdapterPlugin(adapter=NetezzaAdapter,
                       credentials=NetezzaCredentials,
                       include_path=netezza.PACKAGE_PATH)
示例#3
0
from dbt.adapters.presto.connections import PrestoConnectionManager
from dbt.adapters.presto.connections import PrestoCredentials
from dbt.adapters.presto.impl import PrestoAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import presto


Plugin = AdapterPlugin(
    adapter=PrestoAdapter,
    credentials=PrestoCredentials,
    include_path=presto.PACKAGE_PATH)
示例#4
0
from dbt.adapters.hive.connections import HiveConnectionManager
from dbt.adapters.hive.connections import HiveCredentials
from dbt.adapters.hive.impl import HiveAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import hive

Plugin = AdapterPlugin(adapter=HiveAdapter,
                       credentials=HiveCredentials,
                       include_path=hive.PACKAGE_PATH)
示例#5
0
from dbt.adapters.base import AdapterPlugin

from dbt.adapters.oracle.connections import OracleConnectionManager
from dbt.adapters.oracle.connections import OracleCredentials
from dbt.adapters.oracle.impl import OracleAdapter
from dbt.include import oracle

Plugin = AdapterPlugin(adapter=OracleAdapter,
                       credentials=OracleCredentials,
                       include_path=oracle.PACKAGE_PATH)
from dbt.adapters.exasol.connections import ExasolConnectionManager
from dbt.adapters.exasol.connections import ExasolCredentials
from dbt.adapters.exasol.relation import ExasolRelation
from dbt.adapters.exasol.impl import ExasolAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import exasol

Plugin = AdapterPlugin(adapter=ExasolAdapter,
                       credentials=ExasolCredentials,
                       include_path=exasol.PACKAGE_PATH)
示例#7
0
from dbt.adapters.base import AdapterPlugin

from dbt.adapters.splitgraph.connections import SplitgraphConnectionManager
from dbt.adapters.splitgraph.connections import SplitgraphCredentials
from dbt.adapters.splitgraph.impl import SplitgraphAdapter

from dbt.include import splitgraph

Plugin = AdapterPlugin(
    adapter=SplitgraphAdapter,
    credentials=SplitgraphCredentials,
    include_path=splitgraph.PACKAGE_PATH,
    dependencies=["postgres"],
)
示例#8
0
from dbt.adapters.ibmdb2.connections import IBMDB2ConnectionManager
from dbt.adapters.ibmdb2.connections import IBMDB2Credentials
from dbt.adapters.ibmdb2.impl import IBMDB2Adapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import ibmdb2


Plugin = AdapterPlugin(
    adapter=IBMDB2Adapter,
    credentials=IBMDB2Credentials,
    include_path=ibmdb2.PACKAGE_PATH)
示例#9
0
#!/usr/bin/env python
# encoding: utf-8

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

from dbt.adapters.base import AdapterPlugin
from dbt.adapters.doris.connections import DorisAdapterCredentials
from dbt.adapters.doris.impl import DorisAdapter
from dbt.include import doris

Plugin = AdapterPlugin(
    adapter=DorisAdapter,
    credentials=DorisAdapterCredentials,
    include_path=doris.PACKAGE_PATH,
)
示例#10
0
from dbt.adapters.vertica.connections import verticaConnectionManager
from dbt.adapters.vertica.connections import verticaCredentials
from dbt.adapters.vertica.impl import verticaAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import vertica


Plugin = AdapterPlugin(
    adapter=verticaAdapter,
    credentials=verticaCredentials,
    include_path=vertica.PACKAGE_PATH)
示例#11
0
from dbt.adapters.mariadb.connections import MariaDBConnectionManager  # noqa
from dbt.adapters.mariadb.connections import MariaDBCredentials
from dbt.adapters.mariadb.relation import MariaDBRelation  # noqa
from dbt.adapters.mariadb.column import MariaDBColumn  # noqa
from dbt.adapters.mariadb.impl import MariaDBAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import mariadb

Plugin = AdapterPlugin(adapter=MariaDBAdapter,
                       credentials=MariaDBCredentials,
                       include_path=mariadb.PACKAGE_PATH)
示例#12
0
from dbt.adapters.azuredw.connections import AzureDWConnectionManager
from dbt.adapters.azuredw.connections import AzureDWCredentials
from dbt.adapters.azuredw.impl import AzureDWAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import azuredw

Plugin = AdapterPlugin(adapter=AzureDWAdapter,
                       credentials=AzureDWCredentials,
                       include_path=azuredw.PACKAGE_PATH)
示例#13
0
from dbt.adapters.duckdb.connections import DuckDBConnectionManager
from dbt.adapters.duckdb.connections import DuckDBCredentials
from dbt.adapters.duckdb.impl import DuckDBAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import duckdb


Plugin = AdapterPlugin(
    adapter=DuckDBAdapter,
    credentials=DuckDBCredentials,
    include_path=duckdb.PACKAGE_PATH)
示例#14
0
from dbt.adapters.teradata.connections import TeradataConnectionManager
from dbt.adapters.teradata.connections import TeradataCredentials
from dbt.adapters.teradata.impl import TeradataAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import teradata

Plugin = AdapterPlugin(adapter=TeradataAdapter,
                       credentials=TeradataCredentials,
                       include_path=teradata.PACKAGE_PATH)
示例#15
0
from dbt.adapters.clickhouse.connections import ClickhouseConnectionManager  # noqa
from dbt.adapters.clickhouse.connections import ClickhouseCredentials
from dbt.adapters.clickhouse.relation import ClickhouseRelation  # noqa
from dbt.adapters.clickhouse.column import ClickhouseColumn  # noqa
from dbt.adapters.clickhouse.impl import ClickhouseAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import clickhouse

Plugin = AdapterPlugin(adapter=ClickhouseAdapter,
                       credentials=ClickhouseCredentials,
                       include_path=clickhouse.PACKAGE_PATH)
示例#16
0
# these are mostly just exports, #noqa them so flake8 will be happy
from dbt.adapters.postgres.connections import PostgresConnectionManager  # noqa
from dbt.adapters.postgres.connections import PostgresCredentials
from dbt.adapters.postgres.relation import PostgresColumn  # noqa
from dbt.adapters.postgres.impl import PostgresAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import postgres

Plugin = AdapterPlugin(adapter=PostgresAdapter,
                       credentials=PostgresCredentials,
                       include_path=postgres.PACKAGE_PATH)
示例#17
0
from dbt.adapters.snowflake.connections import SnowflakeConnectionManager
from dbt.adapters.snowflake.connections import SnowflakeCredentials
from dbt.adapters.snowflake.relation import SnowflakeRelation
from dbt.adapters.snowflake.impl import SnowflakeAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import snowflake

Plugin = AdapterPlugin(adapter=SnowflakeAdapter,
                       credentials=SnowflakeCredentials,
                       include_path=snowflake.PACKAGE_PATH)
示例#18
0
from dbt.adapters.redshift.connections import RedshiftConnectionManager
from dbt.adapters.redshift.connections import RedshiftCredentials
from dbt.adapters.redshift.impl import RedshiftAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import redshift

Plugin = AdapterPlugin(adapter=RedshiftAdapter,
                       credentials=RedshiftCredentials,
                       include_path=redshift.PACKAGE_PATH,
                       dependencies=['postgres'])
示例#19
0
from dbt.adapters.synapse.connections import SynapseConnectionManager
from dbt.adapters.synapse.connections import SynapseCredentials
from dbt.adapters.synapse.impl import SynapseAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import synapse

Plugin = AdapterPlugin(adapter=SynapseAdapter,
                       credentials=SynapseCredentials,
                       include_path=synapse.PACKAGE_PATH,
                       dependencies=['sqlserver'])
示例#20
0
# Copyright 2020 Josh Wills. All rights reserved.
# Copyright Materialize, Inc. and contributors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License in the LICENSE file at the
# root of this repository, or online at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from dbt.adapters.base import AdapterPlugin
from dbt.adapters.materialize.connections import (
    MaterializeConnectionManager,
    MaterializeCredentials,
)
from dbt.adapters.materialize.impl import MaterializeAdapter
from dbt.include import materialize

Plugin = AdapterPlugin(
    adapter=MaterializeAdapter,
    credentials=MaterializeCredentials,
    include_path=materialize.PACKAGE_PATH,
)
示例#21
0
from dbt.adapters.azuredatawarehouse.connections import AzureDataWarehouseConnectionManager
from dbt.adapters.azuredatawarehouse.connections import AzureDataWarehouseCredentials
from dbt.adapters.azuredatawarehouse.impl import AzureDataWarehouseAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import azuredatawarehouse

Plugin = AdapterPlugin(adapter=AzureDataWarehouseAdapter,
                       credentials=AzureDataWarehouseCredentials,
                       include_path=azuredatawarehouse.PACKAGE_PATH)
示例#22
0
from dbt.adapters.azuresynapse.connections import AzureSynapseConnectionManager  # noqa
from dbt.adapters.azuresynapse.connections import AzureSynapseCredentials
from dbt.adapters.azuresynapse.impl import AzureSynapseAdapter
from dbt.adapters.base import AdapterPlugin
from dbt.include import azuresynapse

Plugin = AdapterPlugin(
    adapter=AzureSynapseAdapter,
    credentials=AzureSynapseCredentials,
    include_path=azuresynapse.PACKAGE_PATH,
)
示例#23
0
from dbt.adapters.dremio.connections import DremioConnectionManager
from dbt.adapters.dremio.connections import DremioCredentials
from dbt.adapters.dremio.impl import DremioAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import dremio


Plugin = AdapterPlugin(
    adapter=DremioAdapter,
    credentials=DremioCredentials,
    include_path=dremio.PACKAGE_PATH)
示例#24
0
from dbt.adapters.athena.connections import AthenaConnectionManager, AthenaCredentials
from dbt.adapters.athena.impl import AthenaAdapter
from dbt.adapters.base import AdapterPlugin
from dbt.include import athena


AthenaConnectionManager = AthenaConnectionManager


Plugin = AdapterPlugin(
    adapter=AthenaAdapter,
    credentials=AthenaCredentials,
    include_path=athena.PACKAGE_PATH,
)
示例#25
0
# Copyright 2020 Josh Wills. All rights reserved.
# Copyright Materialize, Inc. and contributors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License in the LICENSE file at the
# root of this repository, or online at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from dbt.adapters.base import AdapterPlugin
from dbt.adapters.materialize.connections import (
    MaterializeConnectionManager,
    MaterializeCredentials,
)
from dbt.adapters.materialize.impl import MaterializeAdapter
from dbt.include import materialize

Plugin = AdapterPlugin(
    adapter=MaterializeAdapter,
    credentials=MaterializeCredentials,
    include_path=materialize.PACKAGE_PATH,
    dependencies=["postgres"],
)
示例#26
0
from dbt.adapters.mysql.connections import MySQLConnectionManager  # noqa
from dbt.adapters.mysql.connections import MySQLCredentials
from dbt.adapters.mysql.relation import MySQLRelation  # noqa
from dbt.adapters.mysql.column import MySQLColumn  # noqa
from dbt.adapters.mysql.impl import MySQLAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import mysql

Plugin = AdapterPlugin(adapter=MySQLAdapter,
                       credentials=MySQLCredentials,
                       include_path=mysql.PACKAGE_PATH)
示例#27
0
from dbt.adapters.spark.connections import SparkConnectionManager  # noqa
from dbt.adapters.spark.connections import SparkCredentials
from dbt.adapters.spark.relation import SparkRelation  # noqa
from dbt.adapters.spark.impl import SparkAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import spark

Plugin = AdapterPlugin(
    adapter=SparkAdapter,
    credentials=SparkCredentials,
    include_path=spark.PACKAGE_PATH)
示例#28
0
from dbt.adapters.bigquery.connections import BigQueryConnectionManager
from dbt.adapters.bigquery.connections import BigQueryCredentials
from dbt.adapters.bigquery.relation import BigQueryRelation
from dbt.adapters.bigquery.impl import BigQueryAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import bigquery

Plugin = AdapterPlugin(adapter=BigQueryAdapter,
                       credentials=BigQueryCredentials,
                       include_path=bigquery.PACKAGE_PATH)
示例#29
0
from dbt.adapters.sqlite.connections import SQLiteConnectionManager
from dbt.adapters.sqlite.connections import SQLiteCredentials
from dbt.adapters.sqlite.impl import SQLiteAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import sqlite

Plugin = AdapterPlugin(adapter=SQLiteAdapter,
                       credentials=SQLiteCredentials,
                       include_path=sqlite.PACKAGE_PATH)