Uploaded image for project: 'Apache Sedona'
  1. Apache Sedona
  2. SEDONA-519

ST_SubDivide (Snowflake) fails even on documentation example

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.2
    • None

    Description

      Try to run this feature on Snoflake with example

      SELECT ST_SubDivide(ST_GeomFromText('POLYGON((35 10, 45 45, 15 40, 10 20, 35 10), (20 30, 35 35, 30 20, 20 30))'), 5) 

       and it returns next

      Java Stack Trace:
      java.lang.NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils
      	at function_handler_0//org.apache.sedona.common.subDivide.GeometrySubDivider.subDivideRecursive(GeometrySubDivider.java:104)
      	at function_handler_0//org.apache.sedona.common.subDivide.GeometrySubDivider.subDivideRecursive(GeometrySubDivider.java:120)
      	at function_handler_0//org.apache.sedona.common.subDivide.GeometrySubDivider.subDivide(GeometrySubDivider.java:169)
      	at function_handler_0//org.apache.sedona.common.Functions.subDivide(Functions.java:879)
      	at function_handler_0//org.apache.sedona.snowflake.snowsql.UDFsV2.ST_SubDivide(UDFsV2.java:878)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.ArrayUtils
      	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      	... 5 more
       in function ST_SUBDIVIDE with handler org.apache.sedona.snowflake.snowsql.UDFsV2.ST_SubDivide 

      Attachments

        Activity

          People

            Unassigned Unassigned
            andy_ap Andrey
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: