Skip to content

Commit 68a01fc

Browse files
committed
missing files from previous commit
1 parent ceb4d24 commit 68a01fc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

countess/plugins/csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def execute(
172172
table = source
173173

174174
def _write(fh):
175-
for num, record_batch in enumerate(table.record_batch()):
175+
for num, record_batch in enumerate(table.to_arrow_reader()):
176176
write_options = pyarrow.csv.WriteOptions(
177177
include_header=self.header.value and num == 0,
178178
delimiter=self.delimiter.value,

countess/utils/duckdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from typing import Iterable, Optional, Union
55

66
from duckdb import DuckDBPyConnection, DuckDBPyRelation
7-
from duckdb.typing import DuckDBPyType
7+
from duckdb.sqltypes import DuckDBPyType
88

99
logger = logging.getLogger(__name__)
1010

0 commit comments

Comments
 (0)