casgie commented on code in PR #54180:
URL: https://github.com/apache/spark/pull/54180#discussion_r2803379562


##########
python/pyspark/sql/worker/create_data_source.py:
##########
@@ -125,6 +127,11 @@ def _main(infile: IO, outfile: IO) -> None:
                 # Here we cannot use _parse_datatype_string to parse the DDL 
string schema.
                 # as it requires an active Spark session.
                 is_ddl_string = True
+            if isinstance(schema, pa.schema):

Review Comment:
   Sorry, I don't get what you mean.
   Could you please elaborate?



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