Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dbt-oracle-adapter-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']

services:
oracle_db:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Configuration variables
VERSION=1.9.4
VERSION=1.10.0
PROJ_DIR?=$(shell pwd)
VENV_DIR?=${PROJ_DIR}/.bldenv
BUILD_DIR=${PROJ_DIR}/build
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/oracle/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
See the License for the specific language governing permissions and
limitations under the License.
"""
version = "1.9.4"
version = "1.10.0"
10 changes: 9 additions & 1 deletion dbt/include/oracle/macros/columns.sql
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,12 @@
{% endfor %}
{%- set cols_csv = quoted | join(', ') -%}
{{ return(cols_csv) }}
{% endmacro %}
{% endmacro %}

{% macro oracle__create_columns(relation, columns) %}
{% for column in columns %}
{% call statement() %}
alter table {{ relation }} add {{ adapter.check_and_quote_identifier(column.name, model.columns) }} {{ column.data_type }}
{% endcall %}
{% endfor %}
{% endmacro %}
1 change: 0 additions & 1 deletion dbt_adbs_test_project/models/test_py_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ def model(dbt, session):
# Must be either table or incremental (view is not currently supported)
dbt.config(materialized="table")
dbt.config(async_flag=True)
dbt.config(timeout=900) # In seconds
dbt.config(service="HIGH") # LOW, MEDIUM, HIGH
# oml.core.DataFrame representing a datasource
s_df = dbt.ref("sales_cost")
Expand Down
2 changes: 1 addition & 1 deletion dbt_adbs_test_project/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dbt_test:
pass: "{{ env_var('DBT_ORACLE_PASSWORD') }}"
protocol: "tcps"
host: "{{ env_var('DBT_ORACLE_HOST') }}"
port: 1522
port: 1521
service: "{{ env_var('DBT_ORACLE_SERVICE') }}"
database: "{{ env_var('DBT_ORACLE_DATABASE') }}"
schema: "{{ env_var('DBT_ORACLE_SCHEMA') }}"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dbt-common>=1.1.0,<2.0
dbt-adapters>=1.2.1,<2.0
dbt-core~=1.10,<1.11
oracledb==3.3.0
oracledb==3.4.1
10 changes: 6 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
[metadata]
name = dbt-oracle
version = 1.9.4
version = 1.10.0
description = dbt (data build tool) adapter for Oracle Autonomous Database
long_description = file: README.md
long_description_content_type = text/markdown
keywords = Oracle dbt
author = Oracle
license = Apache Software License 2.0
license = Apache License 2.0
license_files =
LICENSE.txt
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13

# Map or URL names to links
# Github, PyPI and documentations urls should be added below
Expand All @@ -35,7 +37,7 @@ install_requires =
dbt-common>=1.1.0,<2.0
dbt-adapters>=1.2.1,<2.0
dbt-core~=1.10,<1.11
oracledb==3.2.0
oracledb==3.4.1
test_suite=tests
test_requires =
dbt-tests-adapter~=1.10,<1.11
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dbt-common>=1.1.0,<2.0",
"dbt-adapters>=1.2.1,<2.0",
"dbt-core~=1.10,<1.11",
"oracledb==3.3.0"
"oracledb==3.4.1"
]

test_requirements = [
Expand All @@ -61,24 +61,25 @@

url = 'https://github.com/oracle/dbt-oracle'

VERSION = '1.9.4'
VERSION = '1.10.0'
setup(
author="Oracle",
python_requires='>=3.9',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12'
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13'
],
description="dbt (data build tool) adapter for Oracle Autonomous Database",
install_requires=requirements,
license="Apache Software License 2.0",
license="Apache License 2.0",
license_files=["LICENSE.txt"],
long_description=readme,
long_description_content_type='text/markdown',
include_package_data=True,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{9,10,11,12}
envlist = py3{9,10,11,12,13}

[testenv]
passenv =
Expand Down