gatorsmile commented on issue #22905: [SPARK-25894][SQL] Add a ColumnarFileFormat type which returns the column count for a given schema URL: https://github.com/apache/spark/pull/22905#issuecomment-450967218 I think it is useful but the current impl looks not a little bit hacky. How about adding an API for counting the number of leaf columns in class StructType? Also cc @rxin @cloud-fan @hvanhovell
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
