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/11/27 16:05:46 UTC

[I] chore: Find and replace `DataFusionError::Internal` [sedona-db]

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

   See this [PR](https://github.com/apache/sedona-db/pull/2) for context. Looks like there's `DataFusionError::Internal` somewhere in the parse code. This can make it confusing for contributors when they write improper geometries in their tests.
   
   ```
   FAILED sedonadb/tests/functions/test_functions.py::test_st_numinteriorrings_basic[POLYGON (                (0 0,10 0,10 6,0 6,0 0)                (1 1,2 1,2 5,1 5,1 1),                (8 5,8 4,9 4,9 5,8 5))-2-SedonaDB] - pyarrow.lib.ArrowInvalid: External error: Internal error: WKT parse error: Missing closing parenthesis for type.
   This issue was likely caused by a bug in DataFusion's code. Please help us to resolve this by filing a bug report in our issue tracker: https://github.com/apache/datafusion/issues
   ```
   [ci run](https://github.com/apache/sedona-db/actions/runs/19741057767/job/56564766173?pr=369)
   
   I now remember, that the PR that introduced `sedona_internal_err` replaced all of the `internal_err` calls at the time, but didn't touch any of the `DataFusionError::Internal`
   
   There are still plenty of more uses of these throughout the codebase: https://github.com/search?q=repo%3Aapache%2Fsedona-db+%22DataFusionError%3A%3AInternal%22&type=code


-- 
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] chore: Find and replace `DataFusionError::Internal` [sedona-db]

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

   Maybe worth voicing this misleading behavior upstream. Maybe Datafusion could make it harder to do use this or more customizable to change the error message.


-- 
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] chore: Find and replace `DataFusionError::Internal` [sedona-db]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #376: chore: Find and replace `DataFusionError::Internal`
URL: https://github.com/apache/sedona-db/issues/376


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