ngaur9 commented on code in PR #608: URL: https://github.com/apache/incubator-sedona/pull/608#discussion_r851817138
########## sql/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/Constructors.scala: ########## @@ -94,6 +94,37 @@ case class ST_PolygonFromText(inputExpressions: Seq[Expression]) } } +/** + * Return a line from a string. The string must be plain string and each coordinate must be separated by a delimiter. + * + * @param inputExpressions + */ +case class ST_LineFromText(inputExpressions: Seq[Expression]) Review Comment: I referred ST_GeomFromWKT function call and added a LINE filter. Please, let me know if it needs modification or refactoring. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
