mallman 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-451359928 > How about adding an API for counting the number of leaf columns in class StructType? Also cc @rxin @cloud-fan @hvanhovell That could work as a more generally-applicable alternative. I'll have to think more on whether or how that might differ from the number of format-specific columns selected for a given `StructType`. Thanks for your perspective.
---------------------------------------------------------------- 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]
