You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "petern48 (via GitHub)" <gi...@apache.org> on 2025/09/04 06:20:36 UTC

[I] bug: Setting geom_type to GeometryCollection sd_random_geometry just always returns points [sedona-db]

petern48 opened a new issue, #15:
URL: https://github.com/apache/sedona-db/issues/15

   
   ```sql
   > select count(*), st_geometrytype(geometry) as geom_type FROM sd_random_geometry('{"geom_type": "GeometryCollection"}') group by geom_type;
   ┌──────────┬───────────┐
   │ count(*) ┆ geom_type │
   │   int64  ┆    utf8   │
   ╞══════════╪═══════════╡
   │     1024 ┆ ST_Point  │
   └──────────┴───────────┘
   ```


-- 
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: issues-unsubscribe@sedona.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Setting geom_type to GeometryCollection sd_random_geometry just always returns points [sedona-db]

Posted by "petern48 (via GitHub)" <gi...@apache.org>.
petern48 commented on issue #15:
URL: https://github.com/apache/sedona-db/issues/15#issuecomment-3252108787

   It's missing here: 
   
   https://github.com/apache/sedona-db/blob/71742fb788a78f225d5978361467193ae734b00b/rust/sedona-testing/src/datagen.rs#L521-L525
   
   so it defaults to the default implementation of using points


-- 
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: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Setting geom_type to GeometryCollection sd_random_geometry just always returns points [sedona-db]

Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu closed issue #15: bug: Setting geom_type to GeometryCollection sd_random_geometry just always returns points
URL: https://github.com/apache/sedona-db/issues/15


-- 
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: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org