Skip to content

Commit

Permalink
fix dumb test and bad import
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db committed Nov 15, 2024
1 parent 42f973a commit 2c4a8e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions dbt/include/databricks/macros/adapters/multiple_statement.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% macro execute_multiple_statements() %}
code
{% endmacro %}
6 changes: 2 additions & 4 deletions tests/functional/adapter/simple_seed/test_seeds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from pathlib import Path
from re import M

import pytest

Expand Down Expand Up @@ -139,14 +138,13 @@ class TestSimpleSeedWithBOMV2(TestSimpleSeedWithBOM, MaterializationV2Mixin):

class TestSeedSpecificFormats(DatabricksSetup, BaseSeedSpecificFormats):
@pytest.fixture(scope="class")
def seeds(self, test_data_dir):
big_seed = util.read_file(f"{test_data_dir}/big.csv")
def seeds(self):
big_seed = "seed_id\n" + "\n".join(str(i) for i in range(1, 20001))

yield {
"big_seed.csv": big_seed,
"seed_unicode.csv": seeds.seed__unicode_csv,
}
util.rm_dir(test_data_dir)

def test_simple_seed(self, project):
results = util.run_dbt(["seed"])
Expand Down

0 comments on commit 2c4a8e4

Please sign in to comment.