Skip to content

Commit

Permalink
feat: add python test
Browse files Browse the repository at this point in the history
  • Loading branch information
furqaankhan committed Nov 1, 2023
1 parent b099a17 commit fca19f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/tests/sql/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ def test_st_buffer(self):
function_df = self.spark.sql("select ST_Buffer(polygondf.countyshape, 1) from polygondf")
function_df.show()

function_df = self.spark.sql("select ST_Buffer(polygondf.countyshape, 10, 'endcap=square') from polygondf")
function_df.show()

def test_st_envelope(self):
polygon_from_wkt = self.spark.read.format("csv"). \
option("delimiter", "\t"). \
Expand Down

0 comments on commit fca19f1

Please sign in to comment.