Skip to content

Commit

Permalink
chore: move sqlite converter up
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 7, 2024
1 parent 581842d commit 6c6a748
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ibis/backends/sqlite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from ibis.backends import UrlFromPath
from ibis.backends.sql import SQLBackend
from ibis.backends.sql.compilers.base import C, F
from ibis.backends.sqlite.converter import SQLitePandasData
from ibis.backends.sqlite.udf import ignore_nulls, register_all

if TYPE_CHECKING:
Expand Down Expand Up @@ -303,8 +304,6 @@ def _fetch_from_cursor(
) -> pd.DataFrame:
import pandas as pd

from ibis.backends.sqlite.converter import SQLitePandasData

df = pd.DataFrame.from_records(cursor, columns=schema.names, coerce_float=True)
return SQLitePandasData.convert_table(df, schema)

Expand Down

0 comments on commit 6c6a748

Please sign in to comment.