amaliujia commented on code in PR #38849:
URL: https://github.com/apache/spark/pull/38849#discussion_r1035633581


##########
python/pyspark/sql/connect/column.py:
##########
@@ -508,45 +508,24 @@ def contains(self, other: Union[PrimitiveType, "Column"]) 
-> "Column":
         """
         return _bin_op("contains")(self, other)
 
-    def startswith(self, other: Union[PrimitiveType, "Column"]) -> "Column":
-        """
-        String starts with. Returns a boolean :class:`Column` based on a 
string match.
-
-        Parameters
-        ----------
-        other : :class:`Column` or str
-            string at start of line (do not use a regex `^`)
-
-        Examples
-        --------
-        >>> df = spark.createDataFrame(
-        ...      [(2, "Alice"), (5, "Bob")], ["age", "name"])

Review Comment:
   This does not work in current Connect `createDataFrame` which does not allow 
a `schema`



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to