def METHOD_NAME(self):
    data = [
        [1, None]
    ]
    schema = t.StructType(
        [
            t.StructField("id", IntegerType(), True),
            t.StructField("geom", GeometryType(), True),
        ]
    )
    self.spark.createDataFrame(
        data,
        schema
    ).createOrReplaceTempView("points")
    count = self.spark.sql("select count(*) from points").collect()[0][0]
    assert count == 1