dtenedor commented on PR #39863:
URL: https://github.com/apache/spark/pull/39863#issuecomment-1414400738

   > @dtenedor There is V2 command ShowCreateTableExec as well. Do we need to 
update it?
   @gengliangwang good question. I checked and it seems that also calls the 
`toDDL` method of `StructField`, so there is no need to change anything 
separately for V2 tables there:
   
   ```
     private def showTableDataColumns(table: Table, builder: StringBuilder): 
Unit = {
       val columns = CharVarcharUtils.getRawSchema(table.schema(), 
conf).fields.map(_.toDDL)
       builder ++= concatByMultiLines(columns)
     }
   ```


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