We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceb4d24 commit 68a01fcCopy full SHA for 68a01fc
2 files changed
countess/plugins/csv.py
@@ -172,7 +172,7 @@ def execute(
172
table = source
173
174
def _write(fh):
175
- for num, record_batch in enumerate(table.record_batch()):
+ for num, record_batch in enumerate(table.to_arrow_reader()):
176
write_options = pyarrow.csv.WriteOptions(
177
include_header=self.header.value and num == 0,
178
delimiter=self.delimiter.value,
countess/utils/duckdb.py
@@ -4,7 +4,7 @@
4
from typing import Iterable, Optional, Union
5
6
from duckdb import DuckDBPyConnection, DuckDBPyRelation
7
-from duckdb.typing import DuckDBPyType
+from duckdb.sqltypes import DuckDBPyType
8
9
logger = logging.getLogger(__name__)
10
0 commit comments