Skip to content

Choose the content type of a GeoParquet download #498

Description

@robinskil

Problem

A GeoParquet download reports the content type of plain Parquet:

application/vnd.apache.parquet

See beacon-db/beacon-core/src/query_result.rs:53. The Parquet arm and the GeoParquet arm return the same value.

The test expects application/vnd.apache.arrow.geo+parquet.

One of the two values is wrong. Choose the correct one.

Failed test

  • test_spatial.py::test_geoparquet_output_and_readback

Task

  1. Choose the content type for a GeoParquet download.
  2. Align the code and the test with that choice.
  3. Run the file again.

Environment

Branch features/reimplement-atlas. Image beacon-integration:local.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeffort-S1 to 3 daysrustPull requests that update rust code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions