kevinjqliu commented on PR #1739:
URL: https://github.com/apache/iceberg-python/pull/1739#issuecomment-2691243201
```
=================================== FAILURES
===================================
_____________________ test_daft_nan[session_catalog_hive]
______________________
def dashboard_module():
try:
> import daft_dashboard
E ModuleNotFoundError: No module named 'daft_dashboard'
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/dashboard.py:17:
ModuleNotFoundError
During handling of the above exception, another exception occurred:
catalog = local (<class 'pyiceberg.catalog.hive.HiveCatalog'>)
@pytest.mark.integration
@pytest.mark.parametrize("catalog",
[pytest.lazy_fixture("session_catalog_hive"),
pytest.lazy_fixture("session_catalog")])
def test_daft_nan(catalog: Catalog) -> None:
import daft
daft.context.set_runner_native()
table_test_null_nan_rewritten =
catalog.load_table("default.test_null_nan_rewritten")
df = table_test_null_nan_rewritten.to_daft()
> assert df.count_rows() == 3
tests/integration/test_reads.py:306:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/api_annotations.py:26:
in _wrap
return timed_method(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/analytics.py:199:
in tracked_method
result = method(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/dataframe/dataframe.py:1861:
in count_rows
return count_df.to_pydict()["count"][0]
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/api_annotations.py:26:
in _wrap
return timed_method(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/analytics.py:199:
in tracked_method
result = method(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/dataframe/dataframe.py:3043:
in to_pydict
self.collect()
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/api_annotations.py:26:
in _wrap
return timed_method(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/analytics.py:199:
in tracked_method
result = method(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/dataframe/dataframe.py:2871:
in collect
self._broadcast_query_plan()
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/dataframe/dataframe.py:166:
in _broadcast_query_plan
if not dashboard._should_run():
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/dashboard.py:34:
in _should_run
dashboard = dashboard_module()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
def dashboard_module():
try:
import daft_dashboard
except ImportError:
> warnings.warn(
"Unable to import Daft's dashboard features"
"Consider re-installing Daft with the 'dashboard' feature
installed, e.g.:"
'pip install "getdaft[dashboard]"'
)
E UserWarning: Unable to import Daft's dashboard featuresConsider
re-installing Daft with the 'dashboard' feature installed, e.g.:pip install
"getdaft[dashboard]"
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.11/lib/python3.11/site-packages/daft/dashboard.py:19:
UserWarning
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]