ueshin commented on a change in pull request #33450:
URL: https://github.com/apache/spark/pull/33450#discussion_r674334585



##########
File path: python/pyspark/pandas/sql_processor.py
##########
@@ -252,17 +265,21 @@ def execute(self) -> DataFrame:
         res = ""
         try:
             for (pre, inner, _, _) in blocks:
-                var_next = "" if inner is None else self._convert(inner)
+                var_next = "" if inner is None else self._convert(inner, 
index_col)

Review comment:
       I don't think we should handle inputs.
   We could have a few DataFrames for the sql command, and those can have 
different levels of Index.




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