-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ST_Explode performance issue #1209
Comments
Sounds like a quite huge amount of time saved if solved !! =) |
Yes it is visited multiple times because it needs to get the fields name. The optimisation has already done as it will effectively iterate over the source table only once |
http://www.h2database.com/html/features.html#user_defined_functions
|
Thanks @nicolas-f |
@katzyn |
External table value functions in H2 always had various defective by design implementations and fixes for some issues broke other things. They need a brand new API designed in a some reasonable way. |
It seems that the ST_Explode function is badly implemented.
In debug mode the test https://github.com/orbisgis/h2gis/blob/master/h2gis-functions/src/test/java/org/h2gis/functions/spatial/SpatialFunctionTest.java#L126 shows that the function is visited 3 times instead of 1.
Don't know if we have the same bug on H2GIS 1.5.
@nicolas-f @SPalominos @gpetit @j3r3m1 @ELSW56
The text was updated successfully, but these errors were encountered: