-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into livy_support_spark_adapter
- Loading branch information
Showing
21 changed files
with
166 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: "Dependencies" | ||
body: "Update freezegun requirement from ~=1.3 to ~=1.4" | ||
time: 2023-12-19T22:22:11.00000Z | ||
custom: | ||
Author: dependabot[bot] | ||
PR: 966 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: "Dependencies" | ||
body: "Bump actions/download-artifact from 3 to 4" | ||
time: 2024-04-19T02:48:14.00000Z | ||
custom: | ||
Author: dependabot[bot] | ||
PR: 1010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: "Dependencies" | ||
body: "Bump actions/upload-artifact from 3 to 4" | ||
time: 2024-04-19T02:48:18.00000Z | ||
custom: | ||
Author: dependabot[bot] | ||
PR: 1011 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: "Dependencies" | ||
body: "Bump dbt-labs/actions from 1.1.0 to 1.1.1" | ||
time: 2024-04-19T02:48:20.00000Z | ||
custom: | ||
Author: dependabot[bot] | ||
PR: 1012 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: "Dependencies" | ||
body: "Update wheel requirement from ~=0.42 to ~=0.43" | ||
time: 2024-05-03T22:41:57.00000Z | ||
custom: | ||
Author: dependabot[bot] | ||
PR: 1035 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: "Dependencies" | ||
body: "Update pytest-xdist requirement from ~=3.5 to ~=3.6" | ||
time: 2024-07-18T22:31:45.00000Z | ||
custom: | ||
Author: dependabot[bot] | ||
PR: 1073 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: "Dependencies" | ||
body: "Loosen pin on pre-commit from 3.7.0 to 3.7" | ||
time: 2024-07-18T22:32:38.00000Z | ||
custom: | ||
Author: dependabot[bot] | ||
PR: 1074 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash -e | ||
set -e | ||
|
||
|
||
dbt_adapters_branch=$1 | ||
dbt_core_branch=$2 | ||
dbt_common_branch=$3 | ||
target_req_file="dev-requirements.txt" | ||
core_req_sed_pattern="s|dbt-core.git.*#egg=dbt-core|dbt-core.git@${dbt_core_branch}#egg=dbt-core|g" | ||
adapters_req_sed_pattern="s|dbt-adapters.git|dbt-adapters.git@${dbt_adapters_branch}|g" | ||
common_req_sed_pattern="s|dbt-common.git|dbt-common.git@${dbt_common_branch}|g" | ||
if [[ "$OSTYPE" == darwin* ]]; then | ||
# mac ships with a different version of sed that requires a delimiter arg | ||
sed -i "" "$adapters_req_sed_pattern" $target_req_file | ||
sed -i "" "$core_req_sed_pattern" $target_req_file | ||
sed -i "" "$common_req_sed_pattern" $target_req_file | ||
else | ||
sed -i "$adapters_req_sed_pattern" $target_req_file | ||
sed -i "$core_req_sed_pattern" $target_req_file | ||
sed -i "$common_req_sed_pattern" $target_req_file | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import pytest | ||
|
||
from dbt.tests.adapter.dbt_show.test_dbt_show import ( | ||
BaseShowSqlHeader, | ||
BaseShowLimit, | ||
BaseShowDoesNotHandleDoubleLimit, | ||
) | ||
|
||
|
||
class TestSparkShowLimit(BaseShowLimit): | ||
pass | ||
|
||
|
||
class TestSparkShowSqlHeader(BaseShowSqlHeader): | ||
pass | ||
|
||
|
||
@pytest.mark.skip_profile("apache_spark", "spark_session", "databricks_http_cluster") | ||
class TestSparkShowDoesNotHandleDoubleLimit(BaseShowDoesNotHandleDoubleLimit): | ||
"""The syntax message is quite variable across clusters, but this hits two at once.""" | ||
|
||
DATABASE_ERROR_MESSAGE = "limit" |