xinrong-meng commented on code in PR #45614:
URL: https://github.com/apache/spark/pull/45614#discussion_r1558131447
##########
python/pyspark/sql/session.py:
##########
@@ -1662,7 +1662,7 @@ def sql(
And substitute named parameters with the `:` prefix by SQL literals.
- >>> from pyspark.sql.functions import create_map
+ >>> from pyspark.sql.functions import create_map, lit
Review Comment:
Out of curiosity, why is the missing import not detected? Are we skipping
the doctest?
--
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]