kevinjqliu commented on PR #2169:
URL: https://github.com/apache/iceberg-python/pull/2169#issuecomment-3050095128

   Looks like something changed in the newer version
   
   This test failed
   
https://github.com/apache/iceberg-python/blob/e33cf5ac1adf47131d4992bdb686f0e58f4e4669/tests/integration/test_reads.py#L333-L345
   
   ```
   ___________________ test_daft_nan_rewritten[session_catalog] 
___________________
   
   catalog = local (<class 'pyiceberg.catalog.rest.RestCatalog'>)
   
       @pytest.mark.integration
       @pytest.mark.parametrize("catalog", 
[pytest.lazy_fixture("session_catalog_hive"), 
pytest.lazy_fixture("session_catalog")])
       def test_daft_nan_rewritten(catalog: Catalog) -> None:
           import daft
       
   >       daft.context.set_runner_native()
   
   tests/integration/test_reads.py:338: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   
   num_threads = None
   
       def set_runner_native(num_threads: int | None = None) -> DaftContext:
           """Configure Daft to execute dataframes using native multi-threaded 
processing.
       
           This is the default execution mode for Daft.
       
           Returns:
               DaftContext: Updated Daft execution context configured for 
native execution.
       
           Note:
               Can also be configured via environment variable: 
DAFT_RUNNER=native
           """
   >       py_ctx = _set_runner_native(num_threads=num_threads)
   E       daft.exceptions.DaftCoreException: DaftError::InternalError Cannot 
set runner more than once
   
   
../../../.cache/pypoetry/virtualenvs/pyiceberg-bKWKvoA4-py3.10/lib/python3.10/site-packages/daft/context.py:107:
 DaftCoreException
   ```


-- 
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]

Reply via email to