Skip to content

Commit

Permalink
Adapt docstring for engine_version to Hive 2 GA
Browse files Browse the repository at this point in the history
  • Loading branch information
takuti committed Feb 15, 2021
1 parent 253585c commit 3035c5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pytd/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def query(self, query, engine=None, **kwargs):
- ``wait_interval`` (int): sleep interval until job finish
- ``wait_callback`` (function): called every interval against job itself
- ``engine_version`` (str): run query with Hive 2 if this parameter
is set to ``"experimental"`` and ``engine`` denotes Hive.
is set to ``"stable"`` and ``engine`` denotes Hive.
https://docs.treasuredata.com/display/public/PD/Writing+Hive+Queries
Meanwhile, when a following argument is set to ``True``, query is
Expand Down
2 changes: 1 addition & 1 deletion pytd/pandas_td/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def read_td_query(
- ``wait_interval`` (int): sleep interval until job finish
- ``wait_callback`` (function): called every interval against job itself
- ``engine_version`` (str): run query with Hive 2 if this parameter is
set to ``"experimental"`` in ``HiveQueryEngine``.
set to ``"stable"`` in ``HiveQueryEngine``.
https://docs.treasuredata.com/display/public/PD/Writing+Hive+Queries
Returns
Expand Down
6 changes: 3 additions & 3 deletions pytd/query_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def execute(self, query, **kwargs):
- ``wait_interval`` (int): sleep interval until job finish
- ``wait_callback`` (function): called every interval against job itself
- ``engine_version`` (str): run query with Hive 2 if this parameter
is set to ``"experimental"`` in ``HiveQueryEngine``.
is set to ``"stable"`` in ``HiveQueryEngine``.
https://docs.treasuredata.com/display/public/PD/Writing+Hive+Queries
Meanwhile, when a following argument is set to ``True``, query is
Expand Down Expand Up @@ -178,7 +178,7 @@ def _get_tdclient_cursor(self, con, **kwargs):
- ``wait_interval`` (int): sleep interval until job finish
- ``wait_callback`` (function): called every interval against job itself
- ``engine_version`` (str): run query with Hive 2 if this parameter
is set to ``"experimental"`` in ``HiveQueryEngine``.
is set to ``"stable"`` in ``HiveQueryEngine``.
https://docs.treasuredata.com/display/public/PD/Writing+Hive+Queries
Returns
Expand Down Expand Up @@ -397,7 +397,7 @@ def cursor(self, force_tdclient=True, **kwargs):
- ``wait_interval`` (int): sleep interval until job finish
- ``wait_callback`` (function): called every interval against job itself
- ``engine_version`` (str): run query with Hive 2 if this parameter
is set to ``"experimental"``.
is set to ``"stable"``.
https://docs.treasuredata.com/display/public/PD/Writing+Hive+Queries
Returns
Expand Down

0 comments on commit 3035c5e

Please sign in to comment.