You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unit tests of openeo-geopyspark-driver are failing, see example log below.
This was traced to the ApiTest.result method in openeo-python-driver. This method is now receiving a new type for process_graph, which was not yet supported, namely: VectorCube.
In the unit tests of the GeoPySpark driver cube.aggregate_spatial is returning a VectorCube.
A small change should allow us to convert the VectorCube to a process graph, the same was as a DataCube is converted to a process graph.
Failing tests
========================================================================================================= short test summary info ==========================================================================================================
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[default-geometry0-expected_lon_lat_agg0] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[default-geometry1-expected_lon_lat_agg1] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[default-geometry2-expected_lon_lat_agg2] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[default-geometry3-expected_lon_lat_agg3] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[default-geometry4-expected_lon_lat_agg4] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[default-geometry5-expected_lon_lat_agg5] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[None-geometry0-expected_lon_lat_agg0] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[None-geometry1-expected_lon_lat_agg1] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[None-geometry2-expected_lon_lat_agg2] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[None-geometry3-expected_lon_lat_agg3] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[None-geometry4-expected_lon_lat_agg4] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry[None-geometry5-expected_lon_lat_agg5] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry_multiple_aggregations[geometry0-expected0] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry_multiple_aggregations[geometry1-expected1] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry_multiple_aggregations[geometry2-expected2] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_single_geometry_multiple_aggregations[geometry3-expected3] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_heterogeneous_geometry_collection - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_with_single_geometry[default-geometry0-expected_lon_lat_agg0] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_with_single_geometry[default-geometry1-expected_lon_lat_agg1] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_with_single_geometry[None-geometry0-expected_lon_lat_agg0] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_with_single_geometry[None-geometry1-expected_lon_lat_agg1] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_collection_of_points[default] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_collection_of_points[None] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_collection_of_polygons - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_collection_heterogeneous[default] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_collection_heterogeneous[None] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_feature_collection_heterogeneous_multiple_aggregations - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_geometry_from_file[default] - TypeError: argument of type 'VectorCube' is not iterable
FAILED tests/test_api_result.py::TestAggregateSpatial::test_aggregate_geometry_from_file[None] - TypeError: argument of type 'VectorCube' is not iterable
===================================================================================================== 29 failed, 16 warnings in 5.11s ======================================================================================================
The unit tests of openeo-geopyspark-driver are failing, see example log below.
This was traced to the
ApiTest.result
method in openeo-python-driver. This method is now receiving a new type forprocess_graph
, which was not yet supported, namely:VectorCube
.In the unit tests of the GeoPySpark driver
cube.aggregate_spatial
is returning a VectorCube.A small change should allow us to convert the VectorCube to a process graph, the same was as a DataCube is converted to a process graph.
Failing tests
Traceback
The text was updated successfully, but these errors were encountered: