kou commented on PR #42135: URL: https://github.com/apache/arrow/pull/42135#issuecomment-2166996263
Oh, we use invalid scheme in PyArrow tests. I'll fix the tests. https://github.com/apache/arrow/actions/runs/9497207784/job/26173266311?pr=42135#step:6:5657 ```text =================================== FAILURES =================================== _____________________ test_azurefs_options[builtin_pickle] _____________________ pickle_module = <module 'pickle' from '/opt/conda/envs/arrow/lib/python3.9/pickle.py'> @pytest.mark.azure def test_azurefs_options(pickle_module): from pyarrow.fs import AzureFileSystem fs1 = AzureFileSystem(account_name='fake-account-name') assert isinstance(fs1, AzureFileSystem) assert pickle_module.loads(pickle_module.dumps(fs1)) == fs1 fs2 = AzureFileSystem(account_name='fake-account-name', account_key='fakeaccountkey') assert isinstance(fs2, AzureFileSystem) assert pickle_module.loads(pickle_module.dumps(fs2)) == fs2 assert fs2 != fs1 > fs3 = AzureFileSystem(account_name='fake-account', account_key='fakeaccount', blob_storage_authority='fake-blob-authority', dfs_storage_authority='fake-dfs-authority', blob_storage_scheme='fake-blob-scheme', dfs_storage_scheme='fake-dfs-scheme') opt/conda/envs/arrow/lib/python3.9/site-packages/pyarrow/tests/test_fs.py:1450: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyarrow/_azurefs.pyx:109: in pyarrow._azurefs.AzureFileSystem.__init__ ??? pyarrow/error.pxi:154: in pyarrow.lib.pyarrow_internal_check_status ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pyarrow.lib.ArrowInvalid: AzureOptions::blob_storage_scheme must be http or https: fake-blob-scheme pyarrow/error.pxi:91: ArrowInvalid ______________________ test_azurefs_options[cloudpickle] _______________________ pickle_module = <module 'cloudpickle' from '/opt/conda/envs/arrow/lib/python3.9/site-packages/cloudpickle/__init__.py'> @pytest.mark.azure def test_azurefs_options(pickle_module): from pyarrow.fs import AzureFileSystem fs1 = AzureFileSystem(account_name='fake-account-name') assert isinstance(fs1, AzureFileSystem) assert pickle_module.loads(pickle_module.dumps(fs1)) == fs1 fs2 = AzureFileSystem(account_name='fake-account-name', account_key='fakeaccountkey') assert isinstance(fs2, AzureFileSystem) assert pickle_module.loads(pickle_module.dumps(fs2)) == fs2 assert fs2 != fs1 > fs3 = AzureFileSystem(account_name='fake-account', account_key='fakeaccount', blob_storage_authority='fake-blob-authority', dfs_storage_authority='fake-dfs-authority', blob_storage_scheme='fake-blob-scheme', dfs_storage_scheme='fake-dfs-scheme') opt/conda/envs/arrow/lib/python3.9/site-packages/pyarrow/tests/test_fs.py:1450: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyarrow/_azurefs.pyx:109: in pyarrow._azurefs.AzureFileSystem.__init__ ??? pyarrow/error.pxi:154: in pyarrow.lib.pyarrow_internal_check_status ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pyarrow.lib.ArrowInvalid: AzureOptions::blob_storage_scheme must be http or https: fake-blob-scheme pyarrow/error.pxi:91: ArrowInvalid ``` -- 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]
