Skip to content

Commit

Permalink
Move overrides to import-time
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed Apr 16, 2024
1 parent 6c8052c commit 180ebc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions dask_sql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@

import importlib.metadata

from dask.config import set

from . import config
from .cmd import cmd_loop
from .context import Context
from .datacontainer import Statistics
from .server.app import run_server

# TODO: get pyarrow strings and p2p shuffle working
set(dataframe__convert_string=False, dataframe__shuffle__method="tasks")

__version__ = importlib.metadata.version(__name__)

__all__ = [__version__, cmd_loop, Context, run_server, Statistics]
6 changes: 0 additions & 6 deletions dask_sql/sql.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# TODO: get pyarrow strings and p2p shuffle working
dataframe:
convert-string: False
shuffle:
method: "tasks"

sql:
aggregate:
split_out: 1
Expand Down

0 comments on commit 180ebc8

Please sign in to comment.